HDF5 installation
This Page describes, how it was done, not how it should be done.
Remark
HDF5 is stored in the sw-area based on gpfs, but works usually on files in the lustre based scratch directories. Both file system types may have different models for treating file locking, which is basic for parallel usage of HDF5. Hence, it is strongly recommended to build hdf5 on a file system, where it should be used. All versions of HDF5 at HLRN are build on a lustre file system, but are stored in the sw area.
In the HDF5 forum the reason for failures of parallel test is discussed. For open-MPI it is claimed that the MPI standard is not fully supported. It seems that the errors in parallel tests are gone with opempi 5. However only a prerelease for the open-MPI version is available.
Prerequisites
- the szip library. In recent versions the szip library is replaced by the aec library. It emulates szip.1.10.6
- for parallel builds intel-MPI or openMPI.
- all other ingredients (zlib) are part of the system.
Install libaec
- enable for configure to avoid cmake ( read more )
- install libaec to the same path, where HDF5 will reside. (script) The preinstalled linaec can also be used.
configure flags for version 1.10.
--with-pic
--enable-production
--enable-unsupported --enable-threadsafe
--enable-fortran --enable-fortran2003 --enable-cxx
configure flags for version 1.12.
--with-pic
--enable-production --enable-optimization=high
--enable-direct-vfd --enable-preadwrite
--enable-unsupported --enable-threadsafe
--enable-fortran --enable-fortran2003 --enable-cxx
--enable-file-locking --enable-recursive-rw-locks