[torqueusers] question about submitting multiple jobs (a.k.a job array)
Mahmood Naderan
nt_mahmood at yahoo.com
Thu Aug 11 05:12:12 MDT 2011
ok thanks. good idea
// Naderan *Mahmood;
________________________________
From: Glen Beane <glen.beane at gmail.com>
To: Mahmood Naderan <nt_mahmood at yahoo.com>
Cc: torque cluster <torqueusers at supercluster.org>
Sent: Thursday, August 11, 2011 3:31 PM
Subject: Re: [torqueusers] question about submitting multiple jobs (a.k.a job array)
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.
More information about the torqueusers
mailing list