Skip to content

Commit da87226

Browse files
authored
Merge pull request #12736 from lauffr/main
fixed argument name in MPI_Precv_init man page
2 parents b73ceae + 53748c4 commit da87226

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ C Syntax
2020
2121
#include <mpi.h>
2222
23-
int MPI_Precv_init(const void *buf, int partitions, int count, MPI_Datatype datatype, int dest,
24-
int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request)
23+
int MPI_Precv_init(const void *buf, int partitions, int count, MPI_Datatype datatype,
24+
int source, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request)
2525
2626
2727
Fortran Syntax
@@ -31,9 +31,9 @@ Fortran Syntax
3131
3232
USE MPI
3333
! or the older form: INCLUDE 'mpif.h'
34-
MPI_PRECV_INIT(BUF, PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR)
34+
MPI_PRECV_INIT(BUF, PARTITIONS, COUNT, DATATYPE, SOURCE, TAG, COMM, INFO, REQUEST, IERROR)
3535
<type> BUF(*)
36-
INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR
36+
INTEGER PARTITIONS, COUNT, DATATYPE, SOURCE, TAG, COMM, INFO, REQUEST, IERROR
3737
3838
3939
Fortran 2008 Syntax
@@ -42,9 +42,9 @@ Fortran 2008 Syntax
4242
.. code-block:: fortran
4343
4444
USE mpi_f08
45-
MPI_Precv_init(buf, partitions, count, datatype, dest, tag, comm, info, request, ierror)
45+
MPI_Precv_init(buf, partitions, count, datatype, source, tag, comm, info, request, ierror)
4646
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: buf
47-
INTEGER, INTENT(IN) :: partitions, count, dest, tag
47+
INTEGER, INTENT(IN) :: partitions, count, source, tag
4848
TYPE(MPI_Datatype), INTENT(IN) :: datatype
4949
TYPE(MPI_Comm), INTENT(IN) :: comm
5050
TYPE(MPI_Info), INTENT(IN) :: info
@@ -58,7 +58,7 @@ INPUT PARAMETERS
5858
* ``partitions``: Number of partitions (integer).
5959
* ``count``: Number of elements to be received per partition (integer).
6060
* ``datatype``: Datatype of each element (handle).
61-
* ``dest``: Rank of source (integer).
61+
* ``source``: Rank of source (integer).
6262
* ``tag``: Message tag (integer).
6363
* ``comm``: Communicator (handle).
6464
* ``info``: Info argument (handle).

0 commit comments

Comments
 (0)