AMReX-Codes/amrex

AMReX seems to fail with HDF5 1.14.5

jrood-nrel opened this issue · 2 comments

I'm seeing this error with 1.14.5, where 1.14.3 works:

-- Configuring done (10.5s)
CMake Error at /whatever/linux-rocky8-zen2/gcc-12.3.0/hdf5-1.14.5-fbemdibpua5saohafdyarebawy2wchwl/cmake/hdf5-targets.cmake:59 (set_target_properties):
  The link interface of target "hdf5-static" contains:

    ZLIB::ZLIB

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /whatever/linux-rocky8-zen2/gcc-12.3.0/hdf5-1.14.5-fbemdibpua5saohafdyarebawy2wchwl/cmake/hdf5-config.cmake:174 (include)
  /whatever/linux-rocky8-zen2/gcc-12.3.0/cmake-3.30.5-evin3st3pg5fu3lxk2i6mm3n6idldh6l/share/cmake-3.30/Modules/FindHDF5.cmake:513 (find_package)
  /whatever/linux-rocky8-zen2/gcc-12.3.0/h5z-zfp-1.1.1-hgb2kh2qvnjt466k7rcmefvqqmsrbqlg/lib/cmake/h5z_zfp/h5z_zfp-config.cmake:40 (find_package)
  submods/amrex/Tools/CMake/AMReXThirdPartyLibraries.cmake:54 (find_package)
  submods/amrex/Src/CMakeLists.txt:49 (include)

It seems to work for me with spack install amrex+hdf5 on Ubuntu. It correctly installed hdf5-1.14.5.

Ok thanks. Maybe it's something we're doing in AMR-Wind then. I will close this for now.