HDF5® Source Code

HDF5® Source Code

The source code distributions for Unix and Windows are identical except for the line endings.

 

Applications that were created with earlier HDF5 releases may not compile with 1.14 by default.

The API Compatibility Macros in HDF5 allow users to work around this issue. Users can specify a compatibility macro mapping for the version of HDF5 that an application was built with. For example, a 1.10 application can be built with 1.14 using either an application or library mapping as follows:

  • To compile an application built with a version of HDF5 that includes deprecated symbols (the default), specify: -DH5_USE_110_API (autotools) or –DH5_USE_110_API:BOOL=ON (CMake)
  • To build an HDF5 library with the 1.10 APIs specify --with-default-api-version=v110 (Autotools) or -DDEFAULT_API_VERSION:STRING=v110 (CMake).

However, users will not be able to take advantage of some of the new features in 1.14 if using these compatibility mappings.

See the Migrating from HDF5 1.12 to HDF5 1.14 page for details on upgrading an application.

 

hdf5-1.14.4-2.tar.gz 0.00 KB

(sha256)

hdf5-1.14.4-2.zip 0.00 KB

(sha256)

    Building HDF5

    Instructions for building HDF5 can be found in the release_docs/ directory in the source code.