ADIOS2 icon indicating copy to clipboard operation
ADIOS2 copied to clipboard

bpls fails to read HDF5 files

Open jodreyer opened this issue 1 year ago • 1 comments

When trying to analyze a h5 file written with ADIOS2 using bpls test.h5 it bails out with the following error message:

Failed to open with HDF5 engine: [<Date>] [ADIOS2 EXCEPTION] <Core> <IO> <Operator> : ERROR: this version didn't compile with HDF5 library, can not use HDF5 engine

This error occurs with ADIOS2 >= 2.10.0. The version 9.2.0 does not show this error instead it lists the content of the file as expected. I checked with readelf -d bpls and also ldd bpls that the program is linked with libhdf5.so. In my case libhdf5.so.200 from /usr/lib64/mpi/gcc/openmpi4/lib64.

To Reproduce I compiled both version from source using: git clone https://github.com/ornladios/ADIOS2.git git checkout v9.2.0 or git checkout v2.10.0 mkdir build cd build cmake .. make cd bin bpls ../../../test.h5

Expected behavior As the result from cmake showed that both HF5 and MPI are ON I expected to be able to list the content of the HDF5 file using bpls.

Desktop (please complete the following information):

  • OS/Platform: [OpenSuSE Tumbleweed ]
  • Build [e.g. compiler version gcc 13.3.0, cmake 3.29.6, build type: dynamic ]

jodreyer avatar Jul 05 '24 10:07 jodreyer

I am not able to reproduce this issue on ubuntu. I am a bit suspicious about the location of that libhdf5.so.200 file.

  • How did you install HDF5 and which version?
  • What is the output of bpls -Vv?
  • In your ADIOS2 build directory, what is the output for $ grep ADIOS2_HAVE_HDF5 source/adios2/common/ADIOSConfig.h

pnorbert avatar Jul 05 '24 13:07 pnorbert

This issue is stale because it has been 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Jul 06 '25 03:07 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Aug 05 '25 03:08 github-actions[bot]