<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>You could probably accomplish this using a job submit lua script
      and some crafted QoS's.  It would take some doing but I imagine it
      could work.</p>
    <p>-Paul Edmon-<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03/12/2018 02:46 PM, Keith Ball
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAxuGpEMHdwyppW8b4bnX+5RLfmzCMRDn7jSDkA9k92Zwcf2aA@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi All,<br>
              <br>
              We are looking to have time-based partitions; e.g.  a"day"
              and "night" partition (using the same group of compute
              nodes).<br>
              <br>
              1.) For a “night” partition, jobs will only be allocated
              resources one the “night-time” window is reached (e.g. <span
                class="gmail-m_-2499498420658111713gmail-aBn"><span
                  class="gmail-m_-2499498420658111713gmail-aQJ">6pm –
                  7am</span></span>). Ideally, the jobs in the “night”
              partition would also have higher priority during this
              window (so that they would preempt jobs in the "day"
              partition that were still running, if there were resource
              contention).<br>
              <br>
              2.) During the “day-time” window (<span
                class="gmail-m_-2499498420658111713gmail-aBn"><span
                  class="gmail-m_-2499498420658111713gmail-aQJ">7am-6pm</span></span>),
              jobs in the “day” queue can be allocated resources, and
              have higher priority than jobs in the “night” partition
              (that way, preemptive scheduling can occur if there is
              resource contention).<br>
              <br>
            </div>
            I have so far not seen a way to define a run or allocation
            time window for partitions. Are there such options? What is
            the best (and hopefully least convoluted) way to achieve the
            scheduling behavior as described above in Slurm? <br>
            <br>
          </div>
          Thanks,<br>
        </div>
          Keith<br>
      </div>
    </blockquote>
    <br>
  </body>
</html>