Skip to content

Commit 1980851

Browse files
Ben found my IO error
1 parent 5ea3506 commit 1980851

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/simulation/m_bubbles_EE.fpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ contains
7676
real(wp) :: nR3bar
7777
integer(wp) :: i, j, k, l
7878

79-
$:GPU_PARALLEL_LOOP(private='[j,k,l]', collapse=3)
79+
$:GPU_PARALLEL_LOOP(private='[i,j,k,l]', collapse=3)
8080
do l = 0, p
8181
do k = 0, n
8282
do j = 0, m
@@ -177,7 +177,7 @@ contains
177177
integer :: dmBub_id !< Dummy variables for unified subgrid bubble subroutines
178178
real(wp) :: dmMass_v, dmMass_n, dmBeta_c, dmBeta_t, dmCson
179179

180-
$:GPU_PARALLEL_LOOP(private='[j,k,l]', collapse=3)
180+
$:GPU_PARALLEL_LOOP(private='[j,k,l,q]', collapse=3)
181181
do l = 0, p
182182
do k = 0, n
183183
do j = 0, m
@@ -196,7 +196,7 @@ contains
196196
$:END_GPU_PARALLEL_LOOP()
197197

198198
adap_dt_stop_max = 0
199-
$:GPU_PARALLEL_LOOP(private='[j,k,l,Rtmp, Vtmp, myalpha_rho, myalpha]', collapse=3, &
199+
$:GPU_PARALLEL_LOOP(private='[j,k,l,q,Rtmp, Vtmp, myalpha_rho, myalpha]', collapse=3, &
200200
& reduction='[[adap_dt_stop_max]]', reductionOp='[MAX]', &
201201
& copy='[adap_dt_stop_max]')
202202
do l = 0, p
@@ -331,7 +331,7 @@ contains
331331
if (adap_dt .and. adap_dt_stop_max > 0) call s_mpi_abort("Adaptive time stepping failed to converge.")
332332

333333
if (.not. adap_dt) then
334-
$:GPU_PARALLEL_LOOP(private='[i,l,q]', collapse=3)
334+
$:GPU_PARALLEL_LOOP(private='[i,k,l,q]', collapse=3)
335335
do l = 0, p
336336
do q = 0, n
337337
do i = 0, m

src/simulation/m_bubbles_EL.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ contains
614614

615615
! Radial motion model
616616
adap_dt_stop_max = 0
617-
$:GPU_PARALLEL_LOOP(private='[k,myalpha_rho,myalpha,Re,cell]', &
617+
$:GPU_PARALLEL_LOOP(private='[k,i,myalpha_rho,myalpha,Re,cell]', &
618618
& reduction='[[adap_dt_stop_max]]',reductionOp='[MAX]', &
619619
& copy='[adap_dt_stop_max]',copyin='[stage]')
620620
do k = 1, nBubs
@@ -1511,7 +1511,7 @@ contains
15111511
lag_void_max = 0._wp
15121512
lag_void_avg = 0._wp
15131513
lag_vol = 0._wp
1514-
$:GPU_PARALLEL_LOOP(private='[i,j,k]', collapse=3, reduction='[[lag_vol, lag_void_avg], [lag_void_max]]', reductionOp='[+, MAX]', copy='[lag_vol, lag_void_avg, lag_void_max]')
1514+
$:GPU_PARALLEL_LOOP(collapse=3, reduction='[[lag_vol, lag_void_avg], [lag_void_max]]', reductionOp='[+, MAX]', copy='[lag_vol, lag_void_avg, lag_void_max]')
15151515
do k = 0, p
15161516
do j = 0, n
15171517
do i = 0, m

src/simulation/m_bubbles_EL_kernels.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ contains
121121
smearGridz = smearGrid
122122
if (p == 0) smearGridz = 1
123123

124-
$:GPU_PARALLEL_LOOP(private='[nodecoord,l,s_coord,cell,center]', copyin='[smearGrid,smearGridz]')
124+
$:GPU_PARALLEL_LOOP(private='[nodecoord,i,j,k,l,s_coord,cell,center]', copyin='[smearGrid,smearGridz]')
125125
do l = 1, nBubs
126126
nodecoord(1:3) = 0
127127
center(1:3) = 0._wp

0 commit comments

Comments
 (0)