I have recently opened an issue at h5py github repository (https://github.com/h5py/h5py/issues/434#issuecomment-41567806) about an error I am having with my Parallel HDF5 install. I have installed HDF5 through the dorsal script (https://github.com/FEniCS/dorsal/blob/master/FEniCS/packages/hdf5.package). The install completes without any error. However, when I try to use h5py (using a test run script) , I get an odd error :
................EE................................................................................................................sss...........................x.......................s.......................................x.................................s...............................................
···
======================================================================
ERROR: test_mpi_atomic (h5py.tests.test_file.TestDrivers)
Enable atomic mode for MPIO driver
Traceback (most recent call last):
File "/uio/hume/student-u29/imranal/Work/FEniCS/lib/python2.7/site-packages/h5py-2.3.0-py2.7- linux-x86_64.egg/h5py/tests/test_file.py", line 251, in test_mpi_atomic
with File(fname, 'w', driver='mpio', comm=MPI.COMM_WORLD) as f:
File "/uio/hume/student-u29/imranal/Work/FEniCS/lib/python2.7/site-packages/h5py-2.3.0-py2.7-linux-x86_64.egg/h5py/hl/files.py", line 222, in __init_
fid = make_fid(name, mode, userblock_size, fapl)
File "/uio/hume/student-u29/imranal/Work/FEniCS/lib/python2.7/site-packages/h5py-2.3.0-py2.7-linux-x86_64.egg/h5py/_hl/files.py", line 85, in make_fid
fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
File "h5f.pyx", line 90, in h5py.h5f.create (h5py/h5f.c:2222)
IOError: Unable to create file (Mpi_err_other: known error not in list)
======================================================================
ERROR: test_mpio (h5py.tests.test_file.TestDrivers)
MPIO driver and options
Traceback (most recent call last):
File "/uio/hume/student-u29/imranal/Work/FEniCS/lib/python2.7/site-packages/h5py-2.3.0-py2.7-linux-x86_64.egg/h5py/tests/test_file.py", line 241, in test_mpio
with File(fname, 'w', driver='mpio', comm=MPI.COMM_WORLD) as f:
File "/uio/hume/student-u29/imranal/Work/FEniCS/lib/python2.7/site-packages/h5py-2.3.0-py2.7-linux-x86_64.egg/h5py/hl/files.py", line 222, in __init_
fid = make_fid(name, mode, userblock_size, fapl)
File "/uio/hume/student-u29/imranal/Work/FEniCS/lib/python2.7/site-packages/h5py-2.3.0-py2.7-linux-x86_64.egg/h5py/_hl/files.py", line 85, in make_fid
fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
File "h5f.pyx", line 90, in h5py.h5f.create (h5py/h5f.c:2222)
IOError: Unable to create file (Mpi_err_other: known error not in list)
Ran 306 tests in 0.382s
FAILED (errors=2, skipped=5, expected failures=2)
I am able to use hdf5 just fine when I do not use the mpio driver along with the mpi communicator.