MPI_Cart_rank
--- Determines process rank in communicator given Cartesian
location
Input Parameters
- comm
- communicator with cartesian structure (handle)
- coords
- integer array (of size ndims ) specifying the cartesian coordinates of a process
Output Parameter:
- rank
- rank of specified process (integer)
Synopsis
#include "mpi.h"
int MPI_Cart_rank ( comm, coords, rank )
MPI_Comm comm;
int *coords;
int *rank;
Location: cart_rank.c