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

Make sure all arrays are initialized before use #371

Open
mnlevy1981 opened this issue Feb 25, 2021 · 0 comments · Fixed by #372
Open

Make sure all arrays are initialized before use #371

mnlevy1981 opened this issue Feb 25, 2021 · 0 comments · Fixed by #372

Comments

@mnlevy1981
Copy link
Collaborator

@mvertens reported an error while testing POP's NUOPC driver that manifest itself as float point errors in compute_scavenge() that she traced back to uninitialized values in dust%hflux_in. This seemed very similar to what @klindsay28 saw back in 2018. Taking my own advice from back then, I ran the call_compute_subroutines with the intel compiler using the -g -O0 -init=snan,arrays compile flags (among others). Sure enough, the tracebacks were pointing to the same line of compute_scavenge() that was causing problems in the NUOPC tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant