Getting Started

Connecting
Documentation
FAQ

Login Form






Lost Password?
HDF5: Hierarchical Data Format

Hierarchical Data Format, commonly abbreviated HDF, HDF4, or HDF5 is a library and multi-object file format for the transfer of graphical and numerical data between computers. It is created and maintained by the NCSA. The freely available HDF distribution consists of the library, command-line utilities, test suite source, Java interface, and the Java-based HDF Viewer (HDFView).

Both hdf 4 and 5 are installed on the HPC cluster, however this pages deals with version 5.

Using HDF5 on the HPC Cluster

The HDF 5 libraries are installed in /opt/hdf5/. To compile a program using hdf, one has to include the appropriate directories. Eg

$ gcc -c h5_group.c -I/opt/hdf5/include
$ gcc -o h5_group h5_group.o -L/opt/hdf5/lib64 -lhdf5
A simple submit script would look like
#!/bin/bash

#MOAB -j oe

cd hdf5
./h5_group
For more information about moab, see the documentation. The hdf5 libraries are configured to work with the gnu C, C++ and fortran compilers.