[torqueusers] Step Change in Job Arrays

Sreedhar Manchu sm4082 at nyu.edu
Sat Feb 25 12:19:42 MST 2012


Hi Ibad,

Even though torque doesn't support this way of submitting arrays and if you
want users be able to submit jobs just like people do on SGE, you can make
it happen with qsub wrapper or filter.

Once users submit with

-t 1-20:2

or

#PBS -t 1-20:2

you can change this with wrapper using Andrew's method to the way torque
likes. In fact, I'm going to add this our wrapper some time next week. Once
I have it I'll post it here.

I guess it makes easier for users.

Sreedhar.

On Wed, Feb 8, 2012 at 9:47 AM, Ibad Kureshi U0850037 <U0850037 at hud.ac.uk>wrote:

> Thanks Glen, Andy
>
> Andy: Nice!
>
> -Ibad
>
>
> ________________________________________
> From: torqueusers-bounces at supercluster.org [
> torqueusers-bounces at supercluster.org] On Behalf Of Andrew Caird [
> acaird at umich.edu]
> Sent: Wednesday, February 08, 2012 2:28 PM
> To: Torque Users Mailing List
> Subject: Re: [torqueusers] Step Change in Job Arrays
>
> On Wed, Feb 8, 2012 at 9:02 AM, Glen Beane <glen.beane at gmail.com<mailto:
> glen.beane at gmail.com>> wrote:
> On Wed, Feb 8, 2012 at 8:57 AM, Ibad Kureshi U0850037
> <U0850037 at hud.ac.uk<mailto:U0850037 at hud.ac.uk>> wrote:
> > Hello,
> >
> > I was wondering is someone could tell me how to adjust the step size in
> a job array. We are running Torque 2.5.7 with the PBS_SCHEDD on a small
> cluster and our users want to submit arrays.
> >
> > One the SGE and the Moab/Torque based systems
> >
> > $ -t 1-20:2
> >
> > or
> >
> > #PBS -t 1-20:2
> >
> > respectively, gives them 10 jobs with even ID numbers.
> >
> > How can this be done with Torque? It throws out "qsub: Bad Job Array
> Request" error
> >
> > Have not been able to find much literature on this.
> >
> > Thanks
>
>
> this is not currently supported, but it is a great feature request.
>
> unfortunately the only option would be to explicitly specify each array ID:
>
> #PBS -t 2,4,6,8,10 ...20
>
> Or:
>
>  qsub -t `seq -s, 2 2 20` pbsfile.txt
>
> in case you don't want to type all the numbers.
>
> --andy
>
>
> ---
> This transmission is confidential and may be legally privileged. If you
> receive it in error, please notify us immediately by e-mail and remove it
> from your system. If the content of this e-mail does not relate to the
> business of the University of Huddersfield, then we do not endorse it and
> will accept no liability.
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>



-- 
Sreedhar Manchu
HPC Support Specialist
New York University
251 Mercer Street
New York, NY 10012-1110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20120225/aaa48f58/attachment.html 


More information about the torqueusers mailing list