HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
See versions of hdf5 which are available:
$ module avail hdf5
Load a particular version:
$ module load hdf5/1.8.19
List contents of an archive:
$ h5dump -n file_s1_p0.bas.h5
Print referenced datasets:
$ h5dump -d /MultiPart/Parts file_s1_p0.bas.h5
Notes from the sysadmin during installation:
$ cd /tmp $ wget https://support.hdfgroup.org/ftp/HDF5/current18/src/hdf5-1.8.19.tar.gz $ tar xf hdf5-1.8.19.tar.gz $ cd hdf5-1.8.19 $ scl enable devtoolset-4 bash $ ./configure --prefix=/export/apps/hdf5/1.8.19 --enable-production --enable-cxx $ make $ make check $ sudo mkdir -p /export/apps/hdf5/1.8.19 $ sudo chown aorth /export/apps/hdf5/1.8.19 $ make install $ sudo chown -R root /export/apps/hdf5/1.8.19
Note that the –enable-cxx
option to configure is important as it enables the installation of the C++ header files that other programs can use to compile against.