Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed argument name in MPI_Precv_init man page #12736

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/man-openmpi/man3/MPI_Precv_init.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ C Syntax

#include <mpi.h>

int MPI_Precv_init(const void *buf, int partitions, int count, MPI_Datatype datatype, int dest,
int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request)
int MPI_Precv_init(const void *buf, int partitions, int count, MPI_Datatype datatype,
int source, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request)


Fortran Syntax
Expand All @@ -31,9 +31,9 @@ Fortran Syntax

USE MPI
! or the older form: INCLUDE 'mpif.h'
MPI_PRECV_INIT(BUF, PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR)
MPI_PRECV_INIT(BUF, PARTITIONS, COUNT, DATATYPE, SOURCE, TAG, COMM, INFO, REQUEST, IERROR)
<type> BUF(*)
INTEGER PARTITIONS, COUNT, DATATYPE, DEST, TAG, COMM, INFO, REQUEST, IERROR
INTEGER PARTITIONS, COUNT, DATATYPE, SOURCE, TAG, COMM, INFO, REQUEST, IERROR


Fortran 2008 Syntax
Expand All @@ -42,9 +42,9 @@ Fortran 2008 Syntax
.. code-block:: fortran

USE mpi_f08
MPI_Precv_init(buf, partitions, count, datatype, dest, tag, comm, info, request, ierror)
MPI_Precv_init(buf, partitions, count, datatype, source, tag, comm, info, request, ierror)
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: buf
INTEGER, INTENT(IN) :: partitions, count, dest, tag
INTEGER, INTENT(IN) :: partitions, count, source, tag
TYPE(MPI_Datatype), INTENT(IN) :: datatype
TYPE(MPI_Comm), INTENT(IN) :: comm
TYPE(MPI_Info), INTENT(IN) :: info
Expand All @@ -58,7 +58,7 @@ INPUT PARAMETERS
* ``partitions``: Number of partitions (integer).
* ``count``: Number of elements to be received per partition (integer).
* ``datatype``: Datatype of each element (handle).
* ``dest``: Rank of source (integer).
* ``source``: Rank of source (integer).
* ``tag``: Message tag (integer).
* ``comm``: Communicator (handle).
* ``info``: Info argument (handle).
Expand Down
Loading