Another route that could be taken is to set the DefaultTime for a partition to 0, and the small patch attached to this email will reject a job when is has no time limit specified and the default_time limit is 0. I also modified the ESLURM_INVALID_TIME_LIMIT to include information that the error might be because of a missing time limit.
Phil Eckert LLNL On 6/28/13 7:29 AM, "Daniel M. Weeks" <[email protected]> wrote: >At CCNI, we use backfill scheduling on all our systems. However, we have >found that users typically do not specify a time limit for their job so >the scheduler assumes the maximum from QoS/user limits/partition >limits/etc. This really hurts backfilling since the scheduler remains >ignorant of short jobs. > >Attached is a small patch I wrote containing a job submit plugin and a >new error message. The plugin rejects a job submission when it is >missing a time limit and will provide the user with a clear and distinct >error. > >I've just re-tested and the patch applies and builds cleanly on the >slurm-2.5, slurm-2.6, and master branches. > >Please let me know if you find this useful, run across problems, or have >suggestions/improvements. Thanks. > >-- >Daniel M. Weeks >Systems Programmer >Computational Center for Nanotechnology Innovations >Rensselaer Polytechnic Institute >Troy, NY 12180 >518-276-4458
spatch
Description: spatch
