- Timestamp:
- 05/21/13 09:40:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/libIGCM_v2.0/libIGCM_config/libIGCM_config.ksh
r853 r860 1214 1214 1215 1215 IGCM_debug_Print 1 "Submit next job" 1216 # SUBMIT NEXT JOB from SUBMIT_DIR and come back in RUN_DIR 1217 IGCM_sys_Cd ${SUBMIT_DIR} 1216 1218 # Keep only the 5 latest ${Script_Output_Prefix}_${config_UserChoices_JobName} 1217 1219 ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? 2>/dev/null | wc -l ) 1218 1220 [ ${ScriptTot} -gt 5 ] && rm -f $( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? | head -$(( ${ScriptTot} - 5 )) ) 1221 # Submit next job and come back 1219 1222 IGCM_sys_Qsub ${SUBMIT_DIR}/Job_${config_UserChoices_JobName} 1223 IGCM_sys_Cd - 1220 1224 fi 1221 1225
Note: See TracChangeset
for help on using the changeset viewer.