Page tree

HDF5 Fortran library documentation includes the following:

Regarding Fortran environments:

HDF5-1.10:

The HDF5 Fortran library requires a Fortran 2003 environment in HDF5-1.10. If the Fortran compiler being used is Fortran 2003 compliant and the installed HDF5 library was configured with the --enable-fortran option, then the resulting HDF5 Fortran library will include the Fortran 2003 environment.

HDF5-1.8: 

Both Fortran 90 and Fortran 2003 environments are available. A small number of features are available only in Fortran 2003 environments, but most are available in both. The --enable-fortran2003 flag must be specifically included in addition to the--enable-fortran option, in order to provide a Fortran 2003 environment. Without this option, the resulting HDF5 Fortran library uses a Fortran 90 environment.

 

Regarding the HDF5 C/Fortran Reference Manual:

Throughout the reference manual, each Fortran subroutine description is presented alongside the corresponding C function description.

  • Subroutines labeled Fortran 90, with no Fortran 2003 counterpart, are available in both Fortran 90 and Fortran 2003 environments.
  • Subroutines labeled Fortran 2003, with no Fortran 90 counterpart, are available only in Fortran 2003 environments.
  • If both Fortran 90 and Fortran 2003 versions of a subroutine are presented, use the version appropriate to the Fortran environment in which the application will be used.

--- Last Modified: September 14, 2018 | 10:16 AM