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 installation issue #182

Open
fankiat opened this issue Feb 15, 2023 · 1 comment
Open

H5py installation issue #182

fankiat opened this issue Feb 15, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation wontfix This will not be worked on

Comments

@fankiat
Copy link
Owner

fankiat commented Feb 15, 2023

The h5py package recently released a new version, which uses an old version of mpi4py that has a typo. The fixed mpi4py is not referenced in the latest version of h5py, although they have already patched the issue but have yet to release the updated version. Hence, as a workaround until h5py release the fixed version, one can install sopht-mpi by adding the following lines in the Makefile to install h5py with MPI support.

pip install wheel cython
HDF5_MPI="ON" CC=mpicc pip install --no-build-isolation --no-binary=h5py h5py

This approach is also used in other projects as a workaround (see h5py/h5py#2222). Since this is not a sopht-mpi issue, we won't be fixing it, but will instead wait for the latest h5py version release.

@fankiat fankiat self-assigned this Feb 15, 2023
@fankiat fankiat added wontfix This will not be worked on documentation Improvements or additions to documentation labels Feb 15, 2023
@fankiat
Copy link
Owner Author

fankiat commented Apr 9, 2023

This issue is temporarily fixed in #186 . I will leave this issue open until h5py release the new version, beyond which we will then remove the temporary fix and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant