Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ESMF_LOGKIND_MULTI_ON_ERROR for logging ESMF errors #137

Merged
merged 1 commit into from
Sep 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/GCHPctm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "MAPL_Generic.h"

Program GCHPctm_Main

use ESMF, only: ESMF_LOGKIND_MULTI_ON_ERROR
use MAPL
use GCHP_GridCompMod, only: ROOT_SetServices => SetServices

Expand All @@ -26,6 +26,7 @@ Program GCHPctm_Main

cap_options = MAPL_CapOptions(cap_rc_file='CAP.rc')
cap_options%logging_config = 'logging.yml'
cap_options%esmf_logging_mode = ESMF_LOGKIND_MULTI_ON_ERROR
cap = MAPL_CAP('GCHP', ROOT_SetServices, cap_options=cap_options)
call cap%run(_RC)
_VERIFY(status)
Expand Down