PGAGetRank(4) PGAPack PGAGetRank(4)NAMEPGAGetRank - Returns the rank of the processor in communicator comm. If comm is NULL or a sequential version of PGAPack is used, PGAGe- tRank() returns 0.INPUT PARAMETERSctx - context variable structure pointer comm - an MPI communicatorOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" int PGAGetRank(ctx, comm) PGAContext *ctx MPI_Comm commLOCATIONparallel.cEXAMPLEExample: PGAContext *ctx; int rank; : rank = PGAGetRank(ctx, MPI_COMM_WORLD); if (rank == 0) { LetTheMasterDoSomething(); } 05/01/95 PGAGetRank(4)