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 11913 for NEMO/branches/UKMO/NEMO_4.0.1_GC_couple_pkg/src/OCE/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2019-11-15T16:16:56+01:00 (4 years ago)
Author:
dancopsey
Message:

Merge in bulk of coupling changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.1_GC_couple_pkg/src/OCE/nemogcm.F90

    r11715 r11913  
    8787   USE lbcnfd  , ONLY : isendto, nsndto, nfsloop, nfeloop   ! Setup of north fold exchanges  
    8888   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 
     89   USE sbccpl  
    8990#if defined key_iomput 
    9091   USE xios           ! xIOserver 
     
    199200            ENDIF 
    200201             
     202            IF (lk_oasis) THEN 
     203               CALL sbc_cpl_snd( istp )  ! Coupling to atmos 
     204            ENDIF 
    201205            CALL stp        ( istp )  
    202206            istp = istp + 1 
     
    209213         ! 
    210214         DO WHILE( istp <= nitend .AND. nstop == 0 ) 
    211             CALL stp_diurnal( istp )   ! time step only the diurnal SST  
     215            CALL stp_diurnal( istp )   ! time step only the diurnal SST 
    212216            istp = istp + 1 
    213217         END DO 
     
    279283      IF( Agrif_Root() ) THEN 
    280284         IF( lk_oasis ) THEN 
    281             CALL cpl_init( "oceanx", ilocal_comm )                               ! nemo local communicator given by oasis 
     285            CALL cpl_init( "toyoce", ilocal_comm )                     ! nemo local communicator given by oasis 
    282286            CALL xios_initialize( "not used"       , local_comm =ilocal_comm )   ! send nemo communicator to xios 
    283287         ELSE 
     
    289293      IF( lk_oasis ) THEN 
    290294         IF( Agrif_Root() ) THEN 
    291             CALL cpl_init( "oceanx", ilocal_comm )          ! nemo local communicator given by oasis 
     295            CALL cpl_init( "toyoce", ilocal_comm )                      ! nemo local communicator given by oasis 
    292296         ENDIF 
    293297         CALL mpp_start( ilocal_comm ) 
     
    493497      ! 
    494498      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
     499       
     500      IF (nstop > 0) THEN 
     501        CALL CTL_STOP('STOP','Critical errors in NEMO initialisation') 
     502      END IF 
     503       
    495504      ! 
    496505      IF( ln_timing    )   CALL timing_stop( 'nemo_init') 
Note: See TracChangeset for help on using the changeset viewer.