MPIX_Nodecart_sub

Partitions a communicator into subgroups which form lower-dimensional Cartesian subgrids

Synopsis

int MPIX_Nodecart_sub(MPI_Comm comm, const int remain[], MPI_Comm *subcomm)

Input Parameters

comm
communicator with Cartesian structure (handle)
remain_dims
the ith entry of remain_dims specifies whether the ith dimension is kept in the subgrid (true) or is dropped (false) (logical vector)

Output Parameters

newcomm
communicator containing the subgrid that includes the calling process (handle)

Note

Needed for the snap CORAL benchmark - they use this instead of MPI_Cart_shift .