Skip to content

Commit

Permalink
Encapsulate init_is_restart_fh in ifndef CESMCOUPED in config_src/dri…
Browse files Browse the repository at this point in the history
…vers/nuopc_cap/mom_cap.F90
  • Loading branch information
NickSzapiro-NOAA authored Jan 30, 2025
1 parent 6fff095 commit b4ab917
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config_src/drivers/nuopc_cap/mom_cap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2056,9 +2056,11 @@ subroutine ModelSetRunClock(gcomp, rc)
call ESMF_LogWrite(subname//" Restarts will be written at finalize only", ESMF_LOGMSG_INFO)
endif
endif
#ifndef CESMCOUPLED
call ESMF_TimeIntervalGet(dtimestep, s=dt_cpl, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
call init_is_restart_fh(mcurrTime, dt_cpl, is_root_pe(), restartfh_info)
#endif
endif

if (restart_mode == 'alarms') then
Expand Down

0 comments on commit b4ab917

Please sign in to comment.