[MPI3 Fortran] Proposing changes to Fortran 2008
Hubert Ritzdorf
ritzdorf at it.neclab.eu
Thu Mar 27 15:49:42 CDT 2008
Aleksandar Donev wrote:
> Hi,
>
> MPI_ISend has many more issues than MPI_Send. Which one are we discussing?
>
> For MPI_Send, I see no problem with copy in/out, in fact, I see it as
> desirable because the compiler does the work of copying things like columns
> of arrays into contig buffers. Is there a problem with copy in/out and the
> blocking calls?
>
Yes, if derived MPI datatypes are used.
>
>> The C_LOC functionality is not far away from this requirement
>>
> C_LOC exactly satisfies the requirement of no copy in/out and probably should
> be used for MPI_ISend. It requires TARGET, which should in fact be required
> if you are retaining a pointer to an array (even if this pointer is only in C
> and not visible to the Fortran compiler).
>
The requirement of target attribute is not really acceptable from the
MPI standard; for example I would
expect that that MPI_Isend (C_LOC(buf(1000:2000)), ...) would not be
allowed.
Best regards
Hubert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20080327/84a1949a/attachment-0001.bin>
More information about the mpiwg-fortran
mailing list