Skip to content

Commit

Permalink
Changed do concurrent to regular do because of a complex data structu…
Browse files Browse the repository at this point in the history
…re that is incompatible with optimized ifx
  • Loading branch information
daminton committed Feb 11, 2024
1 parent dfbe54f commit db513e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/init/init_regolith_stack.f90
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ subroutine init_regolith_stack(user,surf,domain)
!=======================================
! Initialize the grid space
!=======================================

do concurrent(xp=1:user%gridsize,yp=1:user%gridsize)
call util_init_array(user,surf(xp,yp)%regolayer,domain,initstat)
do yp=1,user%gridsize
do xp=1,user%gridsize
call util_init_array(user,surf(xp,yp)%regolayer,domain,initstat)
end do
end do

return
Expand Down

0 comments on commit db513e0

Please sign in to comment.