Subroutine TERMINATE

subroutine TERMINATE

        ! Calls
    call EXEC_ON_EXIT
    call EXIT_C
    call kerror

end subroutine TERMINATE