117 logical,
intent(inout) :: first
119 integer,
intent(in),
optional :: mpiCOMM
123 logical :: allocate_vars = .true.
126 integer :: MyError, MySize
128 integer :: chunk_size, ng, thread
129#if defined MODEL_COUPLING && defined ESMF_LIB
133 integer :: my_threadnum
136 character (len=*),
parameter :: MyFile = &
137 & __FILE__//
", ROMS_initialize"
145 IF (
PRESENT(mpicomm))
THEN
227#elif defined DISTRIBUTE
244 10
FORMAT (/,
' Process Information:',/)
248 DO thread=thread_range
261#if defined MCT_LIB && (defined ATM_COUPLING || defined WAV_COUPLING)
269 CALL initialize_ocn2atm_coupling (ng,
myrank)
272 CALL initialize_ocn2wav_coupling (ng,
myrank)
277#if defined MODEL_COUPLING && defined ESMF_LIB
302 20
FORMAT (
' ROMS_initialize - illegal 4D-Var phase: ''', &
354 real(dp),
intent(in) :: RunInterval
358 integer :: my_outer, ng
360 character (len=*),
parameter :: MyFile = &
361 & __FILE__//
", ROMS_run"
372#if defined ADJUST_STFLUX || defined ADJUST_WSTRESS
376#ifdef ADJUST_BOUNDARY
426 CALL analysis (my_outer, runinterval)
429#if defined POSTERIOR_ERROR_I || \
430 defined posterior_error_f || \
431 defined posterior_eofs
448 10
FORMAT (
' ROMS_run - illegal 4D-Var phase: ''',a,
'''')
457 IF ((my_outer.eq.
nouter).and. &
458#if defined POSTERIOR_ERROR_I || \
459 defined posterior_error_f || \
460 defined posterior_eofs
482 integer :: Fcount, ng, thread
484 character (len=*),
parameter :: MyFile = &
485 & __FILE__//
", ROMS_finalize"
531 10
FORMAT (/,
' Blowing-up: Saving latest model state into ', &
558 20
FORMAT (/,
'Elapsed wall CPU time for each process (seconds):',/)
562 DO thread=thread_range
subroutine, public close_out
subroutine, public close_inp(ng, model)
subroutine, public def_dai(ng)
subroutine, public inp_par(model)
subroutine, public roms_initialize_arrays
subroutine, public roms_allocate_arrays(allocate_vars)
character(len=256) aparnam
type(t_io), dimension(:), allocatable rst
character(len=256) sourcefile
subroutine, public initialize_parallel
integer, dimension(:), allocatable first_tile
integer, dimension(:), allocatable last_tile
integer, dimension(:), allocatable ntilex
integer, dimension(:), allocatable ntilee
logical, dimension(:), allocatable lreadstd
logical, dimension(:), allocatable setgridconfig
character(len=20) phase4dvar
logical, dimension(:), allocatable lwrtrst
logical, dimension(:), allocatable ldefdai
logical, dimension(:), allocatable lcyclerst
integer, dimension(:), allocatable lold
integer, dimension(:), allocatable lbout
integer, dimension(:), allocatable lfinp
integer, dimension(:), allocatable lbinp
integer, dimension(:), allocatable lnew
integer, dimension(:), allocatable lfout
subroutine, public increment(my_outer, runinterval)
subroutine, public background(my_outer, runinterval)
subroutine, public posterior_error(runinterval)
subroutine, public background_initialize(my_outer)
subroutine, public prior_error(ng)
subroutine, public analysis(my_outer, runinterval)
subroutine, public analysis_initialize(my_outer)
subroutine, public roms_finalize
subroutine, public roms_run(runinterval)
subroutine, public roms_initialize(first, mpicomm)
subroutine, public stats_modobs(ng, tile)
integer function, public stdout_unit(mymaster)
logical, save set_stdoutunit
character(len(sinp)) function, public uppercase(sinp)
logical function, public founderror(flag, noerr, line, routine)
subroutine, public wrt_dai(ng, tile)
subroutine, public wrt_rst(ng, tile)
recursive subroutine wclock_off(ng, model, region, line, routine)
recursive subroutine wclock_on(ng, model, region, line, routine)