Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testprogs results different with --noexpand #25

Closed
SebastienRietteMTO opened this issue May 9, 2023 · 3 comments
Closed

Testprogs results different with --noexpand #25

SebastienRietteMTO opened this issue May 9, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@SebastienRietteMTO
Copy link
Collaborator

Running the testprogs, the results for turb are different depending on the --noexpand option

@SebastienRietteMTO SebastienRietteMTO added the bug Something isn't working label May 9, 2023
@SebastienRietteMTO SebastienRietteMTO self-assigned this May 9, 2023
@SebastienRietteMTO
Copy link
Collaborator Author

Differences are due to this transformation:

array syntax:
ZEXN(IIJB:IIJE,1:IKT) = (PPABST(IIJB:IIJE,1:IKT)/CST%XP00) ** (CST%XRD/CST%XCPD)

loops:
DO JK=1,IKT
DO JIJ=IIJB,IIJE
ZEXN(JIJ,JK) = (PPABST(JIJ,JK)/CST%XP00) ** (CST%XRD/CST%XCPD)
ENDDO
ENDDO

@SebastienRietteMTO
Copy link
Collaborator Author

And the differences disappear using O2 optimisation instead of O3

@SebastienRietteMTO SebastienRietteMTO closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
@SebastienRietteMTO
Copy link
Collaborator Author

Optimisation level changed in 8006b89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant