Cartesian Creation
MPI_Cart_create
MPI_Cart_create defines a Cartesian virtual topology.
C
int MPI_Cart_create(MPI_Comm comm_old, int ndims,
int *dims, int *periods, int reorder,
MPI_Comm *comm_cart)
Fortran
MPI_CART_CREATE(COMM_OLD, NDIMS, DIMS, PERIODS, REORDER, COMM_CART, IERROR)
INTEGER COMM_OLD, NDIMS, DIMS(*), COMM_CART, IERROR
LOGICAL PERIODS(*), REORDER
Arguments:
- comm_old
- existing communicator
- ndims
- number of dimensions
- periods
- logical array indicating whether a dimension is cyclic
(TRUE means cyclic boundary conditions) - reorder
- FALSE means rank preserved; TRUE means possible rank reordering
- comm_cart
- the new Cartesian communicator
©
|
Cornell University
|
Center for Advanced Computing
|
Copyright Statement
|
Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)