HDF5® Source Code
The source code distributions for Unix and Windows are identical except for the line endings.
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
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.
|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.
|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|