<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Nicolas,</p>
    <p><br>
    </p>
    <p>sorry to say, but we have no experience with preemption.</p>
    <p><br>
    </p>
    <p>Best</p>
    <p>Marcus</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 14.03.2023 um 22:07 schrieb Nicolas
      Sonoda:<br>
    </div>
    <blockquote type="cite"
cite="mid:CY5PR14MB55343EF5873F6BB1B7EF6710B2BE9@CY5PR14MB5534.namprd14.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof">
        Hi Marcus,</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof">
        Thank you very much for the response.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        I set the PriorityTier for my partitions and also set
        PreemptType=preempt/partition_prio and PreemptMode=SUSPEND,GANG.
        But the job in the low priority partition does not change it
        state to SUSPEND. Have any idea?</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        Following are some information:</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <i>slurm.conf:</i></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <i class="ContentPasted2">PreemptType=preempt/partition_prio<br
            class="ContentPasted2">
          PreemptMode=SUSPEND,GANG<br>
        </i></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <i class="ContentPasted2 ContentPasted4">NodeName=n[24]
          Sockets=2 CoresPerSocket=24 ThreadsPerCore=1 RealMemory=185000
          State=UNKNOWN<br>
        </i></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <i class="ContentPasted2 ContentPasted3">PartitionName=test
          Nodes=n[24] Default=NO MaxTime=INFINITE State=UP
          PriorityTier=300 PriorityJobFactor=100 OverSubscribe=FORCE
          PreemptMode=off AllowGroups=teste<br class="ContentPasted3">
          PartitionName=test2 Nodes=n[24] Default=NO MaxTime=INFINITE
          State=UP PriorityTier=20 PriorityJobFactor=1
          OverSubscribe=FORCE PreemptMode=suspend,gang AllowGroups=teste<br>
        </i></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1
        ContentPasted5">
        <i>$ squeue -u vhpc</i>
        <div class="ContentPasted5"><i>             JOBID PARTITION    
            NAME     USER ST       TIME  NODES NODELIST(REASON)</i></div>
        <div class="ContentPasted5"><i>             46003      test    
            test     vhpc PD       0:00      1 (Resources)</i></div>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1
        ContentPasted5">
        <i>             46002     test2    test2     vhpc  R       0:05
               1 n24</i></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1
        ContentPasted5">
        <i><br>
        </i></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1
        ContentPasted5">
        Thank you,</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1
        ContentPasted5">
        Nícolas<br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
        255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
        <br>
      </div>
      <div class="elementToProof">
        <div id="Signature">
          <div>
            <div>
              <div><br>
              </div>
              <div
                style="font-family:Calibri,Arial,Helvetica,sans-serif;
                font-size:12pt; color:rgb(0,0,0);">
                <br>
                <hr tabindex="-1" style="display:inline-block;
                  width:98%;">
                <b>De:</b> slurm-users em nome de Wagner, Marcus<br>
                <b>Enviadas:</b> Terça-feira, 14 de Março de 2023 07:25<br>
                <b>Para:</b> <a class="moz-txt-link-abbreviated" href="mailto:slurm-users@lists.schedmd.com">slurm-users@lists.schedmd.com</a><br>
                <b>Assunto:</b> Re: [slurm-users] Partition Hold/Release
                <div><br>
                </div>
              </div>
              <div class="rps_123">
                <div>
                  <p style="margin-top: 0px; margin-bottom: 0px;">Hi
                    Nicolas,</p>
                  <p style="margin-top: 0px; margin-bottom: 0px;"><br>
                  </p>
                  <p style="margin-top: 0px; margin-bottom: 0px;">you
                    could use the prioritytier for partitions:</p>
                  <p style="margin-top: 0px; margin-bottom: 0px;"><br>
                  </p>
                  <blockquote type="cite">       PriorityTier<br>
                                  Jobs submitted to a partition with a
                    higher PriorityTier value will be evaluated by the
                    scheduler before pending jobs in a partition with a
                    lower PriorityTier value.  They  will<br>
                                  also  be  considered  for preemption
                    of running jobs in partition(s) with lower
                    PriorityTier values if
                    PreemptType=preempt/partition_prio.  The value may
                    not exceed 65533.  Also<br>
                                  see PriorityJobFactor.<br>
                    <br>
                  </blockquote>
                  <p style="margin-top: 0px; margin-bottom: 0px;"><br>
                  </p>
                  <p style="margin-top: 0px; margin-bottom: 0px;">Best</p>
                  <p style="margin-top: 0px; margin-bottom: 0px;">Marcus<br>
                  </p>
                  <p style="margin-top: 0px; margin-bottom: 0px;"><br>
                  </p>
                  <div class="x_moz-cite-prefix">Am 06.03.2023 um 19:33
                    schrieb Nicolas Sonoda:<br>
                  </div>
                  <blockquote type="cite">
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Hi!</div>
                    <div class="x_elementToProof"
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      <br>
                    </div>
                    <div class="x_elementToProof"
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Can I create a partition with a capacity of hold
                      and release jobs when another partition jobs is
                      submited? For example, the partition
                      <b>one</b> and <b>two</b> can hold their jobs
                      when some job of partition <b>three</b> is
                      submited, and after this job completes the
                      partition
                      <b>one </b>and <b>two</b> releases their jobs
                      again.<br>
                    </div>
                    <div class="x_elementToProof"
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      <br>
                    </div>
                    <div class="x_elementToProof"
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Thank you.</div>
                    <div class="x_elementToProof"
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Nícolas<br>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>