- Timestamp:
- 2020-05-22T13:51:12+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/step.F90
r12957 r12961 127 127 CALL iom_init_closedef(cwxios_context) 128 128 CALL iom_setkt( kstp - nit000 + 1, cwxios_context ) 129 #if defined key_top 130 CALL iom_swap( cwtxios_context ) 131 CALL iom_init_closedef(cwtxios_context) 132 CALL iom_setkt( kstp - nit000 + 1, cwtxios_context ) 133 #endif 129 134 ENDIF 130 135 #if defined key_si3 … … 346 351 IF( kstp == nit000 ) THEN ! 1st time step only 347 352 CALL iom_close( numror ) ! close input ocean restart file 353 IF( lrxios ) CALL iom_context_finalize( crxios_context ) 348 354 IF(lwm) CALL FLUSH ( numond ) ! flush output namelist oce 349 355 IF(lwm .AND. numoni /= -1 ) CALL FLUSH ( numoni ) ! flush output namelist ice (if exist) … … 362 368 IF( kstp == nitend .OR. indic < 0 ) THEN 363 369 CALL iom_context_finalize( cxios_context ) ! needed for XIOS+AGRIF 364 IF( lrxios ) THEN365 CALL iom_context_finalize( crxios_context )366 #if defined key_si3367 CALL iom_context_finalize( crixios_context )368 #endif369 ENDIF370 370 IF( ln_crs ) CALL iom_context_finalize( trim(cxios_context)//"_crs" ) ! 371 371 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.