The following See HDF5 Introductory Examples for the examples used in the Learning the Basics tutorial.
The example shows how to create and close a group. It creates a file called
groupf.h5 for FORTRAN), creates a group called
MyGroup in the root group, and then closes the group and file.
For details on compiling an HDF5 application: [ Compiling HDF5 Applications ]
The contents of
group.h5 and the definition of the group are shown below. (The FORTRAN program creates the HDF5 file
groupf.h5 and the resulting DDL shows
groupf.h5 in the first line.)