@@ -2484,7 +2484,7 @@ subroutine atm_advance_acoustic_step_work(nCells, nEdges, nCellsSolve, cellStart
2484
2484
!MGD this loop will not be very load balanced with if - test below
2485
2485
2486
2486
!$acc parallel default(present)
2487
- !$acc loop gang
2487
+ !$acc loop gang worker
2488
2488
do iEdge= edgeStart,edgeEnd ! MGD do we really just need edges touching owned cells?
2489
2489
2490
2490
cell1 = cellsOnEdge(1 ,iEdge)
@@ -2513,7 +2513,7 @@ subroutine atm_advance_acoustic_step_work(nCells, nEdges, nCellsSolve, cellStart
2513
2513
else ! this is all that us needed for ru_p update for first acoustic step in RK substep
2514
2514
2515
2515
!$acc parallel default(present)
2516
- !$acc loop gang
2516
+ !$acc loop gang worker
2517
2517
do iEdge= edgeStart,edgeEnd ! MGD do we really just need edges touching owned cells?
2518
2518
2519
2519
cell1 = cellsOnEdge(1 ,iEdge)
@@ -2538,13 +2538,13 @@ subroutine atm_advance_acoustic_step_work(nCells, nEdges, nCellsSolve, cellStart
2538
2538
2539
2539
if (small_step == 1 ) then ! initialize here on first small timestep.
2540
2540
!$acc parallel default(present)
2541
- !$acc loop collapse(2 )
2541
+ !$acc loop gang worker vector collapse(2 )
2542
2542
do iCell= cellStart,cellEnd
2543
2543
do k= 1 ,nVertLevels
2544
2544
rtheta_pp_old(k,iCell) = 0.0
2545
2545
end do
2546
2546
end do
2547
- !$acc loop gang
2547
+ !$acc loop gang worker
2548
2548
do iCell= cellSolveStart,cellSolveEnd
2549
2549
!$acc loop vector
2550
2550
do k= 1 ,nVertLevels
@@ -2571,7 +2571,7 @@ subroutine atm_advance_acoustic_step_work(nCells, nEdges, nCellsSolve, cellStart
2571
2571
!$OMP BARRIER
2572
2572
2573
2573
!$acc parallel default(present)
2574
- !$acc loop gang private(ts,rs)
2574
+ !$acc loop gang worker private(ts,rs)
2575
2575
do iCell= cellSolveStart,cellSolveEnd ! loop over all owned cells to solve
2576
2576
2577
2577
if (specZoneMaskCell(iCell) == 0.0 ) then ! not specified zone, compute...
0 commit comments