[torqueusers] qsub submit filter questions

Hyrum Carroll hyrum at supercluster.org
Tue Nov 16 17:14:43 MST 2004


Chris,
The latest pre-patch 5 snapshot now passes qsub commandline args to the
submit filter.  You should now be able to access these and use them
however necessary.  

Let us know how things go,

Hyrum Carroll
Cluster Resources, Inc.

On Sun, 2004-11-07 at 16:38, Chris Samuel wrote:
> Hi folks,
> 
> We'd love to be able to do some sanity checking of users jobs, and possibly 
> the ability to reject a job at submit time if a user asks for an account that 
> they don't belong to, but it's not clear if that's possible.
> 
> Is the information that the user specifies on the command line made available 
> to the script ?
> 
> Looking at the code that processes the submit filter it appears that it simply 
> creates a copy of the script, runs that through the filter program and then 
> uses the output of the filter as the new script to use.
> 
> For our purposes it would be useful if the code checked for an explicit return 
> code that we could use to signal that the output of the submit filter is not 
> a script but is rather an error message to report to the user before exiting.
> 
> What do you folks think ?
> 
> cheers,
> Chris



More information about the torqueusers mailing list