20.1.6. MPI for Different Fortran Standard Versions

PreviousUpNext
Up: Support for Fortran Next: Requirements on Fortran Compilers Previous: Interface Specifications, Procedure Names, and the Profiling Interface

This section describes which Fortran interface functionality can be provided for different versions of the Fortran standard.



Advice to implementors.

If MPI_SUBARRAYS_SUPPORTED=.FALSE., the choice argument may be implemented with an explicit interface using compiler directives.
Example Use of typical compiler directives to disable type, kind, and rank checks for choice buffer arguments.

INTERFACE 
  SUBROUTINE MPI_...(buf, ...) 
    !DEC$ ATTRIBUTES NO_ARG_CHECK :: buf 
    !$PRAGMA IGNORE_TKR buf 
    !DIR$ IGNORE_TKR buf 
    !IBM* IGNORE_TKR buf 
    REAL, DIMENSION(*) :: buf 
    ... ! declarations of the other arguments 
  END SUBROUTINE 
END INTERFACE 
( End of advice to implementors.)


PreviousUpNext
Up: Support for Fortran Next: Requirements on Fortran Compilers Previous: Interface Specifications, Procedure Names, and the Profiling Interface


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

(Unofficial) MPI-5.0 of June 9, 2025
HTML Generated on March 2, 2025