Building (intel) HDF5 1.14.6 with zlib and szip

Hi, @sterlingbutters !

Thank you so much for testing HDF5 1.14.6 with RH8 + oneAPI and reporting the issue on forum.

I made a few patches to make HDF5 work on RH8 with system zlib & libaec.

hyoklee/hdf5: Unofficial HDF5® Library Repository

Here’s the GitHub Action workflow based on your 1) precompiled method:

actions/.github/workflows/rh8-icc.yml at main · hyoklee/actions

In the above workflow, the following is all you need and highlights the main difference from your method 1):

 -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ON -DHDF5_ENABLE_ZLIB_SUPPORT:BOOL=ON \
                -DSZIP_LIBRARY:PATH="/usr/lib64/libsz.so.2.0.1" -DSZIP_INCLUDE_DIR="/usr/include" \

Here’s the build result:

ci(rh8): dnf libaec-devel · hyoklee/actions@57aed8a

Here’s the CDash result:

Build Summary

All tests passed but oneAPI generates 3000 warnings.

Unfortunately, I had to use the latest Intel compiler 2025.0 to verify my patch.
Please let me know if my HDF5 fork works on your system with your older oneAPI compiler.

Thank you so much again for the detailed error reports and trying so many different options! Your thoroughness helped me a lot to patch my HDF5 fork.

1 Like