HDF

HDF (Hierarchical Data Format) is a multi-object file format that facilitates the transfer of various types of scientific data between machines and operating systems.

Installed on : pople and bigben

All HDF routines require the header "hdf.h" to be included.

HDF5

On pople

Create a batch script to:

  • Set up the module command
  • load the HDF module for the version you want:
    module load hdf5/1.6.3
      or:
    module load hdf5-1.8.0
  • Compile your C code, using h5cc:  
    h5cc code.c 

See the sample job.

On bigben

Set up a batch script to:

  • Load the hdf5 module:
    module load hdf5/hdf5
  • Compile with h5pfc for fortran, or h5pcc for C.

See the sample job.

HDF4

On pople

Create a batch script which:

See the sample job.

On bigben

Set up a batch script to:

  • Load the hdf4 module:
    module load hdf/4.2r1
  • Compile with h4fc for fortran, or h4cc for C.

See the sample job.

Other HDF documentation:

See also