using alt_hdf5_dir causes XDMF build to fail to find HDF5 headers #20086
-
On macOS Sequoia 15.1, I tried to build VisIt 3.4RC from source, but it fails due to being unable to build HDF5 1.8 with the version of XCode supported on this macOS. I then built HDF5 1.14 with the But when building the XDMF dependency, it fails, saying it's unable to find
Build visit command:
Full build_visit_log: For reference, this build_visit command (including HDF5 but excluding XDMF) produces a successful build:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Perhaps one of our Mac developers will be able to help @cyrush @markcmiller86 |
Beta Was this translation helpful? Give feedback.
Ok, I was able to get Xdmf 2.1.1 to compile with HDF5-1.14.3. The problem is the
H5FD_class_t
data structure has changed in HDF5 versions. And, in earlier versions, that data structure was not versioned. If looks like that part of Xdmf has been modified on a few occasions to handle various versions of HDF5. Here is a patch that works for HDF5-1.14 but probably will not work for 1.12 and/or 1.10...XdmfH5Driver.cxx.patch.gz
Copy the above file to top
Xdmf
dir, unzip it and run the commandpatch -p0 < XdmfH5Driver.cxx.patch