Skip to content

Commit

Permalink
Merge pull request #173 from NCAR/fix_omp_set_diff
Browse files Browse the repository at this point in the history
Remove an omp parallel do directive due to thread-unsafe cpu_clock
  • Loading branch information
gustavo-marques committed Jan 9, 2021
2 parents 1c8a810 + 0262e93 commit cc2b999
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/parameterizations/vertical/MOM_set_diffusivity.F90
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,6 @@ subroutine set_diffusivity(u, v, h, u_h, v_h, tv, fluxes, optics, visc, dt, &
! set surface diffusivities (CS%bkgnd_mixing_csp%Kd_sfc)
call sfc_bkgnd_mixing(G, US, CS%bkgnd_mixing_csp)

!$OMP parallel do default(shared) private(dRho_int, N2_lay, N2_int, N2_bot, KT_extra, &
!$OMP KS_extra, TKE_to_Kd, maxTKE, dissip, kb)
do j=js,je

! Set up variables related to the stratification.
Expand Down

0 comments on commit cc2b999

Please sign in to comment.