- Timestamp:
- 2017-07-05T10:28:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r7563 r8280 68 68 USE icbini ! handle bergs, initialisation 69 69 USE icbstp ! handle bergs, calving, themodynamics and transport 70 USE sbccpl 70 71 USE cpl_oasis3 ! OASIS3 coupling 71 72 USE c1d ! 1D configuration … … 74 75 #if defined key_top 75 76 USE trcini ! passive tracer initialisation 77 USE trc, ONLY: numstr ! tracer stats unit number 76 78 #endif 77 79 USE lib_mpp ! distributed memory computing … … 169 171 CALL stp ! AGRIF: time stepping 170 172 #else 171 CALL stp( istp ) ! standard time stepping 173 IF (lk_oasis) CALL sbc_cpl_snd( istp ) ! Coupling to atmos 174 CALL stp( istp ) 175 ! We don't couple on the final timestep because 176 ! our restart file has already been written 177 ! and contains all the necessary data for a 178 ! restart. sbc_cpl_snd could be called here 179 ! but it would require 180 ! a) A test to ensure it was not performed 181 ! on the very last time-step 182 ! b) the presence of another call to 183 ! sbc_cpl_snd call prior to the main DO loop 184 ! This solution produces identical results 185 ! with fewer lines of code. 172 186 #endif 173 187 istp = istp + 1 … … 283 297 IF( Agrif_Root() ) THEN 284 298 IF( lk_oasis ) THEN 285 CALL cpl_init( " oceanx", ilocal_comm ) ! nemo local communicator given by oasis299 CALL cpl_init( "toyoce", ilocal_comm ) ! nemo local communicator given by oasis 286 300 CALL xios_initialize( "not used",local_comm=ilocal_comm ) ! send nemo communicator to xios 287 301 ELSE … … 294 308 IF( lk_oasis ) THEN 295 309 IF( Agrif_Root() ) THEN 296 CALL cpl_init( " oceanx", ilocal_comm ) ! nemo local communicator given by oasis310 CALL cpl_init( "toyoce", ilocal_comm ) ! nemo local communicator given by oasis 297 311 ENDIF 298 312 ! Nodes selection (control print return in cltxt) … … 474 488 IF( lk_asminc ) CALL asm_inc_init ! Initialize assimilation increments 475 489 IF(lwp) WRITE(numout,*) 'Euler time step switch is ', neuler 490 491 IF (nstop > 0) THEN 492 CALL CTL_STOP('STOP','Critical errors in NEMO initialisation') 493 END IF 494 476 495 ! 477 496 END SUBROUTINE nemo_init … … 609 628 IF( numdct_heat /= -1 ) CLOSE( numdct_heat ) ! heat transports 610 629 IF( numdct_salt /= -1 ) CLOSE( numdct_salt ) ! salt transports 611 630 #if defined key_top 631 IF( numstr /= -1 ) CLOSE( numstr ) ! tracer statistics 632 #endif 612 633 ! 613 634 numout = 6 ! redefine numout in case it is used after this point...
Note: See TracChangeset
for help on using the changeset viewer.