LLNL / H5Z-ZFP

A registered ZFP compression plugin for HDF5
Other
50 stars 22 forks source link

Bugfix/hdf5 1.14.0 #99

Closed jwsblokland closed 1 year ago

jwsblokland commented 1 year ago

CMake: (fix) parallel HDF5 1.14.0 and MPI

Actions: (fix) apt-get update

jwsblokland commented 1 year ago

This pull request is a result of the discussion of https://github.com/HDFGroup/hdf5/pull/2400. In this discussion @lrknox mentions that only HDF5 1.14.0 has this missing MPI::MPI_C target. All future releases of HDF5 will contain the fix mentioned in the pull request https://github.com/HDFGroup/hdf5/pull/2400. Therefore, I adjusted the implementation such that the call to find_package(MPI) will only be done for HDF5 1.14.0.

I have tested the implemented using HDF5 1.12.1 and 1.14.0. Both of them work as expected.