[torquedev] new feature in trunk: qsub -t

Björn Torkelsson torkel at hpc2n.umu.se
Mon Feb 5 01:39:11 MST 2007


On sön, 2007-02-04 at 09:24 -0500, Glen Beane wrote:
> I've just finished commiting some changes to trunk that add a new
> feature: qsub -t, which tells pbs_server how many times you want to
> submit the job.
> 
> For example:
> 
> qsub -t 5 job_script
> 1098.hostname
> 
> qstat
> 1098-0.hostname ...
> 1098-1.hostname ...
> 1098-2.hostname ...
> 1098-3.hostname ...
> 1098-4.hostname ...
> 
> 
> each 1098-x job has an environment variable called PBS_ARRAYID, which
> is set to the value of the array index of the job,  so 1098-0.hostname
> would have PBS_ARRAYID set to 0

Is it possible to add dependencies between the jobs? I.e so that -1 is
not started before -0 is finished?

/torkel



More information about the torquedev mailing list