tem_balance_module Module

last iteration the dynamic load balancing was called


Uses

  • module~~tem_balance_module~~UsesGraph module~tem_balance_module tem_balance_module aot_table_module aot_table_module module~tem_balance_module->aot_table_module aotus_module aotus_module module~tem_balance_module->aotus_module flu_binding flu_binding module~tem_balance_module->flu_binding module~env_module env_module module~tem_balance_module->module~env_module module~tem_aux_module tem_aux_module module~tem_balance_module->module~tem_aux_module module~tem_logging_module tem_logging_module module~tem_balance_module->module~tem_logging_module module~tem_time_module tem_time_module module~tem_balance_module->module~tem_time_module module~tem_timecontrol_module tem_timeControl_module module~tem_balance_module->module~tem_timecontrol_module module~tem_tools_module tem_tools_module module~tem_balance_module->module~tem_tools_module mpi mpi module~tem_balance_module->mpi module~env_module->aotus_module module~env_module->flu_binding module~env_module->mpi iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env module~tem_aux_module->aot_table_module module~tem_aux_module->aotus_module module~tem_aux_module->flu_binding module~tem_aux_module->module~env_module module~tem_aux_module->module~tem_logging_module module~tem_aux_module->module~tem_tools_module module~tem_aux_module->mpi module~soi_revision_module soi_revision_module module~tem_aux_module->module~soi_revision_module module~tem_comm_env_module tem_comm_env_module module~tem_aux_module->module~tem_comm_env_module module~tem_lua_requires_module tem_lua_requires_module module~tem_aux_module->module~tem_lua_requires_module module~tem_logging_module->aot_table_module module~tem_logging_module->aotus_module module~tem_logging_module->module~env_module module~tem_time_module->aot_table_module module~tem_time_module->aotus_module module~tem_time_module->module~env_module module~tem_time_module->mpi aot_out_module aot_out_module module~tem_time_module->aot_out_module module~tem_timecontrol_module->aot_table_module module~tem_timecontrol_module->aotus_module module~tem_timecontrol_module->module~env_module module~tem_timecontrol_module->module~tem_logging_module module~tem_timecontrol_module->module~tem_time_module module~tem_timecontrol_module->module~tem_tools_module module~tem_timecontrol_module->mpi module~tem_timecontrol_module->aot_out_module module~tem_tools_module->module~env_module module~tem_comm_env_module->mpi module~tem_lua_requires_module->aot_table_module module~tem_lua_requires_module->aotus_module module~tem_lua_requires_module->flu_binding module~tem_lua_requires_module->module~env_module iso_c_binding iso_c_binding module~tem_lua_requires_module->iso_c_binding

Used by

  • module~~tem_balance_module~~UsedByGraph module~tem_balance_module tem_balance_module module~tem_general_module tem_general_module module~tem_general_module->module~tem_balance_module

Derived Types

type, public ::  tem_balance_type

Load balancing information and control

Components

Type Visibility Attributes Name Initial
character(len=labelLen), public :: kind = 'none'

load balancing type

logical, public :: dynamic = .false.

is dynamic load balancing activated?

logical, public :: weight = .false.

whether dump weight file

type(tem_timeControl_type), public :: timeControl

control about when to do dynamic balancing


Functions

public function tem_calc_imbalance(myCost, comm, nProcs, isRoot) result(imbalance)

Evaluate the imbalance of all the processes by each rank.

Arguments

Type IntentOptional 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

Return Value real(kind=rk)

in percentage


Subroutines

public subroutine tem_balance_load(me, conf)

Read all the configuration options for load balancing from the configuration.

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_balance_type), intent(inout) :: me

The load balancing type

type(flu_State) :: conf

lua configuration handle