-
Notifications
You must be signed in to change notification settings - Fork 51
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
shr_log_error and return up stack #321
Conversation
I needed to add
to compile CDEPS when paired w/ the shr_log PR in CMEPS. |
Fixed, thank you @DeniseWorthen |
I got some strange failures for the subset of tests I ran. I'll look into it more tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for making these changes, @jedwards4b ! This mostly looks good to me. I have a few notes below about a few places where I think minor changes are needed, but other places look good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now - thank you!!
Description of changes
replace shr_sys_abort with shr_log_error and return up the call tree with an error code.
Specific notes
After discussion we decided to implement the write to both logs, but also return up the call tree rather than abort with a stack. However some routines do not have a return code variable and will need further work to comply.
CDEPS Issues Fixed (include github issue #):
Are there dependencies on other component PRs (if so list):
Are changes expected to change answers (bfb, different to roundoff, more substantial):
Any User Interface Changes (namelist or namelist defaults changes):
Testing performed (e.g. aux_cdeps, CESM prealpha, etc):
Hashes used for testing: