HDF5® Source Code

HDF5® Source Code


Source Code

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

Source - GZIP

With Unix line endings

11.35 MB
Source - BZIP2

With Unix line endings

8.21 MB
Source - ZIP

With Windows line endings

13.20 MB
Source - MD5

MD5 Checksums for the above files

0.27 KB

    Currently, the SWMR feature can only be tested on UNIX platforms. The SWMR testing is disabled on Windows.

    Please be aware! On UNIX platforms the HDF5 tests must be run on a local file system or a parallel file system running GPFS or Lustre in order for the SWMR tests to complete properly. For example:

    cd LocalFSpath
    mkdir build
    cd build
    /path_to_HDF5_source/configure ...
    make
    make check
    make install

    A make check-swmr option will be added in the future to enable users to exclude SWMR testing when running the HDF5 tests.


    Building HDF5 with configure

    Instructions for building HDF5 with configure can be found in the release_docs/ directory of the source code. Below are some of the files located there.

    Information Description
    INSTALL file Instructions for installing HDF5
    INSTALL_parallel Installation instructions for Parallel HDF5
    INSTALL_Cygwin.txt Installation instructions for Cygwin

    Building HDF5 with CMake

    CMake is required to build HDF5 on Windows. It can optionally be used for Unix platforms. To simplify building HDF5 with CMake, a CTest script and platform configuration file are packaged with the HDF5 library, below. Download the file for Unix or Windows as needed, and follow the Building With CMake installation instructions.

    Source - CMake (Unix) 12.53 MB
    Source - CMake (Windows) 14.19 MB
      Information Description
      Building With CMake Using platform configuration files to simplify building with CMake   RECOMMENDED
      INSTALL_CMake.txt Instructions for building HDF5 with CMake
      USING_HDF5_CMake.txt Building and installing HDF5 Applications with CMake
      USING_CMake_Examples.txt Building and testing the HDF5 Examples with CMake