[torqueusers] set automatically a mem max ressources when the user submits a job with a nodes/cpu param

giggzounet giggzounet at gmail.com
Mon Sep 27 01:09:41 MDT 2010


2010/9/27 Christopher Samuel <samuel at unimelb.edu.au>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 25/09/10 01:11, giggzounet wrote:
>
>> at the moment, my first version is:
>>
>> #!/bin/sh
>
> Can I suggest that you don't use /bin/sh for submit
> filters ?
>
> At VPAC we had all sorts of nasty edge cases from that
> (including where there was no terminating newline in
> the script, leading to bash dropping that last line).
>
> We now do ours in Python, but Perl would just as well.
>

ok. but...I don't know perl or Python...perhaps when I will have a
boring week-end, i will try it :)

thx for the tip!
Guillaume


More information about the torqueusers mailing list