10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-07-11 22:03:55 +02:00

Merge pull request #195 from Ydrnan/bugfix

Fix psi_det_size
This commit is contained in:
Anthony Scemama 2022-04-05 16:28:34 +02:00 committed by GitHub
commit bd74e84bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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