mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 03:23:29 +01:00
openmp issue solved
This commit is contained in:
parent
dee440747f
commit
67a2f0eb0c
@ -236,9 +236,13 @@ subroutine provide_int2_grad1_u12_ao()
|
||||
|
||||
! ---
|
||||
|
||||
double precision :: tmp_omp
|
||||
|
||||
call wall_time(time1)
|
||||
|
||||
PROVIDE ao_integrals_map
|
||||
tmp_omp = get_ao_two_e_integral(1, 1, 1, 1, ao_integrals_map)
|
||||
|
||||
!$OMP PARALLEL DEFAULT(NONE) &
|
||||
!$OMP SHARED(ao_num, tc_int_2e_ao, ao_integrals_map) &
|
||||
!$OMP PRIVATE(i, j, k, l)
|
||||
|
@ -136,11 +136,14 @@ subroutine do_work_on_gpu()
|
||||
|
||||
integer :: i, j, l
|
||||
double precision :: t1, t2
|
||||
double precision :: tmp
|
||||
double precision, external :: get_ao_two_e_integral
|
||||
|
||||
call wall_time(t1)
|
||||
|
||||
PROVIDE ao_integrals_map
|
||||
tmp = get_ao_two_e_integral(1, 1, 1, 1, ao_integrals_map)
|
||||
|
||||
!$OMP PARALLEL DEFAULT(NONE) &
|
||||
!$OMP SHARED(ao_num, int_2e_ao, ao_integrals_map) &
|
||||
!$OMP PRIVATE(i, j, k, l)
|
||||
|
Loading…
Reference in New Issue
Block a user