Changeset 1395 for trunk/libIGCM
- Timestamp:
- 06/19/17 15:44:03 (7 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_pack_restart
r1356 r1395 27 27 #-Q- ada # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 28 28 #-Q- ada # @ notification = error 29 #-Q- ada # @ environment = $DEBUG_debug ; $BigBrother ; $postProcessingStopLevel ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $POST_DIR ; $Script_Post_Output ; $SUBMIT_DIR ; $ DateBegin ; $DateEnd ; $PeriodPack ; $StandAlone ; $MASTER ; wall_clock_limit=$(wall_clock_limit)29 #-Q- ada # @ environment = $DEBUG_debug ; $BigBrother ; $postProcessingStopLevel ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $POST_DIR ; $Script_Post_Output ; $SUBMIT_DIR ; $PeriodDateBegin ; $DateBegin ; $DateEnd ; $PeriodPack ; $StandAlone ; $MASTER ; wall_clock_limit=$(wall_clock_limit) 30 30 #-Q- ada # @ queue 31 31 #-Q- lxiv8 ###################### … … 205 205 rm -f ${RUN_DIR}/new_liste_restart_files.txt 206 206 rm -f ${RUN_DIR}/liste_pack_*.txt 207 rm -f ${RUN_DIR}/liste_pack_light_*.txt 207 208 208 209 # Create sorted restart list to work with … … 251 252 [ ${date_file} -eq ${date_end_pack} ] || echo $( readlink ${file} ) >> ${RUN_DIR}/liste_remove_pack_${date_begin_pack}_${date_end_pack}.txt 252 253 fi 254 # light pack list of restarts files that will be used 255 if [ X${config_Post_LightRestartPack} = XTRUE ] ; then 256 if [ ${date_file} -le ${date_end_pack} ] && [ ${date_file} -ge ${PeriodDateBegin} ] ; then 257 echo $( basename ${file} ) >> ${RUN_DIR}/liste_pack_light_${date_begin_pack}_${date_end_pack}.txt 258 fi 259 fi 253 260 done 254 261 255 262 # Create tar files 256 263 IGCM_debug_Print 1 "Tar ongoing" 257 tar -cvf ${JobName}_${date_begin_pack}_${date_end_pack}_restart.tar --dereference --files-from ${RUN_DIR}/liste_pack_${date_begin_pack}_${date_end_pack}.txt 264 if [ X${config_Post_LightRestartPack} = XTRUE ] ; then 265 tar -cvf ${JobName}_${date_begin_pack}_${date_end_pack}_restart.tar --dereference --files-from ${RUN_DIR}/liste_pack_${date_begin_pack}_${date_end_pack}.txt 266 else 267 tar -cvf ${JobName}_${date_begin_pack}_${date_end_pack}_restart.tar --dereference --files-from ${RUN_DIR}/liste_pack_light_${date_begin_pack}_${date_end_pack}.tx 268 fi 258 269 # Save it 259 270 IGCM_sys_Put_Out ${JobName}_${date_begin_pack}_${date_end_pack}_restart.tar ${STORE_RESTART} -
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1392 r1395 169 169 if ( [ X${config_Post_IgnoreNonMonotonic} = X${NULL_STR} ] || [ X${config_Post_IgnoreNonMonotonic} = X ] ) ; then 170 170 config_Post_IgnoreNonMonotonic=FALSE 171 fi 172 173 #==================================================== 174 # LightRestartPack : apply default value if not defined 175 if ( [ X${config_Post_LightRestartPack} = X${NULL_STR} ] || [ X${config_Post_LightRestartPack} = X ] ) ; then 176 config_Post_LightRestartPack=FALSE 171 177 fi 172 178 -
trunk/libIGCM/libIGCM_post/libIGCM_post.ksh
r1298 r1395 494 494 export POST_DIR=${POST_DIR} 495 495 export MASTER=${MASTER} 496 export PeriodDateBegin=${PeriodDateBegin} 496 497 export DateBegin=${PackDateBegin} 497 498 export DateEnd=${PeriodDateEnd}
Note: See TracChangeset
for help on using the changeset viewer.