- Timestamp:
- 2018-05-29T16:37:04+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_merge_2017_GC_couple_pkg/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r9677 r9679 86 86 USE lbcnfd , ONLY : isendto, nsndto, nfsloop, nfeloop ! Setup of north fold exchanges 87 87 USE lib_fortran ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 88 USE sbccpl 88 89 #if defined key_iomput 89 90 USE xios ! xIOserver … … 185 186 ! 186 187 DO WHILE( istp <= nitend .AND. nstop == 0 ) 187 CALL stp_diurnal( istp ) ! time step only the diurnal SST 188 IF ( .NOT. ln_diurnal_only ) THEN 189 IF (lk_oasis) CALL sbc_cpl_snd( istp ) ! Coupling to atmos 190 CALL stp( istp ) ! standard time stepping 191 ! We don't couple on the final timestep because 192 ! our restart file has already been written 193 ! and contains all the necessary data for a 194 ! restart. sbc_cpl_snd could be called here 195 ! but it would require 196 ! a) A test to ensure it was not performed 197 ! on the very last time-step 198 ! b) the presence of another call to 199 ! sbc_cpl_snd call prior to the main DO loop 200 ! This solution produces identical results 201 ! with fewer lines of code. 202 ELSE 203 CALL stp_diurnal( istp ) ! time step only the diurnal SST 204 ENDIF 188 205 istp = istp + 1 189 206 END DO … … 284 301 IF( Agrif_Root() ) THEN 285 302 IF( lk_oasis ) THEN 286 CALL cpl_init( " oceanx", ilocal_comm )! nemo local communicator given by oasis303 CALL cpl_init( "toyoce", ilocal_comm ) ! nemo local communicator given by oasis 287 304 CALL xios_initialize( "not used" ,local_comm= ilocal_comm ) ! send nemo communicator to xios 288 305 ELSE … … 295 312 IF( lk_oasis ) THEN 296 313 IF( Agrif_Root() ) THEN 297 CALL cpl_init( " oceanx", ilocal_comm )! nemo local communicator given by oasis314 CALL cpl_init( "toyoce", ilocal_comm ) ! nemo local communicator given by oasis 298 315 ENDIF 299 316 ! Nodes selection (control print return in cltxt) … … 445 462 ! 446 463 IF(lwp) WRITE(numout,cform_aaa) ! Flag AAAAAAA 464 465 IF (nstop > 0) THEN 466 CALL CTL_STOP('STOP','Critical errors in NEMO initialisation') 467 END IF 468 447 469 ! 448 470 IF( ln_timing ) CALL timing_stop( 'nemo_init')
Note: See TracChangeset
for help on using the changeset viewer.