- Timestamp:
- 2019-11-07T12:27:28+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/OCE/IOM/restart.F90
r11837 r11870 108 108 ENDIF 109 109 ! 110 IF(.NOT.lwxios) THEN 110 IF(lwxios) THEN 111 CALL iom_setkt( nitrst, cwxios_context ) 112 ELSE 111 113 CALL iom_open( TRIM(clpath)//TRIM(clname), numrow, ldwrt = .TRUE. ) 112 ELSE113 #if defined key_iomput114 cwxios_context = "rstw_"//TRIM(ADJUSTL(clkt))115 IF( TRIM(Agrif_CFixed()) == '0' ) THEN116 clpname = clname117 ELSE118 clpname = TRIM(Agrif_CFixed())//"_"//clname119 ENDIF120 CALL iom_init( cwxios_context, TRIM(clpath)//TRIM(clpname), .false. )121 CALL xios_update_calendar(nitrst)122 CALL iom_swap( cxios_context )123 #else124 clinfo = 'Can not use XIOS in rst_opn'125 CALL ctl_stop(TRIM(clinfo))126 #endif127 114 ENDIF 128 115 lrst_oce = .TRUE. … … 179 166 IF(.NOT.lwxios) THEN 180 167 CALL iom_close( numrow ) ! close the restart file (only at last time step) 181 ELSE182 CALL iom_context_finalize( cwxios_context )183 168 ENDIF 184 169 !!gm IF( .NOT. lk_trdmld ) lrst_oce = .FALSE.
Note: See TracChangeset
for help on using the changeset viewer.