Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5py and -disable-mpiio #100

Closed
sigbjobo opened this issue May 11, 2021 · 3 comments
Closed

h5py and -disable-mpiio #100

sigbjobo opened this issue May 11, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sigbjobo
Copy link
Contributor

The option for --disable-mpiio seems not to work.

Managed to get it working installing parallel h5py by:
conda install -c conda-forge "h5py>=2.9=mpi*"
Which might be good to put in the guide!

Error with --disable-mpiio
with h5py.File(args.input, "r", driver=driver, comm=comm) as in_file:
File "/home/sigbjobo/software/miniconda3/lib/python3.9/site-packages/h5py/_hl/files.py", line 441, in init
Traceback (most recent call last):
File "/home/sigbjobo/Downloads/HyMD-2021/hymd/main.py", line 286, in
fapl = make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0, **kwds)
File "/home/sigbjobo/software/miniconda3/lib/python3.9/site-packages/h5py/_hl/files.py", line 136, in make_fapl
raise TypeError(msg)
TypeError: 'comm' is an invalid keyword argument for this function
with h5py.File(args.input, "r", driver=driver, comm=comm) as in_file:
File "/home/sigbjobo/software/miniconda3/lib/python3.9/site-packages/h5py/_hl/files.py", line 441, in init
fapl = make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0, **kwds)
File "/home/sigbjobo/software/miniconda3/lib/python3.9/site-packages/h5py/_hl/files.py", line 136, in make_fapl
raise TypeError(msg)
TypeError: 'comm' is an invalid keyword argument for this function

@Lun4m
Copy link
Member

Lun4m commented May 11, 2021

Yes, this has to be fixed. We already have two open issues about it, #20 and #90.

@mortele
Copy link
Member

mortele commented May 11, 2021

This h5py API is incredibly unstable, they keep releasing backward-compatible breaking changes randomly in minor version bumps 😤

@mortele mortele added the bug Something isn't working label Jan 7, 2022
@mortele mortele self-assigned this Jan 7, 2022
@mortele
Copy link
Member

mortele commented Jan 7, 2022

Sorry for the issue necromancy, but this works now as far as I can tell.

@mortele mortele closed this as completed Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants