Skip to content

Commit b4ab917

Browse files
Encapsulate init_is_restart_fh in ifndef CESMCOUPED in config_src/drivers/nuopc_cap/mom_cap.F90
1 parent 6fff095 commit b4ab917

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config_src/drivers/nuopc_cap/mom_cap.F90

+2
Original file line numberDiff line numberDiff line change
@@ -2056,9 +2056,11 @@ subroutine ModelSetRunClock(gcomp, rc)
20562056
call ESMF_LogWrite(subname//" Restarts will be written at finalize only", ESMF_LOGMSG_INFO)
20572057
endif
20582058
endif
2059+
#ifndef CESMCOUPLED
20592060
call ESMF_TimeIntervalGet(dtimestep, s=dt_cpl, rc=rc)
20602061
if (ChkErr(rc,__LINE__,u_FILE_u)) return
20612062
call init_is_restart_fh(mcurrTime, dt_cpl, is_root_pe(), restartfh_info)
2063+
#endif
20622064
endif
20632065

20642066
if (restart_mode == 'alarms') then

0 commit comments

Comments
 (0)