10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 21:03:56 +01:00

Type errors

This commit is contained in:
Anthony Scemama 2018-09-25 15:53:23 +02:00
parent fb836d063e
commit 7fc89d857e
4 changed files with 11 additions and 10 deletions

View File

@ -16,8 +16,8 @@ program print_mos
call write_Mo_basis(i_unit_output)
write(i_unit_output,*),''
write(i_unit_output,*),''
write(i_unit_output,*)''
write(i_unit_output,*)''
write(i_unit_output,*)' ------------------------'
close(i_unit_output)

View File

@ -148,7 +148,7 @@ subroutine run_dress_slave(thread,iproce,energy)
end if
end do
call push_dress_results(zmq_socket_push, will_send, sum_f, edI_task, edI_index, &
breve_delta_m, 0, n_tasks)
breve_delta_m, task_buf, n_tasks)
end if
!$OMP END CRITICAL (send)
@ -234,7 +234,8 @@ subroutine run_dress_slave(thread,iproce,energy)
do i=1,N_det_generators
if(dress_P(i) <= will_send) sum_f = sum_f + f(i)
end do
call push_dress_results(zmq_socket_push, -will_send, sum_f, edI_task, edI_index, breve_delta_m, purge_task_id, 1)
task_buf(1) = purge_task_id
call push_dress_results(zmq_socket_push, -will_send, sum_f, edI_task, edI_index, breve_delta_m, task_buf, 1)
end if
!$OMP END SINGLE

View File

@ -76,7 +76,7 @@ BEGIN_PROVIDER [integer, max_degree_exc]
enddo
END_PROVIDER
BEGIN_PROVIDER [ integer*8, psi_det_size ]
BEGIN_PROVIDER [ integer, psi_det_size ]
implicit none
BEGIN_DOC
! Size of the psi_det/psi_coef arrays
@ -88,9 +88,9 @@ BEGIN_PROVIDER [ integer*8, psi_det_size ]
if (exists) then
call ezfio_get_determinants_n_det(psi_det_size)
else
psi_det_size = 1_8
psi_det_size = 1
endif
psi_det_size = max(psi_det_size,100000_8)
psi_det_size = max(psi_det_size,100000)
call write_int(6,psi_det_size,'Dimension of the psi arrays')
endif
IRP_IF MPI_DEBUG
@ -100,7 +100,7 @@ BEGIN_PROVIDER [ integer*8, psi_det_size ]
IRP_IF MPI
include 'mpif.h'
integer :: ierr
call MPI_BCAST( psi_det_size, 1, MPI_INTEGER8, 0, MPI_COMM_WORLD, ierr)
call MPI_BCAST( psi_det_size, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
if (ierr /= MPI_SUCCESS) then
stop 'Unable to read psi_det_size with MPI'
endif

View File

@ -11,8 +11,8 @@ integer function zmq_put_psi(zmq_to_qp_run_socket,worker_id)
integer, external :: zmq_put_N_states
integer, external :: zmq_put_N_det
integer, external :: zmq_put_psi_det_size
integer, external :: zmq_put_psi_det
integer, external :: zmq_put_psi_coef
integer*8, external :: zmq_put_psi_det
integer*8, external :: zmq_put_psi_coef
zmq_put_psi = 0
if (zmq_put_N_states(zmq_to_qp_run_socket, worker_id) == -1) then