HDF5 installation

This Page describes, how it was done, not how it should be done.

Remark

To optimally support all parallel file system features (e.g. file locking models), is strongly recommended to build hdf5 on the very file system, where data is written later: WORK. 

  • HDF5 modules build before 1. Dez. 2024 were build on a Lustre® file system which is deprecated (see File system replacement).
  • HDF5 modules newer than 1. Dez. 2024 will be build on the present IBM Storage Scale system (see File Systems).

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

Script for installing parallel HDF-5 1.12.2

Script for Installing parallel HDF-5 1.12.2

Related pages