[torqueusers] Rerunnable Flag

Craig Prescott prescott at hpc.ufl.edu
Wed Aug 20 09:06:38 MDT 2008


Seems like this has come up on the list before - do you know if
a patch ever been proposed to add a server flag to control this
behavior?  If not, we can work one up.

Craig Prescott
UF HPC Center

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?
>> 
>> Jon Akers
>> jka at hpc.ufl.edu
>> UF HPC Center


More information about the torqueusers mailing list