mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-05 11:00:10 +01:00
Reduced nb of threads
This commit is contained in:
parent
5261a572e7
commit
386b83a2ae
@ -18,7 +18,7 @@ subroutine run
|
|||||||
write(*,'(A)') '============='
|
write(*,'(A)') '============='
|
||||||
write(*,'(A)') ''
|
write(*,'(A)') ''
|
||||||
do istate=1,N_states
|
do istate=1,N_states
|
||||||
call get_occupation_from_dets(occupation,1)
|
call get_occupation_from_dets(occupation,istate)
|
||||||
write(*,'(A)') ''
|
write(*,'(A)') ''
|
||||||
write(*,'(A,I3)'), 'State ', istate
|
write(*,'(A,I3)'), 'State ', istate
|
||||||
write(*,'(A)') '---------------'
|
write(*,'(A)') '---------------'
|
||||||
|
@ -504,10 +504,10 @@ subroutine new_parallel_job(zmq_to_qp_run_socket,name_in)
|
|||||||
if (zmq_context == 0_ZMQ_PTR) then
|
if (zmq_context == 0_ZMQ_PTR) then
|
||||||
stop 'ZMQ_PTR is null'
|
stop 'ZMQ_PTR is null'
|
||||||
endif
|
endif
|
||||||
rc = f77_zmq_ctx_set(zmq_context, ZMQ_IO_THREADS, nproc)
|
! rc = f77_zmq_ctx_set(zmq_context, ZMQ_IO_THREADS, nproc)
|
||||||
if (rc /= 0) then
|
! if (rc /= 0) then
|
||||||
print *, 'Unable to set the number of ZMQ IO threads to', nproc
|
! print *, 'Unable to set the number of ZMQ IO threads to', nproc
|
||||||
endif
|
! endif
|
||||||
|
|
||||||
zmq_to_qp_run_socket = new_zmq_to_qp_run_socket()
|
zmq_to_qp_run_socket = new_zmq_to_qp_run_socket()
|
||||||
name = name_in
|
name = name_in
|
||||||
|
Loading…
Reference in New Issue
Block a user