[Mpi3-rma] MPI_Fetch_and_op and predefined datatypes

Hubert Ritzdorf Hubert.Ritzdorf at EMEA.NEC.COM
Fri Oct 26 09:39:20 CDT 2012


Page 429, Line 41-42 specifies for MPI_Fetch_and_op:

The datatype argument must be a predefi?ned datatype.

I think it should be:

The datatype argument must be a MPI basic datatype (cf. Section 5.9.2 on page 176).


(*) This would be consistent to the reduce functions and MPI_Compare_and_swap
     and would allow handles returned by MPI_TYPE_CREATE_F90_INTEGER,

(*) MPI_Compare_and_swap accepts handles created by
     MPI_TYPE_CREATE_F90_INTEGER ( they are contained in Fortran integer category).

(*) Predefined datatypes such as MPI_WCHAR or MPI_PACKED are useless in

Additionally, on   Page 430, Line 39:
               predefined datatypes
should be replaced by
               basic datatypes
since Section 5.9.2 defines the  MPI basic datatypes and not the predefined
datatypes (which are defined in Tables 3.x).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-rma/attachments/20121026/9af52a2f/attachment.html>

More information about the mpiwg-rma mailing list