You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small part of the ham code which is a loop over 2:klev with one variable then depending on 1:(klev-1). I would expect the compiler to change the code to jk & jk-1 for the 1:(klev-1) array notation but it is just transforming everything to jk, which is wrong.
Original code
!$claw expand
pxtte(1:kproma,2:klev)=pxtte(1:kproma,2:klev) &
+ (psediflux(1:kproma,1:(klev-1))/pmconv(1:kproma,2:klev))
!$claw end expand
Transformation code
DO claw_induction_18 =1 , kproma
DO claw_induction_19 =2 , klev
pxtte ( claw_induction_18 , claw_induction_19 ) = pxtte ( claw_induction_18 , claw_induction_19 ) + psediflux (&
claw_induction_18 , claw_induction_19 ) / pmconv ( claw_induction_18 , claw_induction_19 )
END DOEND DO
I have a small part of the ham code which is a loop over 2:klev with one variable then depending on 1:(klev-1). I would expect the compiler to change the code to jk & jk-1 for the 1:(klev-1) array notation but it is just transforming everything to jk, which is wrong.
Original code
Transformation code
Expected code
Execution of
clawfc
Related issues (if any)
Issue #00
The text was updated successfully, but these errors were encountered: