9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-07-11 05:33:34 +02:00

Fix psi_det_size

This commit is contained in:
Yann Damour 2022-04-05 16:12:47 +02:00
parent 1dac2bd9b2
commit e3e4036921

View File

@ -77,6 +77,9 @@ BEGIN_PROVIDER [ integer, psi_det_size ]
END_DOC
PROVIDE ezfio_filename
logical :: exists
psi_det_size = 1
PROVIDE mpi_master
if (read_wf) then
if (mpi_master) then
call ezfio_has_determinants_n_det(exists)
if (exists) then
@ -98,7 +101,7 @@ BEGIN_PROVIDER [ integer, psi_det_size ]
stop 'Unable to read psi_det_size with MPI'
endif
IRP_ENDIF
endif
END_PROVIDER