This procedure interface is modeled after the endrun subroutine from CAM-SIMA. It will be called whenever MPAS dynamical core encounters a fatal error and cannot continue.
endrun