ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
4 stars 12 forks source link

Bugs in safe_endrun routine #160

Closed nusbaume closed 3 years ago

nusbaume commented 3 years ago

A recent mistake I made resulted in safe_endrun being called. However, the resulting error ended up being a system failure deep in PIO itself, instead of the specified CAMDEN error. This error was due to a non-associated pointer being passed to PIO.

Once that error was resolved, the resulting CAMDEN endrun message was missing the file name itself, and had some spacing issues.

A PR is coming soon with a (potential) fix for the bad pointer as well cleanup of the endrun message itself.