41 USE modi_read_nam_trip_run
42 USE modi_read_nam_trip
43 USE modi_read_nam_trip_grid
46 USE modi_get_trip_grid_conf
49 USE modi_init_trip_par
50 USE modi_trip_run_conf
52 USE modi_trip_diag_run
55 USE modi_trip_oasis_init
56 USE modi_trip_oasis_read_nam
57 USE modi_trip_oasis_define
58 USE modi_trip_oasis_end
60 USE modi_trip_xios_init
72 #if defined CPLOASIS || defined WXIOS 82 INTEGER :: INB_TSTEP_RUN
93 INTEGER :: ILOCAL_COMM
97 REAL(KIND=JPRB) :: ZHOOK_HANDLE
107 IF (ilocal_comm/=0)
THEN 135 #ifdef CPLOASIS || WXIOS 136 IF (ilocal_comm==0)
THEN 137 ilocal_comm = mpi_comm_world
139 CALL mpi_comm_size(ilocal_comm,inproc,ierr)
140 CALL mpi_comm_rank(ilocal_comm,irank,ierr)
143 WRITE(
nlisting,*)
'TRIP_MASTER: PROBLEM WITH MPI, INPROC = ',inproc
144 WRITE(
nlisting,*)
'TRIP_MASTER: PROBLEM WITH MPI, IRANK = ',irank
145 CALL abort_trip(
'TRIP_MASTER: PROBLEM WITH MPI')
149 IF(inproc>1.AND.inproc<
nundef)
THEN 150 WRITE(
nlisting,*)
'TRIP_MASTER: TRIP NOT YET PARALLELIZED, NPROC SHOULD BE 1' 151 CALL abort_trip(
'TRIP_MASTER: TRIP NOT YET PARALLELIZED')
155 WRITE(
nlisting,*)
'!!!!!!!!!!!!!!!!!!!!!!!' 158 WRITE(
nlisting,*)
'Number of processes :', inproc
159 WRITE(
nlisting,*)
'Local process number :', irank
160 WRITE(
nlisting,*)
'Local communicator :', ilocal_comm
161 WRITE(
nlisting,*)
'!!!!!!!!!!!!!!!!!!!!!!!' 164 WRITE(
nlisting,*)
'!!!!!!!!!!!!!!!!!!!!!!!' 165 WRITE(
nlisting,*)
' TRIP run offline ' 166 WRITE(
nlisting,*)
'!!!!!!!!!!!!!!!!!!!!!!!' 191 iyear,imonth,iday,ztime,ilon,ilat,
xtstep_run, &
209 iyear,imonth,iday,ztime)
218 ilon,ilat,inb_tstep_run,zruntime )
225 inb_ol = inb_tstep_run
237 zruntime,ilon_ol,ilat_ol,inb_ol, &
238 iyear,imonth,iday,ztime )
253 nlisting,iyear,imonth,iday,ztime,ilon,ilat)
263 WRITE(*,*)
' ------------------------------' 264 WRITE(*,*)
' | TRIP MASTER ENDS CORRECTLY |' 265 WRITE(*,*)
' ------------------------------' subroutine trip_oasis_end(OOASIS, OXIOS)
integer(kind=jpim) mplusercomm
subroutine trip_alloc_list(KMODEL)
subroutine trip_run(TPDG, TP, TPG, OOASIS, OXIOS, KLISTING, KLON, KLAT, KNB_TSTEP_RUN, PRUNTIME, KLON_OL, KLAT_OL, KNB_OL, KYEAR, KMONTH, KDAY, PTIME)
type(trip_model_t), pointer ytrip_cur
subroutine trip_deallo_list
subroutine trip_oasis_define(KLISTING, KLON, KLAT)
subroutine read_nam_trip_grid(TPG, KLISTING)
subroutine trip_xios_init(TPG, KLOCAL_COMM, KLON, KLAT, KYEAR, KMONTH, KDAY, PTIME)
subroutine trip_oasis_init(OOASIS, OXIOS, KLOCAL_COMM, PRUNTIME, LPREP)
subroutine read_nam_trip(KLISTING)
subroutine trip_oasis_read_nam(KLISTING, PRUNTIME)
subroutine init_trip(TPDG, TP, TPG, KYEAR, KMONTH, KDAY, PTIME, KLON, KLAT, PTSTEP_RUN, PTSTEP_DIAG, ORESTART, OXIOS)
subroutine trip_diag_run(TPDG, TPG, KLISTING, KLON, KLAT, PRUNTIME)
subroutine read_nam_trip_run(KLISTING)
subroutine trip_run_conf(KLISTING, OOASIS, KYEAR, KMONTH, KDAY, PTIME, KLON, KLAT, KNB_TSTEP_RUN, PRUNTIME)
character(len=28) clisting
subroutine abort_trip(YTEXT)
type(trip_model_t), dimension(:), allocatable, target, save ytrip_list
subroutine trip_restart(TP, TPG, KLISTING, KYEAR, KMONTH, KDAY, PTIME, KLON, KLAT)