- removed comment
PITTNUllCode/SphericalHarmonicRecon uses HDF5 1.8 functions
SphericalHarmonicRecon's Recon.cc file uses H5LTread_dataset_double (https://support.hdfgroup.org/HDF5/doc/HL/RM_H5LT.html#H5LTread_dataset_double) which is only available in the hdf5 hl level library which is only provided in hdf5 1.8.7.
Nothing in the ET states that HDF5 1.8 is required.
This can be fixed my making sure that hdf5_hl is included in HDF5_LIBS which also will make compilation fail if the library in indeed missing.
We should decide whether we want to bump ExternalLibraries/HDF5's version number and have it itself check for HDF5 1.8 in which case thorns can rely on this version being present (if they require a new enough HDF5 ExternalLibraries) or provide workarounds in Reconn.cc.
Keyword: SphericalHarmonicRecon
Comments (8)
-
-
- removed comment
Replying to [comment:1 anonymous]:
I think it is probably time to require the 1.8 API. This was Frank...
-
- removed comment
On the ET users call on 9. Jan 2017 was decided that the best course of action is to make 1.8 a requirement for the toolkit.
-
- removed comment
I think this is good, but would like to know Erik's opinion. I think he joined the call after we discussed it.
-
- removed comment
I was not there during the discussion. HDF5 is now at version 1.10, so requiring 1.8 is possible. I am not aware of an HPC system that only has HDF5 1.6, and HDF5 is easy to install. Plus, we started supporting HDF5 1.8 in Cactus more than ten years ago, so this is not a surprise.
Now, HDF5 1.10 does have some very interesting features that we should use (or explore), such as e.g. virtual datasets (no more recombining!), or the new file format that promises much higher performance. But that's for another time.
-
reporter Pull request https://github.com/EinsteinToolkit/ExternalLibraries-HDF5/pull/3 requests at least version 1.8 from pkg-config. No attempt is made to guess the version of libhdf5 if pkg-config is not used. Could be done but tends to be tricky since one must parse
H5public.h
whose name and existence may not be “official” since onlyhdf5.h
is used by user code. -
reporter - edited description
- changed status to open
-
reporter - edited description
-
assigned issue to
- Log in to comment
I think it is probably time to require the 1.8 API.