- mpi_topo_test returns the type of topology associated with a
communicator.
- Can find number of dimensions in a Cartesian topology:
mpi_cartdim_get (comm, ndims, ierr)
- More information on a Cartesian topology can be obtained with:
mpi_cart_get (comm, maxdims, periods,
coords, ierr)
- Mapping of coordinate position in Cartesian topology to rank:
mpi_cart_rank (comm, coords, rank, ierr)
- Mapping of rank to coordinate position:
mpi_cart_coords (comm, rank, maxdims,
coords, ierr)