Skip to content

Commit d622835

Browse files
committed
Correct missing info argument in man pages for MPI_Psend_init and MPI_Precv_init
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
1 parent 44c103d commit d622835

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ C Syntax
2121
#include <mpi.h>
2222
2323
int MPI_Precv_init(const void *buf, int partitions, int count, MPI_Datatype datatype, int dest,
24-
int tag, MPI_Comm comm, MPI_Request *request)
24+
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, REQUEST, IERROR)
34+
MPI_PRECV_INIT(BUF, PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR)
3535
<type> BUF(*)
36-
INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, REQUEST, IERROR
36+
INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR
3737
3838
3939
Fortran 2008 Syntax
@@ -42,11 +42,12 @@ Fortran 2008 Syntax
4242
.. code-block:: fortran
4343
4444
USE mpi_f08
45-
MPI_Precv_init(buf, partitions, count, datatype, dest, tag, comm, request, ierror)
45+
MPI_Precv_init(buf, partitions, count, datatype, dest, tag, comm, info, request, ierror)
4646
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: buf
4747
INTEGER, INTENT(IN) :: partitions, count, dest, tag
4848
TYPE(MPI_Datatype), INTENT(IN) :: datatype
4949
TYPE(MPI_Comm), INTENT(IN) :: comm
50+
TYPE(MPI_Info), INTENT(IN) :: info
5051
TYPE(MPI_Request), INTENT(OUT) :: request
5152
INTEGER, OPTIONAL, INTENT(OUT) :: ierror
5253
@@ -60,6 +61,7 @@ INPUT PARAMETERS
6061
* ``dest``: Rank of source (integer).
6162
* ``tag``: Message tag (integer).
6263
* ``comm``: Communicator (handle).
64+
* ``info``: Info argument (handle).
6365

6466
OUTPUT PARAMETERS
6567
-----------------

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ C Syntax
2121
#include <mpi.h>
2222
2323
int MPI_Psend_init(const void *buf, int partitions, int count, MPI_Datatype datatype, int dest,
24-
int tag, MPI_Comm comm, MPI_Request *request)
24+
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_PSEND_INIT(BUF, PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, REQUEST, IERROR)
34+
MPI_PSEND_INIT(BUF, PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR)
3535
<type> BUF(*)
36-
INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, REQUEST, IERROR
36+
INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR
3737
3838
3939
Fortran 2008 Syntax
@@ -42,11 +42,12 @@ Fortran 2008 Syntax
4242
.. code-block:: fortran
4343
4444
USE mpi_f08
45-
MPI_Psend_init(buf, partitions, count, datatype, dest, tag, comm, request, ierror)
45+
MPI_Psend_init(buf, partitions, count, datatype, dest, tag, comm, info, request, ierror)
4646
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: buf
4747
INTEGER, INTENT(IN) :: partitions, count, dest, tag
4848
TYPE(MPI_Datatype), INTENT(IN) :: datatype
4949
TYPE(MPI_Comm), INTENT(IN) :: comm
50+
TYPE(MPI_Info), INTENT(IN) :: info
5051
TYPE(MPI_Request), INTENT(OUT) :: request
5152
INTEGER, OPTIONAL, INTENT(OUT) :: ierror
5253
@@ -60,6 +61,7 @@ INPUT PARAMETERS
6061
* ``dest``: Rank of source (integer).
6162
* ``tag``: Message tag (integer).
6263
* ``comm``: Communicator (handle).
64+
* ``info``: Info argument (handle).
6365

6466
OUTPUT PARAMETERS
6567
-----------------

0 commit comments

Comments
 (0)