load_balance Module



Contents


Functions

public function need_load_balancing(lt_imb) result(t_lb)

Gauge if a load balancing step shall be taken given the current load-imbalance measure lt_imb @param[in] lt_imb current load imbalance measure: Time lost due to load imbalance during the last 100 iterations divided by the total time taken for these @result t_lb true if a load balancing step is justified

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: lt_imb

Return Value logical


Subroutines

public subroutine init_load_balance()

Arguments

None

public subroutine pops_init_balance_blocks(pops_blocks)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: pops_blocks

public subroutine clean_load_balance()

Arguments

None

public subroutine adjust_load_balance(iter_data)

Arguments

Type IntentOptional Attributes Name
type(fcimc_iter_data), intent(inout) :: iter_data

public subroutine move_block(exchangedata)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: exchangedata(3)

public subroutine AddNewHashDet(TotWalkersNew, iLutCurr, DetHash, nJ, HDiag, HOffDiag, DetPosition, err)

Arguments

Type IntentOptional Attributes Name
integer, intent(inout) :: TotWalkersNew
integer(kind=n_int), intent(inout) :: iLutCurr(0:NIfTot)
integer, intent(in) :: DetHash
integer, intent(in) :: nJ(nel)
real(kind=dp), intent(in) :: HDiag
real(kind=dp), intent(in) :: HOffDiag
integer, intent(out) :: DetPosition
integer, intent(out) :: err

public subroutine RemoveHashDet(HashIndex, nJ, partInd)

Arguments

Type IntentOptional Attributes Name
type(ll_node), intent(inout), pointer :: HashIndex(:)
integer, intent(in) :: nJ(nel)
integer, intent(in) :: partInd

public subroutine CalcHashTableStats(TotWalkersNew, iter_data)

Arguments

Type IntentOptional Attributes Name
integer, intent(inout) :: TotWalkersNew
type(fcimc_iter_data), intent(inout) :: iter_data

public subroutine addNormContribution(CurrentSign, tIsStateDeterm)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: CurrentSign(lenof_sign)
logical, intent(in) :: tIsStateDeterm