Open MPI logo

Docs Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Docs mailing list

Subject: Re: [OMPI docs] [PATCH] Fix wording of MPI_IN_PLACE usage for MPI_Allgather man page
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-10-18 14:32:10


Fixed both. Thanks!

On Oct 18, 2010, at 11:36 AM, Jed Brown wrote:

> # HG changeset patch
> # User Jed Brown <jed_at_[hidden]>
> # Date 1287416079 -7200
> # Branch v1.5
> # Node ID 6f3923ce83805b9aca845f65c57c0fa86ecbcce8
> # Parent 843d79a2f60a10c4a1b88defe3f4106486d75e8f
> Fix wording of MPI_IN_PLACE usage for MPI_Allgather man page
>
> diff --git a/ompi/mpi/man/man3/MPI_Allgather.3in b/ompi/mpi/man/man3/MPI_Allgather.3in
> --- a/ompi/mpi/man/man3/MPI_Allgather.3in
> +++ b/ompi/mpi/man/man3/MPI_Allgather.3in
> @@ -95,7 +95,7 @@
> After the call, every process has the group-wide concatenation of the sets of data.
>
> .SH USE OF IN-PLACE OPTION
> -When the communicator is an intracommunicator, you can perform an all-gather operation in-place (the output buffer is used as the input buffer). Use the variable MPI_IN_PLACE as the value of both \fIsendbuf\fR and \fIrecvbuf\fR. In this case, \fIsendcount\fR and \fIsendtype\fR are ignored. The input data of each process is assumed to be in the area where that process would receive its own contribution to the receive buffer. Specifically, the outcome of a call to MPI_Allgather that used the in-place option is identical to the case in which all processes executed \fIn\fR calls to
> +When the communicator is an intracommunicator, you can perform an all-gather operation in-place (the output buffer is used as the input buffer). Use the variable MPI_IN_PLACE as the value of \fIsendbuf\fR on all processes. In this case, \fIsendcount\fR and \fIsendtype\fR are ignored. The input data of each process is assumed to be in the area where that process would receive its own contribution to the receive buffer. Specifically, the outcome of a call to MPI_Allgather that used the in-place option is identical to the case in which all processes executed \fIn\fR calls to
> .sp
> .nf
> MPI_GATHER ( MPI_IN_PLACE, 0, MPI_DATATYPE_NULL, recvbuf,
> _______________________________________________
> docs mailing list
> docs_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/docs

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/