- Timestamp:
- 2020-02-26T10:27:04+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/r12083_coupling_sequence/src/OCE/nemogcm.F90
r11715 r12465 87 87 USE lbcnfd , ONLY : isendto, nsndto, nfsloop, nfeloop ! Setup of north fold exchanges 88 88 USE lib_fortran ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 89 USE sbccpl 89 90 #if defined key_iomput 90 91 USE xios ! xIOserver … … 199 200 ENDIF 200 201 202 IF (lk_oasis) CALL sbc_cpl_snd( istp ) ! Coupling to atmos 201 203 CALL stp ( istp ) 204 ! We don't couple on the final timestep because 205 ! our restart file has already been written 206 ! and contains all the necessary data for a 207 ! restart. sbc_cpl_snd could be called here 208 ! but it would require 209 ! a) A test to ensure it was not performed 210 ! on the very last time-step 211 ! b) the presence of another call to 212 ! sbc_cpl_snd call prior to the main DO loop 213 ! This solution produces identical results 214 ! with fewer lines of code. 202 215 istp = istp + 1 203 216 … … 279 292 IF( Agrif_Root() ) THEN 280 293 IF( lk_oasis ) THEN 281 CALL cpl_init( " oceanx", ilocal_comm ) ! nemo local communicator given by oasis294 CALL cpl_init( "toyoce", ilocal_comm ) ! nemo local communicator given by oasis 282 295 CALL xios_initialize( "not used" , local_comm =ilocal_comm ) ! send nemo communicator to xios 283 296 ELSE … … 289 302 IF( lk_oasis ) THEN 290 303 IF( Agrif_Root() ) THEN 291 CALL cpl_init( " oceanx", ilocal_comm ) ! nemo local communicator given by oasis304 CALL cpl_init( "toyoce", ilocal_comm ) ! nemo local communicator given by oasis 292 305 ENDIF 293 306 CALL mpp_start( ilocal_comm ) … … 493 506 ! 494 507 IF(lwp) WRITE(numout,cform_aaa) ! Flag AAAAAAA 508 ! 509 IF (nstop > 0) THEN 510 CALL CTL_STOP('STOP','Critical errors in NEMO initialisation') 511 END IF 495 512 ! 496 513 IF( ln_timing ) CALL timing_stop( 'nemo_init')
Note: See TracChangeset
for help on using the changeset viewer.