Re: [OMPI devel] MPI_Reduce const sendbuf

2009-09-28 Thread George Bosilca
This is a matter examined right now by the MPI Forum (https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/140 
) for the upcoming version 3.0. So far, Open MPI follows the  
prototypes described by the standard.


  george.

On Sep 28, 2009, at 14:05 , Shaun Jackman wrote:


Should the sendbuf argument of MPI_Reduce be const?

On this web page:
http://www.mpi-forum.org/docs/mpi21-report-bw/node101.htm

the C prototype is not const, but the C++ prototype is const.

Cheers,
Shaun
___
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel




[OMPI devel] MPI_Reduce const sendbuf

2009-09-28 Thread Shaun Jackman

Should the sendbuf argument of MPI_Reduce be const?

On this web page:
http://www.mpi-forum.org/docs/mpi21-report-bw/node101.htm

the C prototype is not const, but the C++ prototype is const.

Cheers,
Shaun