Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
doku:advanced_sge [2014/05/27 13:55] irdoku:advanced_sge [2014/07/11 08:03] – [Job arrays with multiple task within one SGE task step] markus
Line 1: Line 1:
- 
-    * [[advanced_sge#Job chains|Job chains]] 
-    * [[advanced_sge#Job arrays|Job arrays]] 
-==== Copying back data from a temp. directory after a job is terminated ==== 
-Please refer to [[doku:epilog|user-defined epilog scripts]]! 
- 
 ==== Specifying the maximum runtime (means quicker job execution) / resource reservation ==== ==== Specifying the maximum runtime (means quicker job execution) / resource reservation ====
 === The problem === === The problem ===
Line 181: Line 175:
 do do
         TASK=`expr ${SGE_TASK_ID} + $i`         TASK=`expr ${SGE_TASK_ID} + $i`
-        CMD="run file_$TASK"+        CMD="run file_$TASK &"
         #or          #or 
-        #CMD="mpirun -np $SLOTS ./a.out $TASK"+        #CMD="mpirun -np $SLOTS ./a.out $TASK &"
         $CMD           $CMD  
 done done
 +wait
  
 </code> </code>
  • doku/advanced_sge.txt
  • Last modified: 2015/01/22 09:57
  • by ir