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 11923 for NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/SAS – NEMO

Ignore:
Timestamp:
2019-11-18T09:38:39+01:00 (5 years ago)
Author:
andmirek
Message:

Ticket #2323 all other SETTE/tests configurations

Location:
NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/SAS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/SAS/nemogcm.F90

    r11536 r11923  
    194194      ELSE                  ;   cxios_context = 'nemo' 
    195195      ENDIF 
     196      cwxios_context = 'nemo_rstw' 
    196197      ! 
    197198      !                             !-------------------------------------------------! 
  • NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/SAS/step.F90

    r11837 r11923  
    8888                             indic = 0                    ! although indic is not changed in stp_ctl 
    8989                                                          ! need to keep the same interface  
    90       IF( kstp == nit000 )   CALL iom_init( cxios_context ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
     90      IF( kstp == nit000 ) THEN 
     91        CALL iom_init( cxios_context ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
     92        IF( lwxios      )   CALL iom_init( cwxios_context              )  ! restart write context 
     93      ENDIF 
    9194      IF( kstp /= nit000 )   CALL day( kstp )             ! Calendar (day was already called at nit000 in day_init) 
    9295                             CALL iom_setkt( kstp - nit000 + 1, cxios_context )   ! tell iom we are at time step kstp 
     
    134137         IF(.NOT.lwxios) THEN 
    135138            CALL iom_close( numrow )      
    136          ELSE 
    137             CALL iom_context_finalize( cwxios_context ) 
    138139         ENDIF 
    139140         lrst_oce = .FALSE. 
     
    146147                             CALL iom_context_finalize( crxios_context) 
    147148                  ENDIF 
     149 
     150                  IF(lwxios) CALL iom_context_finalize(      cwxios_context          ) 
     151 
    148152                             CALL iom_context_finalize( cxios_context ) ! needed for XIOS+AGRIF 
    149153      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.