20.1.4. Fortran Support Through the mpif.h Include File

PreviousUpNext
Up: Support for Fortran Next: Interface Specifications, Procedure Names, and the Profiling Interface Previous: Fortran Support Through the mpi Module

The use of the mpif.h include file has been deprecated in MPI-4.1.

An MPI implementation providing a Fortran interface must provide an include file named mpif.h that can be used in a Fortran program. Within all MPI function specifications, the second of the set of two Fortran routine interface specifications is supported by this include file. This include file must:


For each MPI routine, an implementation can choose to use an implicit or explicit interface for the second Fortran binding (in deprecated routines, the first one may be omitted).

Advice to users.

Instead of using mpif.h, the use of the mpi_f08 or mpi module is strongly encouraged for the following reasons:


( End of advice to users.)


PreviousUpNext
Up: Support for Fortran Next: Interface Specifications, Procedure Names, and the Profiling Interface Previous: Fortran Support Through the mpi Module


Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023