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 3701 for branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2012-11-28T10:57:47+01:00 (12 years ago)
Author:
smasson
Message:

dev_MERGE_2012: add missing modifications for xios

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r3680 r3701  
    7979   USE lib_mpp         ! distributed memory computing 
    8080#if defined key_iomput 
    81    USE mod_ioclient 
     81   USE xios 
    8282#endif 
    8383   USE sbctide, ONLY: lk_tide 
     
    199199      CALL cpl_prism_finalize           ! end coupling and mpp communications with OASIS 
    200200#else 
     201# if defined key_iomput 
     202      IF( Agrif_Root() ) THEN 
     203         CALL xios_finalize             ! end mpp communications 
     204      ENDIF 
     205# else 
    201206      IF( lk_mpp )   CALL mppstop       ! end mpp communications 
     207# endif 
    202208#endif 
    203209      ! 
     
    233239      IF( Agrif_Root() ) THEN 
    234240# if defined key_oasis3 || defined key_oasis4 
    235          CALL cpl_prism_init( ilocal_comm )                 ! nemo local communicator given by oasis 
     241         CALL cpl_prism_init( ilocal_comm )      ! nemo local communicator given by oasis 
     242         CALL xios_initialize( "oceanx",local_comm=ilocal_comm ) 
     243# else 
     244         CALL  xios_initialize( "nemo",return_comm=ilocal_comm ) 
    236245# endif 
    237          CALL  init_ioclient( ilocal_comm )                 ! exchange io_server nemo local communicator with the io_server 
    238246      ENDIF 
    239247      narea = mynode( cltxt, numnam, nstop, ilocal_comm )   ! Nodes selection 
Note: See TracChangeset for help on using the changeset viewer.