MPIX_Nodecart_map

Maps process to Cartesian topology information

Synopsis

int MPIX_Nodecart_map(MPI_Comm comm, int ndims, const int dims[],
                     const int periods[], int *newrank)

Input Parameters

comm
input communicator (handle)
ndims
number of dimensions of Cartesian structure (integer)
dims
integer array of size ndims specifying the number of processes in each coordinate direction
periods
logical array of size ndims specifying the periodicity specification in each coordinate direction

Output Parameters

newrank
reordered rank of the calling process; MPI_UNDEFINED if calling process does not belong to grid (integer)