[torqueusers] Job Dependencies

Robert "Derek" Byrum derekbyrum at noviidesign.com
Thu Jun 19 09:11:59 MDT 2008

I was hoping someone could help me out with a generic job dependency issue.  
Here are the commands I am issuing.

Job 1 
    echo sleep 300 | qsub

Job 2
    echo sleep 200 | qsub -W x=depend:afterok:jobidofjob1
Job 3
    echo sleep 100 | qsub -W x=depend:afterok:jobidofjob2

However all the jobs submit and run, yet job 3 completes first then job 2 and finally job 1.  Obviously the job depends aren't functioning properly.  

Is there a configuration step or an error in my job submission

Thanks in advance.

More information about the torqueusers mailing list