10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-02 11:25:26 +02:00
This commit is contained in:
Anthony Scemama 2018-09-25 12:49:47 +02:00
parent 4a48a6b94f
commit fb836d063e
3 changed files with 4 additions and 6 deletions

View File

@ -21,8 +21,8 @@ program fci_zmq
threshold_davidson = threshold_davidson_in * 100.d0
SOFT_TOUCH threshold_davidson
! call diagonalize_CI
! call save_wavefunction
call diagonalize_CI
call save_wavefunction
call ezfio_has_hartree_fock_energy(has)
if (has) then

View File

@ -124,7 +124,6 @@ subroutine davidson_slave_work(zmq_to_qp_run_socket, zmq_socket_push, N_st, sze,
do
integer, external :: get_task_from_taskserver
integer, external :: task_done_to_taskserver
call sleep(1)
if (get_task_from_taskserver(zmq_to_qp_run_socket,worker_id, task_id, msg) == -1) then
exit
endif
@ -356,14 +355,13 @@ subroutine H_S2_u_0_nstates_zmq(v_0,s_0,u_0,N_st,sze)
! ============
integer :: istep, imin, imax, ishift
double precision :: w, max_workload, N_det_inv, di
double precision :: w, max_workload, N_det_inv
integer, external :: add_task_to_taskserver
w = 0.d0
istep=1
ishift=0
imin=1
N_det_inv = 1.d0/dble(N_det)
di = dble(N_det)
max_workload = 50000.d0
do imax=1,N_det
w = w + 1.d0

View File

@ -224,7 +224,7 @@ integer function zmq_put8_dvector(zmq_to_qp_run_socket, worker_id, name, x, size
rc = f77_zmq_send8(zmq_to_qp_run_socket,x,size_x*8_8,0)
if (rc /= size_x*8_8) then
print *, 'Failed in send ', rc, size_x*8, size_x, N_det
print *, 'Failed in send ', rc, size_x*8, size_x
zmq_put8_dvector = -1
return
endif