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

Finding hdf5 #12370

Open
VictorEijkhout opened this issue Oct 6, 2023 · 2 comments
Open

Finding hdf5 #12370

VictorEijkhout opened this issue Oct 6, 2023 · 2 comments
Labels
MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. type: bug The primary issue is a bug in Trilinos code or tests

Comments

@VictorEijkhout
Copy link

-- Using find_package(HDF5 ...) ...
-- Found HDF5: hdf5-shared (found version "1.14.0") found components: C
TRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRARIES: HDF5
-- PARSE_REQUIRED_HEADERS='hdf5.h'
-- PARSE_REQUIRED_LIBS_NAMES='hdf5;z;hdf5_hl'
-- TPL_HDF5_INCLUDE_DIRS='/home1/apps/intel23/impi21_9/phdf5/1.14.0/include'
-- TPL_HDF5_LIBRARIES='hdf5-shared'
-- HDF5_LIBRARY_NAMES='hdf5;z;hdf5_hl'

However, no hdf5-shared library exists, leading to:

/opt/apps/gcc/12.2.0/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lhdf5-shared

When I expicitly specified the library names:

  -D TPL_ENABLE_HDF5:BOOL=ON \
  -D HDF5_INCLUDE_DIRS:PATH=${TACC_HDF5_INC}    \
  -D HDF5_LIBRARY_DIRS:PATH=${TACC_HDF5_LIB}    \
  -D HDF5_LIBRARY_NAMES='hdf5;z;hdf5_hl' \

installation worked fine. Is your hdf5 finder too easily satisfied?

@VictorEijkhout VictorEijkhout added the type: bug The primary issue is a bug in Trilinos code or tests label Oct 6, 2023
@jhux2
Copy link
Member

jhux2 commented Oct 6, 2023

May be caused by #12362. Once that's reverted by #12372, please update and try again.

Copy link

github-actions bot commented Oct 6, 2024

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.
If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.

@github-actions github-actions bot added the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

2 participants