Userdecomposition » History » Version 1
Nicolas Aunai, 17/10/2015 01:03 PM
1 | 1 | Nicolas Aunai | h1. Domain partitioning |
---|---|---|---|
2 | |||
3 | h2. User defined |
||
4 | |||
5 | Heckle lets the user specify how to partition the simulation domain. |
||
6 | You just have to enter the number of MPI domains (partitions) in each direction, in the heckle.txt file. |
||
7 | |||
8 | |||
9 | <pre> |
||
10 | ----number-of-mpi-domains-------------------------------------- |
||
11 | 64 32 1 |
||
12 | --------------------------------------------------------------- |
||
13 | $----------------------------------------------------------------------- |
||
14 | </pre> |
||
15 | |||
16 | |||
17 | the last line says the user wants 64, 32 and 1 MPI domains in the directions x, y and z, respectively. |
||
18 | |||
19 | Here the total number of partition desired is 2048. Heckle will switch to automatic domain partitioning if ran with any other number of processes. |
||
20 | For example : |
||
21 | |||
22 | mpirun -n 1024 ./heckle.exe ./ |
||
23 | |||
24 | will perform automatic domain partitioning with 1024 cores, disregarding the 64x32x1 domains specified in heckle.txt |
||
25 | |||
26 | |||
27 | |||
28 | h2. Automatic |