[MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind
longb at cray.com
Fri Mar 29 11:19:15 CDT 2013
On 3/29/13 10:51 AM, Rolf Rabenseifner wrote:
> Here the shortcut:
> - Only for optical: Removal of the BIND(C) from all
> mpi_f08 interface definitions. It has no real meaning
> in current MPI-3.0, because all about BIND(C) is defined
> in 17.1.5 and not in the 360 individual interface definitions.
Yes, I agree with this. This means fixes in A.3, for example. To the
extent that the document is a specification of the API for users, the
BIND(C) is irrelevant. The user CALL statement is unaffected by whether
the implementation has BIND(C) or not.
BIND(C) is really only relevant for implementers. In just one place
(17.1.5 seems popular) there should be the rules for what is required of
an implementation if it specifies BIND(C) on a particular routine,
mainly the requirements for the external name, based on how the
implementation uses the routine.
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
More information about the mpiwg-fortran