MPE_Comm_global_rank

Returns the rank in MPI_COMM_WORLD for a given (communicator,rank) pair

Synopsis

#include <stdio.h>
#include "mpe.h"
void MPE_Comm_global_rank( comm, rank, grank )
MPI_Comm comm;
int      rank, *grank;

Input Parameters

comm Communicator
rank Rank in comm

Output Parameters

grank
Rank in comm world

Location:getgrank.c