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

Runtime error with GNU compiler running SRW App #456

Closed
fossell opened this issue Mar 15, 2022 · 1 comment · Fixed by #463
Closed

Runtime error with GNU compiler running SRW App #456

fossell opened this issue Mar 15, 2022 · 1 comment · Fixed by #463
Assignees
Labels
bug Something isn't working Standalone community release UFS Public Release Issues related to the public releases of UFS

Comments

@fossell
Copy link
Contributor

fossell commented Mar 15, 2022

UPP fails during runtime when built with GNU compilers. First reported by @mark-a-potts when testing on the cloud, error reproduced on Cheyenne by @hertneky.

@hertneky
Copy link
Contributor

The runtime error with GNU was replicated on Cheyenne using the develop branch. This error was not encountered with the last community release v9.01 with the GNU compiler.

Running through DDT on Cheyenne uncovered an issue with an array out-of-bounds for the variable SLLEVEL which is allocated with NSOIL (dependent on LSM). In INITPOST_NETCDF.f SLLEVEL assumes RUC LSM, always trying to fill 9 levels, no matter the LSM. A simple IF statement fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Standalone community release UFS Public Release Issues related to the public releases of UFS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants