MPIX_Nodecart_get

Retrieves Cartesian topology information associated with a communicator

Synopsis

int MPIX_Nodecart_get(MPI_Comm comm, int maxdims, int dims[], int periods[],
                     int coords[])

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)