This allows you to identify each processor by a unique integer called the rank which runs from 0 to N-1 where there are N processors |
If we divide the region 0 to 1 by domain decomposition into N parts, the processor with rank r controls
|
for C:int MPI_Comm_rank(MPI_Comm comm, int *rank)
|
for FORTRAN: call MPI_COMM_RANK (comm,rank,mpierr) |