Skip to content

Commit f40711c

Browse files
committed
WIP: fix explanation of in-place option
1 parent 290953a commit f40711c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/man-openmpi/man3/MPI_Allgather.3.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ executed n calls to
134134
MPI_Gather(sendbuf, sendcount, sendtype, recvbuf, recvcount,
135135
recvtype, root, comm);
136136
137-
// for root = 0 , ..., n-1.
137+
// for root = 0, ..., n-1.
138138
139139
The rules for correct usage of :ref:`MPI_Allgather`
140140
are easily found from the corresponding rules for :ref:`MPI_Gather`.
@@ -171,10 +171,10 @@ identical to the case in which all processes executed *n* calls to
171171

172172
.. code-block:: c
173173
174-
MPI_Allgather( MPI_IN_PLACE, 0, MPI_DATATYPE_NULL, recvbuf,
175-
recvcount, recvtype, root, comm )
174+
MPI_Gather(MPI_IN_PLACE, 0, MPI_DATATYPE_NULL, recvbuf,
175+
recvcount, recvtype, root, comm);
176176
177-
// for root =0, ... , n-1.
177+
// for root = 0, ..., n-1.
178178
179179
Note that MPI_IN_PLACE is a special kind of value; it has the same
180180
restrictions on its use as MPI_BOTTOM.

docs/man-openmpi/man3/MPI_Allgatherv.3.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ The outcome is as if all processes executed calls to
136136

137137
.. code-block:: c
138138
139-
MPI_Allgatherv(sendbuf, sendcount, sendtype, recvbuf, recvcount,
140-
displs,recvtype,root,comm);
139+
MPI_Gatherv(sendbuf, sendcount, sendtype, recvbuf, recvcount,
140+
displs, recvtype, root, comm);
141141
142-
// for root = 0 , ..., n-1.
142+
// for root = 0, ..., n-1.
143143
144144
The rules for correct usage of :ref:`MPI_Allgatherv`
145145
are easily found from the corresponding rules for :ref:`MPI_Gatherv`.
@@ -159,10 +159,10 @@ identical to the case in which all processes executed *n* calls to
159159

160160
.. code-block:: c
161161
162-
MPI_Allgatherv ( MPI_IN_PLACE, 0, MPI_DATATYPE_NULL, recvbuf,
163-
recvcounts, displs, recvtype, root, comm );
162+
MPI_Gatherv(MPI_IN_PLACE, 0, MPI_DATATYPE_NULL, recvbuf,
163+
recvcounts, displs, recvtype, root, comm );
164164
165-
// for root =0, ... , n-1.
165+
// for root = 0, ..., n-1.
166166
167167
Note that MPI_IN_PLACE is a special kind of value; it has the same
168168
restrictions on its use as MPI_BOTTOM.

0 commit comments

Comments
 (0)