111 logical,
intent(inout) :: first
113 integer,
intent(in),
optional :: mpiCOMM
117 logical :: allocate_vars = .true.
122 integer :: MyError, MySize
124 integer :: chunk_size, ng, thread
126 integer :: my_threadnum
129 character (len=*),
parameter :: MyFile = &
130 & __FILE__//
", ROMS_initialize"
138 IF (
PRESENT(mpicomm))
THEN
222#elif defined DISTRIBUTE
239 10
FORMAT (/,
' Process Information:',/)
243 DO thread=thread_range
256#if defined MCT_LIB && (defined ATM_COUPLING || defined WAV_COUPLING)
264 CALL initialize_ocn2atm_coupling (ng,
myrank)
267 CALL initialize_ocn2wav_coupling (ng,
myrank)
276#if defined MODEL_COUPLING && defined ESMF_LIB
291#if defined MODEL_COUPLING && defined ESMF_LIB
305#if defined MODEL_COUPLING && defined ESMF_LIB
316 CASE (
'ANALYS',
'INCREM')
358 real(dp),
intent(in) :: RunInterval
362 integer :: my_outer, ng
364 character (len=*),
parameter :: MyFile = &
365 & __FILE__//
", ROMS_run"
374#if defined ADJUST_BOUNDARY || defined ADJUST_STFLUX || \
375 defined adjust_wstress
379#ifdef ADJUST_BOUNDARY
429 CALL analysis (my_outer, runinterval)
448 10
FORMAT (
' ROMS_run - illegal 4D-Var phase: ''',a,
'''')
468 integer :: Fcount, ng, thread
470 character (len=*),
parameter :: MyFile = &
471 & __FILE__//
", ROMS_finalize"
517 10
FORMAT (/,
' Blowing-up: Saving latest model state into ', &
544 20
FORMAT (/,
'Elapsed wall CPU time for each process (seconds):',/)
548 DO thread=thread_range
subroutine, public close_out
subroutine, public close_inp(ng, model)
subroutine, public def_dai(ng)
subroutine, public prior_error(ng)
subroutine, public increment(my_outer, runinterval)
subroutine, public background_initialize(my_outer)
subroutine, public background(my_outer, runinterval)
subroutine, public posterior_analysis(runinterval)
subroutine, public analysis(my_outer, runinterval)
subroutine, public posterior_analysis_initialize
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
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 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)