[torquedev] feature request: server job id bounds

Glen Beane glen.beane at gmail.com
Tue Jan 30 07:48:22 MST 2007

On 1/30/07, Toni L. Harbaugh-Blackford [Contr]
<harbaugh at abcc.ncifcrf.gov> wrote:
> At my site I have a multi server setup in which I need to make sure
> that the job ids assigned by the server never overlap.   The next_job_number
> server attribute is useful for initially setting the job number, but
> does not provide an upper bound to prevent overlap.  It also does
> not handle rollover.
> Below is a patch that provides a command line argument which sets
> the upper and lower bounds for server assignment of job ids.  I have
> tested it on several systems at my site and it seems stable.  I
> would appreciate it if the patch could be incorporated into torque
> in the future.

one thing we might want to do is check that if a range is specified
then we only allow the opterator to set the next_job_number to a value
within that range.

More information about the torquedev mailing list