Hi Loris,

Two things come to mind:

1. Setting the default time on your partitions to something so ludicrous (1
second) that users are effectively forced to specify --time if they want
their job to run for longer than a second
2. Using a job submission filter. I'm not sure if this would work for your
situation since I've never used it but it seems promising. The idea would
be to use the submit filter to determine if the user specified a time
argument. The job submit plugin documentation is here:
http://www.schedmd.com/slurmdocs/job_submit_plugins.html and a sample lua
filter can be found at contribs/lua/job_submit.lua in the source code.

I hope that helps!

-Aaron

2011/12/5 Loris Bennett <[email protected]>

> Hi,
>
> I have been unable to find a description of how to make the use of
> parameters, such as --time, mandatory in a script passed to sbatch.
>
> If this is possible, could someone please point me to the relevant part
> of the documentation?
>
> Thanks
>
> Loris
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universität Berlin         Email [email protected]
>
>
>


-- 
Aaron Knister
Systems Administrator
Division of Information Technology
University of Maryland, Baltimore County
[email protected]

Reply via email to