Changeset 853


Ignore:
Timestamp:
04/26/13 10:48:56 (11 years ago)
Author:
sdipsl
Message:
  • Clean up job submission
Location:
trunk/libIGCM
Files:
5 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 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh

    r847 r853  
    19331933        if ( ${OK_PARA_OMP} ) ; then 
    19341934          eval comp_proc_omp_loc=\${${comp}_PROC_OMP} 
    1935           export KMP_STACKSIZE=3g 
    1936           export KMP_LIBRARY=turnaround 
     1935          export KMP_STACKSIZE=200m 
     1936          #export KMP_LIBRARY=turnaround 
    19371937          #echo "export KMP_STACKSIZE=3g"  >> script_${ExeNameOut}.ksh 
    19381938          #echo "export KMP_LIBRARY=turnaround"  >> script_${ExeNameOut}.ksh 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r850 r853  
    686686  typeset options status 
    687687  if [ ${config_UserChoices_JobName}.${CumulPeriod} = "." ] ; then 
    688     options=" -o ${Script_Output} -e ${Script_Output}" 
     688    options=" -o ${SUBMIT_DIR}/${Script_Output} -e ${SUBMIT_DIR}/${Script_Output}" 
    689689  else 
    690     options=" -o ${Script_Output} -e ${Script_Output} -r ${config_UserChoices_JobName}.${CumulPeriod}" 
     690    options=" -o ${SUBMIT_DIR}/${Script_Output} -e ${SUBMIT_DIR}/${Script_Output} -r ${config_UserChoices_JobName}.${CumulPeriod}" 
    691691  fi 
    692692 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r839 r853  
    583583  fi 
    584584  typeset status 
    585   /usr/local/bin/qsub -q medium -o ${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1 
     585  /usr/local/bin/qsub -q medium -o ${SUBMIT_DIR}/${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1 
    586586  status=$? 
    587587  if [ ${status} -gt 0 ] ; then 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_titane.ksh

    r828 r853  
    678678  typeset options 
    679679  if [ ${config_UserChoices_JobName}.${CumulPeriod} = "." ] ; then 
    680     options=" -o ${Script_Output} -e ${Script_Output}" 
     680    options=" -o ${SUBMIT_DIR}/${Script_Output} -e ${SUBMIT_DIR}/${Script_Output}" 
    681681  else 
    682     options=" -o ${Script_Output} -e ${Script_Output} -r ${config_UserChoices_JobName}.${CumulPeriod}" 
     682    options=" -o ${SUBMIT_DIR}/${Script_Output} -e ${SUBMIT_DIR}/${Script_Output} -r ${config_UserChoices_JobName}.${CumulPeriod}" 
    683683  fi 
    684684 
Note: See TracChangeset for help on using the changeset viewer.