MPI_Cart_map

int MPI_Cart_map(MPI_Comm, int, int *, int *, int *);
Computes placement of tasks on the physical processor.