[MPI3 Fortran] ASYNC attribute

N.M. Maclaren nmm1 at cam.ac.uk
Wed May 6 10:14:18 CDT 2009


On May 6 2009, Jeff Squyres wrote:
>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?  ...
>
>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).

It's a structure, and the arguments are pointers.  Bill is right that there
is a compatibility problem, which needs considering.


Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email:  nmm1 at cam.ac.uk
Tel.:  +44 1223 334761    Fax:  +44 1223 334679




More information about the mpiwg-fortran mailing list