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

[3.17.0] Fails to find hdf5: HDF5 not found. Set HDF5_ROOT #4705

Closed
yurivict opened this issue Aug 19, 2023 · 2 comments · Fixed by #4708
Closed

[3.17.0] Fails to find hdf5: HDF5 not found. Set HDF5_ROOT #4705

yurivict opened this issue Aug 19, 2023 · 2 comments · Fixed by #4708
Labels

Comments

@yurivict
Copy link

Describe the bug

-- Unable to determine HDF5 C flags from HDF5 wrapper.
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES) (found suitable version "1.12.2", minimum required is "1.10")
CMake Error at CMakeLists.txt:713 (message):
  HDF5 not found.  Set HDF5_ROOT

3.15.0 found hdf5 fine, but 3.17.0 fails.

hdf5 installs cmake files, so it should be easily found.

System:

  • system name: FreeBSD 13.2

Additional context
clang-15
hdf5-1.12.2_2

@prckent
Copy link
Contributor

prckent commented Aug 21, 2023

Thanks for the quick report Yuri. We are investigating. There seems to be something going on with certain versions of hdf5, cmake, and our use of them, possibly also the spack package manager installations as well. Assuming a common root cause, based on spack/spack#35893 maybe 1.12.1 would work. QMCPACK's use of HDF5 is not complex so any recent HDF5 should be OK, including 1.12.2...

@prckent prckent added the bug label Aug 21, 2023
@prckent
Copy link
Contributor

prckent commented Aug 23, 2023

Reproduced on FreeBSD 13.2 with the system packaged HDF5 as reported. There is a problem with the CMake detection since a manually installed HDF5 1.12.2 in $HOME works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants