Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed OMP directives in kick_getacch_int_all_tp loop
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 14, 2021
1 parent 1b708a5 commit f44e695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kick/kick.f90
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ module subroutine kick_getacch_int_all_tp(ntp, npl, xtp, xpl, GMpl, lmask, acc)
integer(I4B) :: i, j

!$omp parallel do default(private) schedule(static)&
!$omp shared(npl, ntp, lmask, xtp, xpl, acc)
!$omp shared(npl, ntp, lmask, xtp, xpl) &
!$omp reduction(-:acc)
do i = 1, ntp
if (lmask(i)) then
do j = 1, npl
Expand Down

0 comments on commit f44e695

Please sign in to comment.