[MPI3 Fortran] Fwd: [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind

N.M. Maclaren nmm1 at cam.ac.uk
Fri Mar 1 02:47:33 CST 2013

On Feb 28 2013, Tobias Burnus wrote:
>> Drop ALL of the BIND(C) from the functions, as they aren't currently 
>> conforming. Plain INTEGER is not guaranteed to be
>> interoperable, and nor is DOUBLE PRECISION (Wtime, Wtick). I hope to 
>> make default types more interoperable in the next standard, but
>> that hasn't even been discussed yet.
>That's probably the simplest. The actual implementation might even use C 
>binding in this case, iff the Fortran interface is already interopable 
>with C, e.g. integer matches "int" etc.

Yes, precisely.  Even if that were not possible, generating interface
functions automatically from the specifications isn't hard.

Nick Maclaren.

More information about the mpiwg-fortran mailing list