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 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 module~aotus_module aotus_module module~tem_balance_module->module~aotus_module module~tem_time_module tem_time_module module~tem_balance_module->module~tem_time_module module~flu_binding flu_binding module~tem_balance_module->module~flu_binding module~aot_table_module aot_table_module module~tem_balance_module->module~aot_table_module 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 mpi mpi module~tem_balance_module->mpi module~tem_logging_module tem_logging_module module~tem_balance_module->module~tem_logging_module module~tem_timecontrol_module->module~tem_tools_module module~tem_timecontrol_module->module~aotus_module module~tem_timecontrol_module->module~tem_time_module module~tem_timecontrol_module->module~aot_table_module module~tem_timecontrol_module->module~env_module module~tem_timecontrol_module->mpi module~tem_timecontrol_module->module~tem_logging_module module~aot_out_module aot_out_module module~tem_timecontrol_module->module~aot_out_module module~tem_tools_module->module~env_module module~tem_time_module->module~aotus_module module~tem_time_module->module~aot_table_module module~tem_time_module->module~env_module module~tem_time_module->mpi module~tem_time_module->module~aot_out_module module~env_module->module~aotus_module module~env_module->module~flu_binding module~env_module->mpi iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env module~tem_aux_module->module~tem_tools_module module~tem_aux_module->module~aotus_module module~tem_aux_module->module~flu_binding module~tem_aux_module->module~aot_table_module module~tem_aux_module->module~env_module module~tem_aux_module->mpi module~tem_aux_module->module~tem_logging_module module~tem_revision_module tem_revision_module module~tem_aux_module->module~tem_revision_module module~tem_lua_requires_module tem_lua_requires_module module~tem_aux_module->module~tem_lua_requires_module module~tem_comm_env_module tem_comm_env_module module~tem_aux_module->module~tem_comm_env_module module~tem_logging_module->module~aotus_module module~tem_logging_module->module~aot_table_module module~tem_logging_module->module~env_module module~tem_lua_requires_module->module~aotus_module module~tem_lua_requires_module->module~flu_binding module~tem_lua_requires_module->module~aot_table_module module~tem_lua_requires_module->module~env_module iso_c_binding iso_c_binding module~tem_lua_requires_module->iso_c_binding module~tem_comm_env_module->mpi

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 program~tem_face_test~2 tem_face_test program~tem_face_test~2->module~tem_general_module module~tem_utestenv_module tem_utestEnv_module program~tem_face_test~2->module~tem_utestenv_module program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->module~tem_general_module program~tem_varsys_stfunvar_test->module~tem_utestenv_module program~tem_face_test tem_face_test program~tem_face_test->module~tem_general_module program~tem_face_test->module~tem_utestenv_module program~tem_logical_opertor_test tem_logical_opertor_test program~tem_logical_opertor_test->module~tem_general_module program~tem_logical_opertor_test->module~tem_utestenv_module program~tem_variable_combine_test tem_variable_combine_Test program~tem_variable_combine_test->module~tem_general_module program~tem_variable_combine_test->module~tem_utestenv_module program~tem_sparta_test tem_sparta_test program~tem_sparta_test->module~tem_general_module program~tem_sparta_test->module~tem_utestenv_module program~tem_variable_extract_test tem_variable_extract_test program~tem_variable_extract_test->module~tem_general_module program~tem_variable_extract_test->module~tem_utestenv_module program~tem_spacetime_fun_test tem_spacetime_fun_test program~tem_spacetime_fun_test->module~tem_general_module program~tem_spacetime_fun_test->module~tem_utestenv_module program~tem_varsys_test tem_varSys_test program~tem_varsys_test->module~tem_general_module program~tem_varsys_test->module~tem_utestenv_module program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->module~tem_general_module program~tem_varsys_opvar_test->module~tem_utestenv_module program~tem_variable_evaltype_test tem_variable_evaltype_test program~tem_variable_evaltype_test->module~tem_general_module program~tem_variable_evaltype_test->module~tem_utestenv_module program~tem_face_test~3 tem_face_test program~tem_face_test~3->module~tem_general_module program~tem_face_test~3->module~tem_utestenv_module program~tem_varsys_derivevar_test tem_varSys_deriveVar_test program~tem_varsys_derivevar_test->module~tem_general_module program~tem_varsys_derivevar_test->module~tem_utestenv_module program~tem_varsys_statevar_test tem_varSys_stateVar_test program~tem_varsys_statevar_test->module~tem_general_module program~tem_varsys_statevar_test->module~tem_utestenv_module module~tem_utestenv_module->module~tem_general_module program~bin_search_test bin_search_test program~bin_search_test->module~tem_general_module

Contents


Derived Types

type, public :: tem_balance_type

Load balancing information and control

Components

TypeVisibilityAttributesNameInitial
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


Functions

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

Evaluate the imbalance of all the processes by each rank.

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(tem_balance_type), intent(inout) :: me

The load balancing type

type(flu_State) :: conf

lua configuration handle