[MPI3 Fortran] ASYNC attribute
Jeff Squyres
jsquyres at cisco.com
Wed May 6 08:27:29 CDT 2009
On May 6, 2009, at 9:21 AM, Bill Long wrote:
> > 2. Yes, the MPI_Request argument to MPI_Wait is inout.
>
> Question: Is MPI_Request actually a Fortran derived TYPE, or is it
> just
> a KIND value for an INTEGER? I had thought that all of these flag and
> handle-like arguments were treated as integers in the Fortran
> interface.
> Making it an actual defined type would have some advantages, but
> would
> that cause a problem with existing codes?
>
In MPI-1 and MPI-2, they're INTEGERs. But we're toying with the idea
of using ISO_C_BIND for MPI-3 and therefore tying the MPI_Request in
Fortran to be whatever it is in C (likely either the equivalent of a C
int or a pointer).
--
Jeff Squyres
Cisco Systems
More information about the mpiwg-fortran
mailing list