[torquedev] Job array feature request
Glen Beane
glen.beane at gmail.com
Fri Nov 30 18:53:13 MST 2007
On Nov 30, 2007 6:43 PM, Garrick Staples <garrick at usc.edu> wrote:
> On Fri, Nov 30, 2007 at 06:45:19PM -0500, Glen Beane alleged:
>
> > What do people think of padding the job array id so that the array id
> > suffix part of the job id and the job name are all the same lenght for
> > a give job.
> >
> > say I submit a job array with 100 tasks, 0 through 99. the suffixes
> > would be -00 through -99
> >
> > if I submit a job with 1000 tasks, 0 though 999 the suffixes would be
> > -000 through -999, etc
> >
> >
> > Right now all the tasks in an array share the same .SC file but they
> > have individual .JB files. this keeps the .JB files in the proper
> > order when you do a ls in the job directory AND it means the jobs will
> > be in the same order in the queue after a server researt. Right now
> > if you restart the server and do a qstat the jobs will be in a
> > different order. This is a simple way of fixing that. Plus I think it
> > looks better.
>
> Would someone want to add tasks after the initial qsub (essentially cloning
> existing jobs)? That could mess up your idea.
Good point. Maybe I'll have to reorder the jobs once they are
restored after a restart so the order is retained. The reorder after
a server restart really bugs me.
More information about the torquedev
mailing list