MPI_Comm_rank

--- Determines the rank of the calling process in the communicator

Input Parameters

comm
communicator (handle) Output Parameter:
rank
rank of the calling process in group of comm (integer)

Synopsis


#include "mpi.h"
int MPI_Comm_rank ( comm, rank )
MPI_Comm  comm;
int      *rank;

Location: comm_rank.c