When the module is loaded, the environment variable $HDF5_DIR is set. $HDF5_DIR points to the base folder containing the hdf5 installation (/software/apps/hdf5/VERSION/SUBVERSION/) . Sub-folders from $HDF5_DIR:
bin include lib share
You can build applications against the HDF5 libraries using the include files in $HDF5_DIR/include and pre-built libraries in $HDF5_DIR/lib. e.g.
icc -I $HDF5_DIR/include -L $HDF5_DIR/lib