Next: Partitioning Cartesian topologies
Up: Process topologies
Previous: Uses of topologies
Topologies and Data Shifts
- Consider the following two types of shift for group of size N:
- Circular shift by J. Data in process K is sent to process

- End-off shift by J. Data in process K is sent to process
J+K if this is between 0 and N-1. Otherwise, no data are sent.
- Topological shifts are performed using mpi_sendrecv.
- mpi_cart_shift returns the ranks of the processes that
a process must send to and receive from when performing a shift
on a topological group.
David W Walker
Mon Jan 20 11:10:22 GMT 1997