Have CAM-SIMA call the CCPP finalize step if a physics routine returns an error.
- Dominant language
- No language data
- Stars
- 9
- Forks
- 22
- Avg merge
- 8d 5h
- Merged PRs (30d)
- 4
Description
### What is the feature/what would you like to discuss?
Right now in CAM-SIMA if any of the CCPP calls return a non-zero code the model immediately ends the run. However, this could leave the program in an unclean state when it stops.
To try and alleviate this potential problem, it would be beneficial for CAM-SIMA to call the CCPP finalize step (`cam_ccpp_physics_finalize`) before ending the run, which would give physics schemes a chance to perform cleanup (e.g. deallocate variables) before the program aborts.
### Is there anyone in particular you want to be part of this conversation?
@jimmielin @mattldawson @boulderdaze @peverwhee
### Will this change (regression test) answers?
No
### Will you be implementing this enhancement yourself?
Any Software Engineer can do this
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.