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 8987 for branches/2017/dev_METO_2017/NEMOGCM/NEMO/SAS_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2017-12-12T11:41:19+01:00 (6 years ago)
Author:
timgraham
Message:

Merge in XIOS read/write branch again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_METO_2017/NEMOGCM/NEMO/SAS_SRC/step.F90

    r8924 r8987  
    122122 
    123123#if defined key_iomput 
    124       IF( kstp == nitend .OR. indic < 0 ) THEN  
     124      IF( kstp == nitrst ) THEN 
     125         IF(.NOT.lwxios) THEN 
     126            CALL iom_close( numrow )      
     127         ELSE 
     128            CALL iom_context_finalize( cwxios_context ) 
     129         ENDIF 
     130         lrst_oce = .FALSE. 
     131      ENDIF 
     132      IF( kstp == nitend .OR. indic < 0 ) THEN 
    125133                             CALL iom_context_finalize( cxios_context ) ! needed for XIOS+AGRIF 
    126134      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.