84 logical,
intent(inout) :: first
86 integer,
intent(in),
optional :: mpiCOMM
90 logical :: allocate_vars = .true.
93 integer :: MyError, MySize
95 integer :: chunk_size, ng, thread
97 integer :: my_threadnum
100 real (r8) :: str_day, end_day
102 character (len=*),
parameter :: MyFile = &
103 & __FILE__//
", ROMS_initialize"
111 IF (
PRESENT(mpicomm))
THEN
161#elif defined DISTRIBUTE
181 DO thread=thread_range
194#if defined MCT_LIB && (defined ATM_COUPLING || defined WAV_COUPLING)
202 CALL initialize_ocn2atm_coupling (ng,
myrank)
205 CALL initialize_ocn2wav_coupling (ng,
myrank)
264 IF ((
dstrs(ng).eq.0.0_r8).and.(
dends(ng).eq.0.0_r8))
THEN
271 IF ((
dstrs(ng).gt.str_day).or.(
dstrs(ng).lt.end_day))
THEN
277 IF ((
dends(ng).gt.str_day).or.(
dends(ng).lt.end_day))
THEN
285 10
FORMAT (
' Process Information:',/)
286 20
FORMAT (14x,
'adjoint forcing time range: ',f12.4,
' - ',f12.4 ,/)
287 30
FORMAT (/,
' Out of range adjoint forcing time, ',a,f12.4,/, &
288 &
' It must be between ',f12.4,
' and ',f12.4)
306 real(dp),
intent(in) :: RunInterval
312 character (len=*),
parameter :: MyFile = &
313 & __FILE__//
", ROMS_run"
333 10
FORMAT (/,1x,a,1x,
'ROMS: started time-stepping:', &
334 &
' (Grid: ',i2.2,
' TimeSteps: ',i8.8,
' - ',i8.8,
')',/)
349 integer :: Fcount, ng, thread
351 character (len=*),
parameter :: MyFile = &
352 & __FILE__//
", ROMS_finalize"
364 10
FORMAT (/,
' Blowing-up: Saving latest model state into ', &
391 20
FORMAT (/,
'Elapsed wall CPU time for each process (seconds):',/)
395 DO thread=thread_range
subroutine ad_initial(ng)
subroutine ad_main3d(runinterval)
subroutine edit_multifile(task)
subroutine, public close_out
subroutine, public close_inp(ng, model)
subroutine, public inp_par(model)
subroutine, public roms_initialize_arrays
subroutine, public roms_allocate_arrays(allocate_vars)
type(t_io), dimension(:), allocatable rst
subroutine, public initialize_parallel
integer, dimension(:), allocatable first_tile
integer, dimension(:), allocatable last_tile
integer, dimension(:), allocatable ntilex
integer, dimension(:), allocatable ntilee
integer, dimension(:), allocatable ntimes
real(dp), dimension(:), allocatable dt
logical, dimension(:), allocatable lreadfrc
real(r8), dimension(:), allocatable dends
logical, dimension(:), allocatable ldefadj
logical, dimension(:), allocatable lcycleadj
logical, dimension(:), allocatable lwrtadj
real(dp), parameter sec2day
integer, dimension(:), allocatable ntend
real(r8), dimension(:), allocatable dstrs
logical, dimension(:), allocatable lwrtrst
real(dp), dimension(:), allocatable time
integer, dimension(:), allocatable ntstart
logical, dimension(:), allocatable lreadfwd
logical, dimension(:), allocatable lcyclerst
logical, dimension(:), allocatable lreadblk
subroutine, public roms_finalize
subroutine, public roms_run(runinterval)
subroutine, public roms_initialize(first, mpicomm)
integer function, public stdout_unit(mymaster)
logical, save set_stdoutunit
logical function, public founderror(flag, noerr, line, routine)
subroutine, public wrt_rst(ng, tile)
recursive subroutine wclock_off(ng, model, region, line, routine)
recursive subroutine wclock_on(ng, model, region, line, routine)