<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
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.
<div class=""><br class="">
</div>
<div class="">Glenn<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Oct 9, 2018, at 9:54 AM, Baker D.J. <<a href="mailto:D.J.Baker@soton.ac.uk" class="">D.J.Baker@soton.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Hello,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">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.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">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.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Best regards,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">David</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>