MPI_Comm_rank
Determines the rank of the calling process in the communicator.
Syntax
r = MPI_Comm_rank(Comm)
Input argument
Comm - a MPI_Comm object.
Output argument
r - an integer value: rank of the calling process in the group of Comm.
Description
Return the rank of the calling process in the specified communicator.
See also
Example
mpiexec([modulepath('mpi'), '/examples/MPI_helloworld.m'], 4)
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated