@@ -239,11 +239,6 @@ subroutine pressure_bv(tracers, partit, mesh)
239239 call par_ex(partit% MPI_COMM_FESOM, partit% mype, 1 )
240240 end if
241241
242- ! $ACC DATA COPY(mld1, mld2, mld3, mld1_ind, mld2_ind, mld3_ind) &
243- ! $ACC COPY(density_ref, density_dmoc, density_m_rho0, dbsfc) &
244- ! $ACC COPY(myDim_nod2D, eDim_nod2D, nlevels_nod2D, ulevels_nod2D, hnode) &
245- ! $ACC COPY(temp, salt, zbar_3d_n, z_3d_n, hpressure, bvfreq)
246-
247242 ! ___________________________________________________________________________
248243 ! Screen salinity
249244 a = 0.0_WP
@@ -531,8 +526,6 @@ subroutine pressure_bv(tracers, partit, mesh)
531526
532527 ! $ACC END PARALLEL LOOP
533528
534- ! $ACC END DATA
535-
536529! $OMP END DO
537530! $OMP END PARALLEL
538531call smooth_nod (bvfreq, 1 , partit, mesh)
@@ -2426,9 +2419,6 @@ subroutine pressure_force_4_zxxxx_easypgf(tracers, partit, mesh)
24262419 end if
24272420 error = .false.
24282421
2429- ! $ACC DATA COPY(myDim_elem2D, elem2D_nodes, ulevels_nod2D, nlevels_nod2D, ulevels, nlevels) &
2430- ! $ACC COPY(salt, temp, pgf_x, pgf_y, z_3d_n, zbar_e_bot, helem, gradient_sca)
2431-
24322422 ! ___________________________________________________________________________
24332423 ! loop over triangular elemments
24342424! $OMP PARALLEL DEFAULT(SHARED) PRIVATE(elem, elnodes, nle, ule, nlz, nln, ni, nlc, nlce, idx, int_dp_dx, drho_dx, drho_dy, dz_dx, dz_dy, aux_sum, dx10, dx20, dx21, &
@@ -2636,9 +2626,6 @@ subroutine pressure_force_4_zxxxx_easypgf(tracers, partit, mesh)
26362626 write (* ,* ) ' This is not wanted, model stops here'
26372627 call par_ex(partit% MPI_COMM_FESOM, partit% mype, 0 )
26382628 end if
2639-
2640- ! $ACC END DATA
2641-
26422629end subroutine pressure_force_4_zxxxx_easypgf
26432630!
26442631!
@@ -2879,9 +2866,6 @@ subroutine sw_alpha_beta(TF1,SF1, partit, mesh)
28792866! $OMP PARALLEL DEFAULT(SHARED) PRIVATE(n, nz, nzmin, nzmax, t1, t1_2, t1_3, t1_4, p1, p1_2, p1_3, s1, s35, s35_2, a_over_b)
28802867! $OMP DO
28812868
2882- ! $ACC DATA COPY(myDim_nod2D, ulevels_nod2D, nlevels_nod2D) &
2883- ! $ACC COPY(tf1, sf1, sw_alpha, sw_beta, z_3d_n)
2884-
28852869 ! $ACC PARALLEL LOOP GANG DEFAULT(PRESENT)
28862870 do n = 1 ,myDim_nod2d
28872871 nzmin = ulevels_nod2d(n)
@@ -2932,15 +2916,11 @@ subroutine sw_alpha_beta(TF1,SF1, partit, mesh)
29322916
29332917 ! $ACC END PARALLEL LOOP
29342918
2935-
29362919! $OMP END DO
29372920! $OMP END PARALLEL
29382921call exchange_nod(sw_alpha, partit, luse_g2g = .true. )
29392922call exchange_nod(sw_beta, partit, luse_g2g = .true. )
29402923! $OMP BARRIER
2941-
2942- ! $ACC END DATA
2943-
29442924end subroutine sw_alpha_beta
29452925!
29462926!
@@ -2981,10 +2961,6 @@ subroutine compute_sigma_xy(TF1,SF1, partit, mesh)
29812961! $OMP PARALLEL DEFAULT(SHARED) PRIVATE(tx, ty, sx, sy, vol, n, nz, elnodes, el, k, nln, uln, nle, ule)
29822962! $OMP DO
29832963
2984- ! $ACC DATA COPY(myDim_nod2D, ulevels, nlevels, ulevels_nod2D, nlevels_nod2D) &
2985- ! $ACC COPY(elem_area, elem2D_nodes, nod_in_elem2D, nod_in_elem2D_num) &
2986- ! $ACC COPY(tf1, sf1, sw_alpha, sw_beta, sigma_xy, gradient_sca)
2987-
29882964 ! $ACC PARALLEL LOOP GANG DEFAULT(PRESENT) &
29892965 ! $ACC PRIVATE(elnodes, tx, ty, sx, sy, vol)
29902966
@@ -3052,9 +3028,6 @@ subroutine compute_sigma_xy(TF1,SF1, partit, mesh)
30523028! $OMP END PARALLEL
30533029 call exchange_nod(sigma_xy, partit, luse_g2g = .true. )
30543030! $OMP BARRIER
3055-
3056- ! $ACC END DATA
3057-
30583031end subroutine compute_sigma_xy
30593032!
30603033!
@@ -3087,9 +3060,6 @@ subroutine compute_neutral_slope(partit, mesh)
30873060! $OMP PARALLEL DEFAULT(SHARED) PRIVATE(edge, deltaX1, deltaY1, deltaX2, deltaY2, n, nz, nl1, ul1, el, elnodes, enodes, c, ro_z_inv)
30883061! $OMP DO
30893062
3090- ! $ACC DATA COPY(myDim_nod2D, nlevels_nod2d, ulevels_nod2d, bvfreq, sigma_xy) &
3091- ! $ACC COPY(slope_tapered, neutral_slope)
3092-
30933063#if !defined(DISABLE_OPENACC_ATOMICS)
30943064 ! WARNING: the hyperbolic tangent is not supported by math_uniform
30953065 ! $ACC PARALLEL LOOP GANG VECTOR DEFAULT(PRESENT)
@@ -3124,8 +3094,6 @@ subroutine compute_neutral_slope(partit, mesh)
31243094 call exchange_nod(neutral_slope, partit, luse_g2g = .true. )
31253095 call exchange_nod(slope_tapered, partit, luse_g2g = .true. )
31263096! $OMP BARRIER
3127-
3128- ! $ACC END DATA
31293097end subroutine compute_neutral_slope
31303098!
31313099!
0 commit comments