9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 03:23:29 +01: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 END_DOC
PROVIDE ezfio_filename PROVIDE ezfio_filename
logical :: exists logical :: exists
psi_det_size = 1
PROVIDE mpi_master
if (read_wf) then
if (mpi_master) then if (mpi_master) then
call ezfio_has_determinants_n_det(exists) call ezfio_has_determinants_n_det(exists)
if (exists) then if (exists) then
@ -98,7 +101,7 @@ BEGIN_PROVIDER [ integer, psi_det_size ]
stop 'Unable to read psi_det_size with MPI' stop 'Unable to read psi_det_size with MPI'
endif endif
IRP_ENDIF IRP_ENDIF
endif
END_PROVIDER END_PROVIDER