underworldcode / UWGeodynamics

Underworld Geodynamics
Other
81 stars 32 forks source link

hdf5 erro #136

Closed cgw0814 closed 5 years ago

cgw0814 commented 5 years ago

I import UWGeodynamics successfully and try to run the tutorials 1

the screen shows

AttributeError: 'h5py.h5p.PropFAID' object has no attribute 'set_fapl_mpio

when the Model_run execute

model-run failed

I have installed h5py by

CC=/home/ncku/intel/compilers_and_libraries_2019.1.144/linux/mpi/intel64/bin/mpicc HDF5_MPI="ON" HDF5_DIR=/data/bin/hdf5-1.10.1 pip3 install h5py

so I confuse how could I solve this problem

julesghub commented 5 years ago

Looks like your h5py was built with mpi support. Can you double check? Run

python -c 'import h5py; print(h5py.get_config().mpi)

Was hdf5 built with mpi support? Run.

grep -i parallel  $HDF5_DIR/lib/libhdf5.settings

Post the results.

cgw0814 commented 5 years ago

Thanks @julesghub , I have make it by building parallel-hdf5 and python -c 'import h5py; print(h5py.get_config().mpi) shows "true"

then reinstall the underworld and UWGeodynamics.

They run smoothiy with mpirun

julesghub commented 5 years ago

Great! I'll close this ticket. Feel free to reopen