Hello,
After having installed mpi4py-fft I am trying some of the tests and they are failing. I have installed netcdf4 adn h5py, as requested but when I try trying test_io and test_darray I get that they both fail because of no attribute 'set_fapl_mpio'. See below. Can you tell me what it is that I might be missing?
Francis
fpoulin@amlt21:~/software/mpi4py-fft/tests$ python3 -m test_io Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/fpoulin/software/mpi4py-fft/tests/test_io.py", line 180, in <module> test_3D(bnd, kind) File "/home/fpoulin/software/mpi4py-fft/tests/test_io.py", line 82, in test_3D h0file = writer[backend]('uv'+filename, domain=domain) File "/home/fpoulin/.local/lib/python3.6/site-packages/mpi4py_fft/io/h5py_file.py", line 33, in __init__ self.f = h5py.File(h5name, mode, driver="mpio", comm=comm, **kw) File "/home/fpoulin/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 405, in __init__ fapl = make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0, **kwds) File "/home/fpoulin/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 135, in make_fapl set_fapl(plist, **kwds) File "/home/fpoulin/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 48, in _set_fapl_mpio plist.set_fapl_mpio(**kwargs) AttributeError: 'h5py.h5p.PropFAID' object has no attribute 'set_fapl_mpio' fpoulin@amlt21:~/software/mpi4py-fft/tests$ python3 -m test_darray Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/fpoulin/software/mpi4py-fft/tests/test_darray.py", line 129, in <module> test_2Darray() File "/home/fpoulin/software/mpi4py-fft/tests/test_darray.py", line 36, in test_2Darray k = a.get((0,)*rank+(0, slice(None))) File "/home/fpoulin/.local/lib/python3.6/site-packages/mpi4py_fft/distarray.py", line 218, in get f = h5py.File('tmp.h5', 'w', driver="mpio", comm=comm) File "/home/fpoulin/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 405, in __init__ fapl = make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0, **kwds) File "/home/fpoulin/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 135, in make_fapl set_fapl(plist, **kwds) File "/home/fpoulin/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 48, in _set_fapl_mpio plist.set_fapl_mpio(**kwargs) AttributeError: 'h5py.h5p.PropFAID' object has no attribute 'set_fapl_mpio'