New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8200 for branches/UKMO/dev_r5518_GO6M_dev/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2017-06-21T14:27:02+02:00 (7 years ago)
Author:
frrh
Message:

Merge branches/UKMO/dev_r5518_GC3_couple_pkg@7985 using command:

svn merge -r 6574:7985 svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/UKMO/dev_r5518_GC3_couple_pkg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6M_dev/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r7563 r8200  
    6868   USE icbini          ! handle bergs, initialisation 
    6969   USE icbstp          ! handle bergs, calving, themodynamics and transport 
     70   USE sbccpl  
    7071   USE cpl_oasis3      ! OASIS3 coupling 
    7172   USE c1d             ! 1D configuration 
     
    169170            CALL stp                         ! AGRIF: time stepping 
    170171#else 
    171             CALL stp( istp )                 ! standard time stepping 
     172            IF (lk_oasis) CALL sbc_cpl_snd( istp )  ! Coupling to atmos 
     173       CALL stp( istp ) 
     174            ! We don't couple on the final timestep because 
     175            ! our restart file has already been written 
     176            ! and contains all the necessary data for a 
     177            ! restart. sbc_cpl_snd could be called here 
     178            ! but it would require 
     179            ! a) A test to ensure it was not performed 
     180            !    on the very last time-step 
     181            ! b) the presence of another call to 
     182            !    sbc_cpl_snd call prior to the main DO loop 
     183            ! This solution produces identical results 
     184            ! with fewer lines of code.  
    172185#endif 
    173186            istp = istp + 1 
     
    283296      IF( Agrif_Root() ) THEN 
    284297         IF( lk_oasis ) THEN 
    285             CALL cpl_init( "oceanx", ilocal_comm )                     ! nemo local communicator given by oasis 
     298            CALL cpl_init( "toyoce", ilocal_comm )                     ! nemo local communicator given by oasis 
    286299            CALL xios_initialize( "not used",local_comm=ilocal_comm )    ! send nemo communicator to xios 
    287300         ELSE 
     
    294307      IF( lk_oasis ) THEN 
    295308         IF( Agrif_Root() ) THEN 
    296             CALL cpl_init( "oceanx", ilocal_comm )                      ! nemo local communicator given by oasis 
     309            CALL cpl_init( "toyoce", ilocal_comm )                      ! nemo local communicator given by oasis 
    297310         ENDIF 
    298311         ! Nodes selection (control print return in cltxt) 
     
    474487      IF( lk_asminc     )   CALL asm_inc_init   ! Initialize assimilation increments 
    475488      IF(lwp) WRITE(numout,*) 'Euler time step switch is ', neuler 
     489       
     490      IF (nstop > 0) THEN 
     491        CALL CTL_STOP('STOP','Critical errors in NEMO initialisation') 
     492      END IF 
     493 
    476494      ! 
    477495   END SUBROUTINE nemo_init 
Note: See TracChangeset for help on using the changeset viewer.