[torqueusers] question about submitting multiple jobs (a.k.a job array)

Glen Beane glen.beane at gmail.com
Thu Aug 11 05:01:43 MDT 2011


On Thu, Aug 11, 2011 at 4:50 AM, Mahmood Naderan <nt_mahmood at yahoo.com>wrote:

> > #PBS -t 1-2
>
> Is it possible to use strings instead of numbers?
> #PBS -t one-two
>
> ./run -bench${PBS_ARRAYID}
>
> I get this error
> qsub: Bad Job Array Request
>
>

no,  sorry.  they need to be integers.
if you need non integers you can create a file that contains all of the
strings you need.  your batch script would use the ${PBS_ARRAYID} value to
look up the string on a particular line of the file

  -t X-Y is a range and torque tries to expand it assuming X and Y are
integers and Y > X.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20110811/c10d6747/attachment.html 


More information about the torqueusers mailing list