9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 11:33:29 +01:00

Merge pull request #204 from Ydrnan/qp2_dev

duplication of N_det in OMP section
This commit is contained in:
Anthony Scemama 2022-05-13 18:17:47 +02:00 committed by GitHub
commit 5c26322e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ subroutine remove_small_contributions
enddo enddo
!$OMP PARALLEL DEFAULT(NONE) & !$OMP PARALLEL DEFAULT(NONE) &
!$OMP PRIVATE(i,j,i_H_psi_array) & !$OMP PRIVATE(i,j,i_H_psi_array) &
!$OMP SHARED(k,psi_det_sorted,psi_coef_sorted,N_int,N_det,N_det,N_states, & !$OMP SHARED(k,psi_det_sorted,psi_coef_sorted,N_int,N_det,N_states, &
!$OMP selection_criterion_min,keep,N_det_generators) & !$OMP selection_criterion_min,keep,N_det_generators) &
!$OMP REDUCTION(+:N_removed) !$OMP REDUCTION(+:N_removed)
!$OMP DO !$OMP DO