Skip to content

Commit

Permalink
Merge pull request #534 from FESOM/refactoring_EVPdynamics_OMP_bugfix
Browse files Browse the repository at this point in the history
fix OpenMP in EVPdynamics
  • Loading branch information
dsidoren committed Nov 8, 2023
2 parents 231c416 + aec5350 commit c5e2f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ice_maEVP.F90
Original file line number Diff line number Diff line change
Expand Up @@ -764,12 +764,12 @@ subroutine EVPdynamics_m(ice, partit, mesh)
(sigma11(el)*dx(2)+sigma12(el)*(dy(2) + meancos)) !metrics
v_rhs_ice(elnodes(2)) = v_rhs_ice(elnodes(2)) - elem_area(el)* &
(sigma12(el)*dx(2)+sigma22(el)*dy(2) - sigma11(el)*meancos) !metrics
end if
#if defined(_OPENMP) && !defined(__openmp_reproducible)
call omp_unset_lock(partit%plock(elnodes(2)))
#else
!$OMP END ORDERED
#endif
end if

if (elnodes(3) <= myDim_nod2D) then
#if defined(_OPENMP) && !defined(__openmp_reproducible)
Expand Down

0 comments on commit c5e2f09

Please sign in to comment.