[torquedev] Re: [torqueusers] Rerunnable Flag

Michael Barnes Michael.Barnes at jlab.org
Wed Aug 20 06:44:12 MDT 2008


On Wed, Aug 20, 2008 at 06:51:33AM -0400, Chad Vizino wrote:
> We have changed the default at our site to *not* rerunnable.  Check out 
> src/server/req_quejob.c to change the default at the server.  Look for 
> the comment:
> 
>       /* Interactive jobs are necessarily not rerunable */
> 
> And get rid of the "if" condition around these lines just after that:
> 
>       pj->ji_wattr[(int)JOB_ATR_rerunable].at_val.at_long = 0;
>       pj->ji_wattr[(int)JOB_ATR_rerunable].at_flags |= ATR_VFLAG_SET;
> 
>   -Chad
> 
> On 8/19/08 11:10 AM, Jon Akers wrote:
> >By default, the rerunnable flag is set to true on all jobs. We would 
> >like this to be set to false be default on all jobs, and if the user 
> >wants it to be set to rerunnable they can flag it as true in their job 
> >script. Is there a way in which we can do this?


I also have always thought that the default should not be rerunable.

Just my $0.02

-- 
+-----------------------------------------------
| Michael Barnes
|
| Thomas Jefferson National Accelerator Facility
| 12000 Jefferson Ave.
| Newport News, VA 23606
| (757) 269-7634
+-----------------------------------------------


More information about the torquedev mailing list