My group uses "-p short,batch" in our submit scripts. Jobs will try to run in the short partition (4 hours or less, no more than 24 nodes per job) but if there's a wait and enough nodes open up in regular batch partition (4 days / 844 nodes max), the job will run over there. Really helps back fill keep idle nodes to a minimum on our main partition and short jobs get processed faster than waiting for the limited number of nodes in just the short partition.
Glenn On Oct 9, 2018, at 9:54 AM, Baker D.J. <d.j.ba...@soton.ac.uk<mailto:d.j.ba...@soton.ac.uk>> wrote: Hello, We are starting to think about developing a lua job submission script. For example, we are keen to route jobs requiring no more than 1 compute node (single core jobs and small parallel jobs) to a slurm shared partition. The idea being that "small" jobs can share a small set of compute nodes to try to prevent resource fragmentation in the cluster. Other "larger" jobs are routed to the default partition. As a start I have dug out the example lua script provided by slurm, however I wondered if there was any experience in doing this sort of routing using a lua script. We would appreciate any advice from the slurm community, please. Best regards, David