Skip to content

Commit

Permalink
Corrected yet another OMP directive
Browse files Browse the repository at this point in the history
  Added GV to the shared declaration in another openMP directive.  All answers
are bitwise identical.
  • Loading branch information
Hallberg-NOAA committed Jan 5, 2021
1 parent 0697604 commit 2fd4596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameterizations/vertical/MOM_CVMix_KPP.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ subroutine KPP_NonLocalTransport_saln(CS, G, GV, h, nonLocalTrans, surfFlux, dt,

! Update tracer due to non-local redistribution of surface flux
if (CS%applyNonLocalTrans) then
!$OMP parallel do default(none) shared(G, dt, scalar, dtracer)
!$OMP parallel do default(none) shared(G, GV, dt, scalar, dtracer)
do k = 1, GV%ke
do j = G%jsc, G%jec
do i = G%isc, G%iec
Expand Down

0 comments on commit 2fd4596

Please sign in to comment.