ESCOMP / ESCOMP/CAM-SIMA

Have CAM-SIMA call the CCPP finalize step if a physics routine returns an error.

Open
#322 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.