Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] MPI_Reduce const sendbuf
From: George Bosilca (bosilca_at_[hidden])
Date: 2009-09-28 15:05:48


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
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel