[torqueusers] Queue script job

Troy Baer tbaer at utk.edu
Thu Dec 9 07:49:11 MST 2010


On Thu, 2010-12-09 at 12:08 +0100, Guille wrote:
> How i can make a PBS script to make him wait to run till another job
> in the same qeue has finished.
> 
> I mean for exemple: on queue1 i have job1 running, and i want to job2
> to wait till job1 has finished to be executed.

Please take a look at the qsub man page, specifically the section about
-W depend=.

	--Troy
-- 
Troy Baer, HPC System Administrator
National Institute for Computational Sciences, University of Tennessee
http://www.nics.tennessee.edu/
Phone:  865-241-4233



More information about the torqueusers mailing list