[torqueusers] Job Dependencies

Craig Macdonald craigm at dcs.gla.ac.uk
Thu Jun 19 09:34:55 MDT 2008


The correct syntax is

qsub -W depend=afterok:jobid

C

Robert "Derek" Byrum wrote:
> 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.
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>   



More information about the torqueusers mailing list