MPI_Cart_coords

int MPI_Cart_coords(MPI_Comm, int, int, int *);
Translates task rank in a communicator into Cartesian task coordinates.