Evaluate the imbalance of all the processes by each rank.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | myCost | each process cpu cost. Basis to evaluate the imbalance |
||
| integer, | intent(in) | :: | comm | MPI Communicator |
||
| integer, | intent(in) | :: | nProcs | MPI Communicator |
||
| logical, | intent(in) | :: | isRoot | Whether this rank is the root |
in percentage
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | private | :: | totalCost | ||||
| real(kind=rk), | private | :: | maxCost | ||||
| integer, | private | :: | iErr |