Skip to content

HDF5

The Hierarchical Data Format HDF5 (and its parallel manifestation HDF5 parallel) is a standard library and data format developed and supported by The HDF Group, and is released under a BSD-like license.

Both serial and parallel versions are available on ARCHER2 as standard modules:

  • module load cray-hdf5 (serial version)
  • module load cray-hdf5-parallel (MPI parallel version)

Use module help to locate cray-specific release notes on a particular version.

Known issues:

  • There are no currently known issues.
  • There is currently a problem with the module file which means cray-hdf5-parallel will not operate correctly in PrgEnv-aocc. One can load module epcc-cray-hdf5-parallel instead as a work-around if PrgEnv-aocc is required.
  • There are no currently known issues.

Some general comments and information on serial and parallel I/O to ARCHER2 are given in the section on I/O and file systems.

Compiling applications against HDF5

If the appropriate programming environment and HDF5 modules are loaded, compiling applications against the HDF5 libraries should straightforward. You should use the compiler wrappers cc, CC, and/or ftn. See, e.g., cc --cray-print-opts for the full list of include paths and library paths and options added by the compiler wrapper.

Resources

The HDF5 support website includes general documentation.

For parallel HDF5, some tutorials and presentations are available.