Ignore:
Timestamp:
04/26/13 10:48:56 (11 years ago)
Author:
sdipsl
Message:
  • Clean up job submission
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r844 r853  
    12141214 
    12151215    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} 
    12181216    # Keep only the 5 latest ${Script_Output_Prefix}_${config_UserChoices_JobName} 
    12191217    ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? 2>/dev/null | wc -l ) 
    12201218    [ ${ScriptTot} -gt 5 ] && rm -f $( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? | head -$(( ${ScriptTot} - 5 )) ) 
    1221     # Submit next job and come back 
    12221219    IGCM_sys_Qsub ${SUBMIT_DIR}/Job_${config_UserChoices_JobName} 
    1223     IGCM_sys_Cd - 
    12241220  fi 
    12251221 
Note: See TracChangeset for help on using the changeset viewer.