MPC scopes disambiguation
Ranks |
Scopes |
Description |
Indexes |
Sizes |
|---|---|---|---|---|
Node |
Global |
The number of nodes. |
|
|
Process |
Global |
The total number of process. |
|
|
Local Process |
Node |
The number of process on the current node. |
|
|
MPI Task |
Global |
The total number of tasks. (As define by MPI) |
|
|
Local Task |
Process |
The number of tasks in the current process. |
|
|
OMP Rank |
MPI Task |
The number of Omp threads in the current MPI tasks. (As expected by the user) |
||
Thread |
Process |
The number of thead on the current process. |
Example of index and sizes:
Node 1/2 |
Node 2/2 |
||||
|---|---|---|---|---|---|
Process 1/3 |
Process 2/3 |
Process 3/3 |
|||
Local Process 1/2 |
Local Process 2/2 |
Local Process 1/2 |
|||
MPI Task 1/4 |
MPI Task 2/4 |
MPI Task 3/4 |
MPI Task 4/4 |
||
Local Task 1/2 |
Local Task 2/2 |
Local Task 1/1 |
Local Task 1/1 |
||
OMP Rank 1/2 |
OMP Rank 2/2 |
OMP Rank 1/1 |
OMP Rank 1/1 |
OMP Rank 1/1 |
|
Thread 1/4 |
Thread 4/4 |
Thread 2/4 |
Thread 3/4 |
Thread 1/1 |
Thread 1/1 |
Note
Thread should be names ‘Local Thread’ to be consistent with process naming