Changeset 11923 for NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/SAS
- Timestamp:
- 2019-11-18T09:38:39+01:00 (5 years ago)
- 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 194 194 ELSE ; cxios_context = 'nemo' 195 195 ENDIF 196 cwxios_context = 'nemo_rstw' 196 197 ! 197 198 ! !-------------------------------------------------! -
NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/SAS/step.F90
r11837 r11923 88 88 indic = 0 ! although indic is not changed in stp_ctl 89 89 ! 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 91 94 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) 92 95 CALL iom_setkt( kstp - nit000 + 1, cxios_context ) ! tell iom we are at time step kstp … … 134 137 IF(.NOT.lwxios) THEN 135 138 CALL iom_close( numrow ) 136 ELSE137 CALL iom_context_finalize( cwxios_context )138 139 ENDIF 139 140 lrst_oce = .FALSE. … … 146 147 CALL iom_context_finalize( crxios_context) 147 148 ENDIF 149 150 IF(lwxios) CALL iom_context_finalize( cwxios_context ) 151 148 152 CALL iom_context_finalize( cxios_context ) ! needed for XIOS+AGRIF 149 153 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.