MPI_Cart_get

--- Retrieves Cartesian topology information associated with a communicator

Input Parameters

comm
communicator with cartesian structure (handle)
maxdims
length of vectors dims, periods , and coords in the calling program (integer)

Output Parameters

dims
number of processes for each cartesian dimension (array of integer)
periods
periodicity (true /false ) for each cartesian dimension (array of logical)
coords
coordinates of calling process in cartesian structure (array of integer)

Synopsis


#include "mpi.h"
int MPI_Cart_get ( comm, maxdims, dims, periods, coords )
MPI_Comm comm;
int maxdims;
int *dims, *periods, *coords;

Location: cart_get.c