Thanks Michael and Kawashima-san,

i made PR #838 to fix this
it is currently available at https://github.com/open-mpi/ompi/pull/838

Cheers,

Gilles

On 8/27/2015 6:29 PM, Michael Knobloch wrote:
Dear OpenMPI developers,

I noticed a bug in the definition of the 3 MPI-3 RMA functions
MPI_Compare_and_swap, MPI_Fetch_and_op and MPI_Raccumulate.

According to the MPI standard, the origin_addr and compare_addr
parameters of these functions have a const attribute, which is missing
in OpenMPI's mpi.h (OpenMPI 1.8.x and 1.10.0).

Regards,

Michael
--
Michael Knobloch
Institute for Advanced Simulation (IAS)
Jülich Supercomputing Centre (JSC)
Telefon: +49 2461 61-3546
Telefax: +49 2461 61-6656
E-Mail: m.knobl...@fz-juelich.de
Internet: http://www.fz-juelich.de/jsc


------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------

_______________________________________________
devel mailing list
de...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post: http://www.open-mpi.org/community/lists/devel/2015/08/17877.php

Reply via email to