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

Reply via email to