Skip to content
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
6 changes: 4 additions & 2 deletions mediator/med_phases_restart_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,10 @@ subroutine med_phases_restart_write(gcomp, rc)
call med_io_close(io_file, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
#ifndef CESMCOUPLED
call log_restart_fh(nextTime, startTime, 'cmeps', rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
if (maintask) then
call log_restart_fh(nextTime, startTime, 'cmeps', rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
endif
#endif
endif

Expand Down