From caa21b76787f19c008f5f54198b21f8894771dc2 Mon Sep 17 00:00:00 2001 From: Lars Ackermann Date: Fri, 8 Sep 2023 23:41:06 +0200 Subject: [PATCH] second try --- src/oce_ale_tracer.F90 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/oce_ale_tracer.F90 b/src/oce_ale_tracer.F90 index 914df3d88..f53f8fcaf 100644 --- a/src/oce_ale_tracer.F90 +++ b/src/oce_ale_tracer.F90 @@ -276,7 +276,9 @@ subroutine solve_tracers_ale(ice, dynamics, tracers, partit, mesh) tracers%data(2)%values(nzmin:nzmax,node) = 3._WP end where end do +!$OMP END PARALLEL DO +!$OMP PARALLEL DO DEFAULT(SHARED) PRIVATE(node, nzmin, nzmax) !---age-code-begin if (use_age_tracer) then do node=1,myDim_nod2D+eDim_nod2D @@ -288,8 +290,8 @@ subroutine solve_tracers_ale(ice, dynamics, tracers, partit, mesh) end do end if !---age-code-end - !$OMP END PARALLEL DO + end subroutine solve_tracers_ale ! !