@@ -134,12 +134,14 @@ recvtype at any other process.
134134
135135The outcome is as if all processes executed calls to
136136
137- ::
137+ .. code-block :: c
138+
139+ MPI_Allgatherv(sendbuf, sendcount, sendtype, recvbuf, recvcount,
140+ displs,recvtype,root,comm);
138141
139- MPI_Allgatherv(sendbuf,sendcount,sendtype,recvbuf,recvcount,
140- displs,recvtype,root,comm)
142+ // for root = 0 , ..., n-1.
141143
142- for root = 0 , ..., n-1. The rules for correct usage of :ref: `MPI_Allgatherv `
144+ The rules for correct usage of :ref: `MPI_Allgatherv `
143145are easily found from the corresponding rules for :ref: `MPI_Gatherv `.
144146
145147
@@ -155,12 +157,12 @@ receive its own contribution to the receive buffer. Specifically, the
155157outcome of a call to :ref: `MPI_Allgatherv ` that used the in-place option is
156158identical to the case in which all processes executed *n * calls to
157159
158- ::
160+ .. code-block :: c
159161
160162 MPI_Allgatherv ( MPI_IN_PLACE, 0, MPI_DATATYPE_NULL, recvbuf,
161- recvcounts, displs, recvtype, root, comm )
163+ recvcounts, displs, recvtype, root, comm );
162164
163- for root =0, ... , n-1.
165+ // for root =0, ... , n-1.
164166
165167 Note that MPI_IN_PLACE is a special kind of value; it has the same
166168restrictions on its use as MPI_BOTTOM.
0 commit comments