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: 3 additions & 3 deletions config_src/drivers/nuopc_cap/mom_cap_outputlog.F90
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ subroutine outputlog_run(mclock, atStopTime, rc)
olog(n)%time_lastrestart = lastrestart
if (is_root_pe()) then
call log_restart_fh(currTime-olog(n)%fhoffset, startTime, 'mom6.'//chour, prefixtime=.true., &
lastrestart=olog(n)%time_lastrestart, lastoutput=olog(n)%filename, rc=rc)
lastrestart=olog(n)%time_lastrestart, lastoutput=olog(n)%filename, output_dir=outputdir, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
endif
end if
Expand All @@ -377,7 +377,7 @@ subroutine outputlog_run(mclock, atStopTime, rc)
olog(n)%time_lastrestart = lastrestart
if (is_root_pe()) then
call log_restart_fh(prevring, startTime, 'mom6.lstop.'//chour, prefixtime=.true., &
lastrestart=olog(n)%time_lastrestart, lastoutput=olog(n)%filename, rc=rc)
lastrestart=olog(n)%time_lastrestart, lastoutput=olog(n)%filename, output_dir=outputdir, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
end if
end if
Expand Down Expand Up @@ -464,7 +464,7 @@ subroutine outputlog_restart(mclock, num_rest_files, rc)
if (all(allDone) .eqv. .true.) then
lastrestart = nextTime
if (is_root_pe()) then
call log_restart_fh(nextTime, startTime, 'mom6.res', prefixtime=.true., rc=rc)
call log_restart_fh(nextTime, startTime, 'mom6.res', prefixtime=.true., output_dir=outputdir, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
endif
end if
Expand Down
Loading