[Mpi3-rma] MPI_Fetch_and_op and predefined datatypes
Jeff Hammond
jhammond at alcf.anl.gov
Fri Oct 26 16:22:02 CDT 2012
I don't want to wait for 3.1. Are we seriously going to require
MPI_WCHAR support in F&Op to be MPI-3 compliant? That makes no sense.
Jeff
On Fri, Oct 26, 2012 at 3:47 PM, Torsten Hoefler <htor at illinois.edu> wrote:
> Agreed. This wording change makes things more clear and correct. I would
> not suggest this as an errata item, rather directly fix it in 3.1. We
> should make a decision on this at the next meeting!
>
> Thanks Hubert!
>
> Torsten
>
> On Fri, Oct 26, 2012 at 02:39:20PM +0000, Hubert Ritzdorf wrote:
>> Hi,
>>
>> 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).
>>
>> Reasons:
>>
>> (*) 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_TYPE_CREATE_F90_REAL, or MPI_TYPE_F90_COMPLEX.
>>
>> (*) 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
>> MPI_Fetch_and_op.
>>
>> 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).
>>
>> Hubert
>
>> _______________________________________________
>> mpi3-rma mailing list
>> mpi3-rma at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
>
> --
> ### qreharg rug ebs fv crryF ------------- http://www.unixer.de/ -----
> Torsten Hoefler | Assistant Professor
> Dept. of Computer Science | ETH Zürich
> Universitätsstrasse 6 | Zurich-8092, Switzerland
> CAB E 64.1 | Phone: +41 76 309 79 29
> _______________________________________________
> mpi3-rma mailing list
> mpi3-rma at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
--
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
More information about the mpiwg-rma
mailing list