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

Christopher Samuel samuel at unimelb.edu.au
Sun Sep 26 19:48:52 MDT 2010


-----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.

cheers,
Chris
- -- 
 Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computational Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyf+AQACgkQO2KABBYQAh/RdQCeOZEax0L/0/ebiUnUMC60NcOg
FywAn1y9Us70+sbeQ6oa+n0LwmEVhg9i
=sRr8
-----END PGP SIGNATURE-----


More information about the torqueusers mailing list