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
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.
|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.
|Building With CMake||Using platform configuration files to simplify building with CMake
|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|
Patch to Disable File Locking
A patch is available for HDF5-1.10.0-patch1 that will disable file locking. To obtain the patch download the file file-lock-removal.diff.
This patch enables HDF5-1.10 to be built and run on file systems that have file locking disabled. It removes the flock() call and disables two tests in swmr.c that test the file locking scheme.
Apply the patch by running 'patch -p0 < file-lock-removal.diff' in the HDF5-1.10.0-patch1 source code directory.
- - Last modified: 15 November 2016