Skip to content

Commit

Permalink
updated init_tracer_AB
Browse files Browse the repository at this point in the history
  • Loading branch information
seshadri levante committed Dec 5, 2023
1 parent 335e41c commit a9d0429
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/oce_tracer_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ SUBROUTINE relax_to_clim(tr_num, tracers, partit, mesh)
#ifndef ENABLE_OPENACC
!$OMP PARALLEL DO DEFAULT(SHARED) PRIVATE(n, nzmin, nzmax)
#else
!$ACC update device(relax2clim, Tclim)
!$ACC parallel loop
#endif
DO n=1, myDim_nod2D
Expand All @@ -218,6 +219,7 @@ SUBROUTINE relax_to_clim(tr_num, tracers, partit, mesh)
#ifndef ENABLE_OPENACC
!$OMP PARALLEL DO DEFAULT(SHARED) PRIVATE(n, nzmin, nzmax)
#else
!$ACC update device(Sclim)
!$ACC parallel loop
#endif
DO n=1, myDim_nod2D
Expand All @@ -233,4 +235,4 @@ SUBROUTINE relax_to_clim(tr_num, tracers, partit, mesh)
#endif
END IF
END SUBROUTINE relax_to_clim
END MODULE o_tracers
END MODULE o_tracers

0 comments on commit a9d0429

Please sign in to comment.