mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 03:23:29 +01:00
Fix bug in zmq_pull
This commit is contained in:
parent
6141ebd5b8
commit
5cb15587a2
@ -208,7 +208,7 @@ subroutine pull_selection_results(zmq_socket_pull, pt2_data, val, det, N, task_i
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
allocate(pt2_serialized (pt2_type_size(N_states)) )
|
allocate(pt2_serialized (pt2_type_size(N_states)) )
|
||||||
rc = f77_zmq_recv( zmq_socket_pull, pt2_serialized, 8*size(pt2_serialized)*ntasks, 0)
|
rc = f77_zmq_recv( zmq_socket_pull, pt2_serialized, 8*size(pt2_serialized), 0)
|
||||||
if (rc == -1) then
|
if (rc == -1) then
|
||||||
ntasks = 1
|
ntasks = 1
|
||||||
task_id(1) = 0
|
task_id(1) = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user