last iteration the dynamic load balancing was called
Load balancing information and control
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=labelLen), | private | :: | kind | = | 'none' | load balancing type |
|
logical, | private | :: | dynamic | = | .false. | is dynamic load balancing activated? |
|
logical, | private | :: | weight | = | .false. | whether dump weight file |
|
type(tem_timeControl_type), | private | :: | timeControl | control about when to do dynamic balancing |
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
Read all the configuration options for load balancing from the configuration.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_balance_type), | intent(inout) | :: | me | The load balancing type |
||
type(flu_State) | :: | conf | lua configuration handle |