wiki:mpich/MPI_Comm_rank

MPI_Comm_rank

Determines the rank of the calling process in the communicator

Synopsis

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

Input Parameters

comm  communicator (handle) 

Output Parameter

rank  rank of the calling process in group of comm (integer) 

Example

mpich/point_to_point/demo1

Last modified 17 years ago Last modified on Apr 2, 2008, 3:22:05 PM