10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-03 20:53:54 +01:00

Clean up openmp in cholesky

This commit is contained in:
Anthony Scemama 2024-05-31 20:30:48 +02:00
parent 0dca6cfde4
commit 0a3d462510

View File

@ -255,7 +255,7 @@ END_PROVIDER
allocate(computed(nq))
!print *, 'allocate : computed(nq)', memory_of_int(nq)
!$OMP PARALLEL DEFAULT(SHARED) PRIVATE(m,k,p,q,j)
!$OMP PARALLEL DEFAULT(SHARED) PRIVATE(k,p,q,j)
!$OMP DO
do q=1,nq
@ -351,7 +351,7 @@ END_PROVIDER
! iii.
f = 1.d0/dsqrt(Qmax)
!$OMP PARALLEL PRIVATE(m,p,q,k) DEFAULT(shared)
!$OMP PARALLEL PRIVATE(p,q) DEFAULT(shared)
!$OMP DO
do p=1,np
Ltmp_p(p,iblock) = Ltmp_p(p,iblock) * f