@@ -21,7 +21,7 @@ C Syntax
21
21
#include <mpi.h>
22
22
23
23
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)
25
25
26
26
27
27
Fortran Syntax
@@ -31,9 +31,9 @@ Fortran Syntax
31
31
32
32
USE MPI
33
33
! 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)
35
35
<type> BUF(*)
36
- INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, REQUEST, IERROR
36
+ INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR
37
37
38
38
39
39
Fortran 2008 Syntax
@@ -42,11 +42,12 @@ Fortran 2008 Syntax
42
42
.. code-block :: fortran
43
43
44
44
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)
46
46
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: buf
47
47
INTEGER, INTENT(IN) :: partitions, count, dest, tag
48
48
TYPE(MPI_Datatype), INTENT(IN) :: datatype
49
49
TYPE(MPI_Comm), INTENT(IN) :: comm
50
+ TYPE(MPI_Info), INTENT(IN) :: info
50
51
TYPE(MPI_Request), INTENT(OUT) :: request
51
52
INTEGER, OPTIONAL, INTENT(OUT) :: ierror
52
53
@@ -60,6 +61,7 @@ INPUT PARAMETERS
60
61
* ``dest ``: Rank of source (integer).
61
62
* ``tag ``: Message tag (integer).
62
63
* ``comm ``: Communicator (handle).
64
+ * ``info ``: Info argument (handle).
63
65
64
66
OUTPUT PARAMETERS
65
67
-----------------
0 commit comments