[MPIWG Fortran] Deprecated functions in F08

Rolf Rabenseifner rabenseifner at hlrs.de
Thu Feb 27 06:52:20 CST 2014


Dear Junchao Zhang,

MPI-3.0 page 598 lines 1-5 state:

  Compliant MPI-3 implementations providing a Fortran 
  interface must provide one or both of the following:
  - The USE mpi_f08 Fortran support method.
  - The USE mpi and INCLUDE 'mpif.h' Fortran support methods.

This is the main rule.

17.1.2 "Fortran Support Through the mpi_f08 Module",
> Line 12, Page 599 of MPI 3.0 reads: Only one Fortran 
> interface is defined for functions that are deprecated as
> of MPI-3.0. This interface must be provided as an explicit 
> interface according to the rules defined for the mpi module, 
> see Section 17.1.3 on page 601.

If an MPI library provider decides that he/she provides only the
mpi_f08 module, then the words "according to the rules for the mpi module"
mean that these deprecated routines are not provided.

There was never the intent that the mpi module must come 
together with mpi_f08 through a back-door with the 
wording on p599:12-14.

Best regards
Rolf
 

----- Original Message -----
> From: "Junchao Zhang" <jczhang at mcs.anl.gov>
> To: "MPI-WG Fortran working group" <mpiwg-fortran at lists.mpi-forum.org>
> Sent: Wednesday, February 26, 2014 4:58:28 PM
> Subject: [MPIWG Fortran] Deprecated functions in F08
> 
> Line 12, Page 599 of MPI 3.0 reads: Only one Fortran interface is
> defined for functions that are deprecated as of
> MPI-3.0. This interface must be provided as an explicit interface
> according to
> the rules defined for the mpi module, see Section 17.1.3 on page 601.
> 
> Can I put it as: In a mpi_f08 module, if one uses the deprecated
> functions, he should get compilation errors, since the Standard does
> not define interfaces for them.  He can either upgrade them to new
> functions, or uses mpi module instead. 
> Does it also mean the mpi module is mandatory partner for F08
> binding, since it says, "This interface must be provided ..."
> 
> Thanks.
> 
> --Junchao Zhang
> _______________________________________________
> mpiwg-fortran mailing list
> mpiwg-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran

-- 
Dr. Rolf Rabenseifner . . . . . . . . . .. email rabenseifner at hlrs.de
High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530
University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832
Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner
Nobelstr. 19, D-70550 Stuttgart, Germany . . . . (Office: Room 1.307)



More information about the mpiwg-fortran mailing list