eth-cscs / DLA-Future

DLA-Future
https://eth-cscs.github.io/DLA-Future/master/
BSD 3-Clause "New" or "Revised" License
64 stars 14 forks source link

Linking issues with standalone miniapps and HDF5 #981

Closed RMeli closed 1 year ago

RMeli commented 1 year ago

When building DLA-Future with +hdf5 and subsequently building the miniapps as a standalone project

cmake .. -DCMAKE_PREFIX_PATH=`spack -e <ENV> location -i dla-future`

(as done in CI), linking errors related to HDF5 (-lhdf5_cpp-shared) appear.

The same issue appears when trying to build CP2K with dla-future +hdf5.