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 4145 for trunk/NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90 – NEMO

Ignore:
Timestamp:
2013-11-01T18:47:40+01:00 (11 years ago)
Author:
hadcv
Message:

Ticket #1157 (C1D fixes): redo the fix for #1096 to work for XIOS detached mode and add xios_context_finalize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90

    r3971 r4145  
    147147      IF( lrst_oce           )   CALL rst_write  ( kstp )             ! write output ocean restart file 
    148148      ! 
     149#if defined key_iomput 
     150      IF( kstp == nitend .OR. indic < 0 )   CALL xios_context_finalize()   ! needed for XIOS 
     151      ! 
     152#endif 
    149153   END SUBROUTINE stp_c1d 
    150154 
Note: See TracChangeset for help on using the changeset viewer.