1 | MPI provides routines to provide structure to collections of processes. Although it also has graph topologies, here we concentrate on cartesian. |
2 | A Cartesian topology is a mesh |
3 | Example of a 3 x 4 mesh with arrows pointing at the right neighbors: |
4 | (0,0) |
5 | (0,1) |
6 | (0,2) |
7 | (0,3) |
8 | (1,0) |
9 | (1,1) |
10 | (1,2) |
11 | (1,3) |
12 | (2,0) |
13 | (2,1) |
14 | (2,2) |
15 | (2,3) |