What is HDF5?
The Hierarchical Data Format v5 (HDF5) is a unique technology suite that makes possible the management of extremely large and complex data collections. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
To use HDF5, you should the required environment variables and path by loading the HDF5 module (HPC2015).
|HPC2015||HDF5||module load hdf5/gcc/[version]|
|Parallel HDF5||module load hdf5/impi/[version]|
HDF5 is used by adding calls to your program, depending on whether you want to create a new data file, read from an existing data file, or write to an existing data file.
Remember, you must add the HDF5 header file to the header of your program. Then you can compile the program with command:
|Programming Language||HDF5 header file||Compilation command|
|C||#include "hdf5.h"||h5cc hdf5_program.c|
|C++||#include "H5Cpp.h"||h5c++ hdf5_program.cpp|
|Fortran||USE HDF5||h5fc program.f90|
HDF5 Homepage: http://www.hdfgroup.org/HDF5/