hd5_18

Version:

1.8.21

Category:

data

Cluster:

Loki

Author / Distributor

https://www.hdfgroup.org/

Description

HDF5 (Hierarchical Data Format version 5) is a data model, library, and file format for storing and managing large and complex data collections. Version 1.8.21 is part of the long-term supported 1.8 series, providing compatibility and stability for legacy applications in scientific computing, engineering, and big data analytics.

Key features of HDF5:

  • Hierarchical structure of datasets and groups

  • Support for multi-dimensional arrays of scientific data

  • Metadata storage and compression filters

  • Efficient parallel I/O and partial dataset access

  • Compatibility with NetCDF-4, MATLAB, and Python (h5py)

Documentation

Usage: C/C++/Fortran APIs available for custom applications.

Common commands:
----------------
h5dump    → View contents of HDF5 file
h5ls      → List groups/datasets in HDF5 file
h5stat    → Show file metadata statistics
h5cc      → HDF5 C compiler wrapper
h5pcc     → HDF5 parallel compiler wrapper (if enabled)

Help:
  $ h5dump --help
  $ h5cc --help

C/C++ API headers:
  #include "hdf5.h"

Examples/Usage

  • Load the module:

$ module load data/hd5_18/1.8.21
  • Inspect an HDF5 file:

$ h5ls mydata.h5
$ h5dump mydata.h5 | less
  • Compile a C program using HDF5:

$ h5cc -o read_hdf5 read_hdf5.c
  • Run your HDF5 application:

$ ./read_hdf5
  • Unload the module:

$ module unload data/hd5_18/1.8.21

Installation

Source code is obtained from HDF Group