@@ -20,8 +20,8 @@ C Syntax
20
20
21
21
#include <mpi.h>
22
22
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)
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, INFO, REQUEST, IERROR)
34
+ MPI_PRECV_INIT(BUF, PARTITIONS, COUNT, DATATYPE, SOURCE , TAG, COMM, INFO, REQUEST, IERROR)
35
35
<type> BUF(*)
36
- INTEGER PARTITIONS, COUNT, DATATYPE, DEST , TAG, COMM, INFO, REQUEST, IERROR
36
+ INTEGER PARTITIONS, COUNT, DATATYPE, SOURCE , TAG, COMM, INFO, REQUEST, IERROR
37
37
38
38
39
39
Fortran 2008 Syntax
@@ -42,9 +42,9 @@ 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, info, request, ierror)
45
+ MPI_Precv_init(buf, partitions, count, datatype, source , tag, comm, info, request, ierror)
46
46
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: buf
47
- INTEGER, INTENT(IN) :: partitions, count, dest , tag
47
+ INTEGER, INTENT(IN) :: partitions, count, source , tag
48
48
TYPE(MPI_Datatype), INTENT(IN) :: datatype
49
49
TYPE(MPI_Comm), INTENT(IN) :: comm
50
50
TYPE(MPI_Info), INTENT(IN) :: info
@@ -58,7 +58,7 @@ INPUT PARAMETERS
58
58
* ``partitions ``: Number of partitions (integer).
59
59
* ``count ``: Number of elements to be received per partition (integer).
60
60
* ``datatype ``: Datatype of each element (handle).
61
- * ``dest ``: Rank of source (integer).
61
+ * ``source ``: Rank of source (integer).
62
62
* ``tag ``: Message tag (integer).
63
63
* ``comm ``: Communicator (handle).
64
64
* ``info ``: Info argument (handle).
0 commit comments