Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Create hdf5-1.8.x compatible files from 1.10.X library (#114)
If CGNS is built against the new HDF5-1.10.x library versions, the files that are created are not readable by applications which are built against earlier HDF5-1.8.x library versions. This can cause issues on many systems which are using commercial or externally maintained visualization or other applications (ParaView, Ensight, ...) . Adding the command to use the `H5F_LIBVER_V18` option makes the files readable by the older applications. Here is some advice from the HDF5 group related to this issue: ``` If an application written for 1.8.* is linked with HDF5 1.10.(i.e., it doesn’t use any new features of 1.10.0), a file created by the application will be readable by HDF5 1.8. (or even earlier versions). The exception to this rule would be an application that uses H5Pset_libver_bounds with H5F_LIBVER_LATEST value for its “low” and “high” parameters. In this case both parameters should be set to H5F_LIBVER_V18 to create 1.8 compatible file. File control versioning became available in the HDF5 1.10.3 release. As a safeguard feature, we recommend using H5Pset_libver_bounds function to control file versioning. ```
- Loading branch information