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

Cannot build ADIOS2 with HDF5 #3203

Closed
eschnett opened this issue May 6, 2022 · 4 comments
Closed

Cannot build ADIOS2 with HDF5 #3203

eschnett opened this issue May 6, 2022 · 4 comments

Comments

@eschnett
Copy link
Contributor

eschnett commented May 6, 2022

I am building ADIOS2 2.8.0 with HDF5 1.12.1. I am building via Spack as adios2 ~fortran +hdf5 ~python. This fails with the error

  >> 1203    "/tmp/eschnetter/spack-stage/spack-stage-adios2-2.8.0-gnonxlrnqyn6uxtxbidqfh73slcwdrgs/spack-src/source/adios2/toolkit
             /interop/hdf5/HDF5Common.cpp", line 1632: error: too many arguments in function call
     1204          herr_t ret = H5Oget_info(m_FileId, &oinfo, H5O_INFO_ALL);

I assume that the problem is that ADIOS2 is expecting a different HDF5 API.

@ax3l
Copy link
Contributor

ax3l commented May 9, 2022

@ax3l
Copy link
Contributor

ax3l commented May 9, 2022

This is fixed in master:

#if H5_VERSION_GE(1, 11, 0)
#if (defined H5_USE_16_API || defined H5_USE_18_API)
herr_t ret = H5Oget_info(m_FileId, &oinfo);
#else
herr_t ret = H5Oget_info(m_FileId, &oinfo, H5O_INFO_ALL);
#endif
#else
herr_t ret = H5Oget_info(m_FileId, &oinfo);
#endif
aka 55433ec / #3156

It's already marked for the 2.8.1 release (also part of release_28 branch).

@pnorbert
Copy link
Contributor

pnorbert commented May 9, 2022

this is fixed by PR #3156 and will be in 2.8.1 patch release

@vicentebolea
Copy link
Collaborator

Should this be closed?

@guj guj closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants