mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 12:23:48 +01:00
Better load balancing in Davidson
This commit is contained in:
parent
a28a9d7d33
commit
9957279967
@ -353,7 +353,7 @@ subroutine H_S2_u_0_nstates_zmq(v_0,s_0,u_0,N_st,sze)
|
||||
di = dble(N_det)
|
||||
do imax=1,N_det
|
||||
di = di-1.d0
|
||||
w = w + (di*N_det_inv)**2
|
||||
w = w + di*N_det_inv
|
||||
if (w > max_workload) then
|
||||
do ishift=0,istep-1
|
||||
write(task,'(4(I9,1X),1A)') imin, imax, ishift, istep, '|'
|
||||
|
Loading…
Reference in New Issue
Block a user