Skip to content

Commit

Permalink
Merge pull request #137 from geoschem/feature/log-esmf-errors
Browse files Browse the repository at this point in the history
Use ESMF_LOGKIND_MULTI_ON_ERROR for logging ESMF errors
  • Loading branch information
LiamBindle authored Sep 1, 2021
2 parents feac2ae + f101818 commit 2532d95
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 2532d95

Please sign in to comment.