Friday, March 13, 2015

Submit Dependent Jobs Through qsub

$ qsub random.pbs
5594674.hpc0.local
$ qsub -W depend=afterok:5594674.hpc0.local sort.pbs
5594675.hpc0.local
$ qstat -u $USER
 
hpc0.local:
                                                                         Req'd  Req'd   Elap
Job ID               Username Queue    Jobname          SessID NDS   TSK Memory Time  S Time
-------------------- -------- -------- ---------------- ------ ----- --- ------ ----- - -----
5594674.hpc0.loc     manchu   ser2     random.pbs        18029     1   1    --  48:00 R 00:00
5594675.hpc0.loc     manchu   ser2     sort.pbs                    1   1    --  48:00 H   --
 

No comments:

Post a Comment