[torquedev] qalter with blank walltimes sets walltime to zero
Garrick Staples
garrick at usc.edu
Wed Jun 18 12:30:56 MDT 2008
On Wed, Jun 18, 2008 at 11:45:46PM +1000, Chris Samuel alleged:
> Hi all,
>
> We've found recently that if you happen to do:
>
> qalter -l walltime= 12:0:0 12345
>
> to set job 12345 to now be 12 hours, the job dies
> immediately and you get an error about an illegal
> job id.
>
> This is because the space results in the walltime of
> 12345 being set to 0:0:0 and it immediately gets killed
> by pbs_mom (quite understandably).
>
> I can't see any reason why setting the walltime to 0
> should be valid, but digging around in the code it looks
> like decode_time() in src/lib/Libattr/attr_fn_time.c
> specifically accepts that as valid and sets the time to 0.
There are lots of ways to typo and break things. Not all of them need to be
"fixed" :)
--
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20080618/59b89f62/attachment.bin
More information about the torquedev
mailing list