Changeset 1473 for trunk/NEMO/LIM_SRC_2
- Timestamp:
- 2009-06-12T16:07:47+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_2/limrst_2.F90
r1471 r1473 170 170 !!---------------------------------------------------------------------- 171 171 REAL(wp) :: ziter 172 INTEGER :: jlibalt = jprstlib 173 LOGICAL :: llok 172 174 INTEGER :: itest 173 175 !!---------------------------------------------------------------------- … … 179 181 ENDIF 180 182 181 CALL iom_open ( cn_icerst_in, numrir, kiolib = jprstlib ) 183 IF ( jprstlib == jprstdimg ) THEN 184 ! eventually read netcdf file (monobloc) for restarting on different number of processors 185 ! if {cn_icerst_in}.nc exists, then set jlibalt to jpnf90 186 INQUIRE( FILE = TRIM(cn_icerst_in)//'.nc', EXIST = llok ) 187 IF ( llok ) THEN ; jlibalt = jpnf90 ; ELSE ; jlibalt = jprstlib ; ENDIF 188 ENDIF 189 190 CALL iom_open ( cn_icerst_in, numrir, kiolib = jlibalt ) 182 191 183 192 CALL iom_get( numrir, 'kt_ice' , ziter )
Note: See TracChangeset
for help on using the changeset viewer.