Menu

HDF5 1.10 support?

ryan bobko
2020-01-31
2020-01-31
  • ryan bobko

    ryan bobko - 2020-01-31

    Hi All...in the configure script (via matio_hdf5.m4), it looks like it's necessary for the HDF5 library to be configured to write 1.8 files by default in order to use the library. However, in the code, it appears that H5Pset_libver_bounds is set correctly for writing files, and HDF5 1.10 can read HDF5 1.8 files. With reading and writing covered, I'm wondering if this configure check is obsolete? If so, can it be removed?

     
  • tbeu

    tbeu - 2020-01-31

    Please check the Readme file(s):

    Matio requires HDF5 version ≥ 1.8.x.

    matio_hdf5.m4 is the appropriate check if HDF >= version 1.8.x is available. If it is, then HAVE_HDF5 is defined, otherwise HAVE_HDF5 is undefined.

     
  • ryan bobko

    ryan bobko - 2020-01-31

    Thanks. I thought I was having was with the macro, but I see now that on Ubuntu 18.04, apt puts the HDF5 library at /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.soand the include at /usr/include/hdf5/serial/hdf5.h.

     

Log in to post a comment.