Skip to content

Commit

Permalink
print out moab counter only with MOABDEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
iulian787 committed Oct 4, 2024
1 parent bf6b548 commit cc1ff16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver-moab/main/cime_comp_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2896,10 +2896,12 @@ subroutine cime_run()
num_moab_exports = num_moab_exports + 1! this is moab clock used for debugging
call seq_timemgr_clockAdvance( seq_SyncClock, force_stop, force_stop_ymd, force_stop_tod)
call seq_timemgr_EClockGetData(EClock_d, stepno=cur_step_no)
#ifdef MOABDEBUG
if (iamroot_CPLID) then
write(logunit,*) ' num_moab_exports , cur_step_no ',num_moab_exports, cur_step_no
call shr_sys_flush(logunit)
endif
#endif
call seq_timemgr_EClockGetData( EClock_d, curr_ymd=ymd, curr_tod=tod)
call shr_cal_date2ymd(ymd,year,month,day)
stop_alarm = seq_timemgr_alarmIsOn(EClock_d,seq_timemgr_alarm_stop)
Expand Down

0 comments on commit cc1ff16

Please sign in to comment.