DistDir
|
Functions | |
static int | map_test01 (MPI_Comm comm) |
test01 for map module More... | |
static int | map_test02 (MPI_Comm comm) |
test02 for map module More... | |
static int | map_test03 (MPI_Comm comm) |
test03 for map module More... | |
static int | map_test04 (MPI_Comm comm) |
test04 for map module More... | |
Tests of the map module
|
static |
test01 for map module
The test uses a total of 4 MPI processes over a 4x4 global 2D domain. Processes 0,1 have the following domain decomposition:
Rank: 0 Indices: 0, 1, 4, 5, 8, 9, 12, 13 Rank: 1 Indices: 2, 3, 6, 7, 10, 11, 14, 15
Processes 2,3 have the following domain decomposition:
Rank: 2 Indices: 0, 1, 2, 3, 4, 5, 6, 7, 8 Rank: 3 Indices: 9, 10, 11, 12, 13, 14, 15
Ranks 0,1 are sender processes and ranks 2,3 are receivers processes.
The generated maps are tested.
The test is based on the maps generated by example_basic1.
|
static |
test02 for map module
The test uses a total of 4 MPI processes over a 4x4 global 2D domain. Processes 0,1 have the following domain decomposition:
Rank: 0 Indices: 15, 14, 11, 10, 7, 6, 3, 2 Rank: 1 Indices: 13, 12, 9, 8, 5, 4, 1, 0
Processes 2,3 have the following domain decomposition:
Rank: 2 Indices: 15, 14, 13, 12, 11, 10, 9, 8 Rank: 3 Indices: 7, 6, 5, 4, 3, 2, 1, 0
Ranks 0,1 send data to ranks 2,3
|
static |
test03 for map module
The test uses a total of 4 MPI processes over a 4x4x2 global 3D domain. Processes 0,1 have the following domain decomposition:
Rank: 0 Indices: 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30 Rank: 1 Indices: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31
Processes 2,3 have the following domain decomposition:
Rank: 2 Indices: 0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23 Rank: 3 Indices: 8, 9, 10, 11, 12, 13, 14, 15, 24, 25, 26, 27, 28, 29, 30, 31
Ranks 0,1 send data to ranks 2,3
The map is generated extending a 2d map.
|
static |
test04 for map module
The test has the same domain decomposition of test03. The map is generated first extending a 2D map and then directly providing the stride. The two generated 3D maps are then compared.