<div dir="ltr">Nicolas,<div><br></div><div>It looks like for the partition named "test" you still have <i style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">PreemptMode=off ?</i></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 15, 2023 at 7:35 AM Wagner, Marcus <<a href="mailto:wagner@itc.rwth-aachen.de">wagner@itc.rwth-aachen.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <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>Am 14.03.2023 um 22:07 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 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)">
        <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)">
        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)">
        <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)">
        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)">
        <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)">
        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)">
        <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)">
        <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)">
        <i>PreemptType=preempt/partition_prio<br>
          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)">
        <i>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)">
        <i>PartitionName=test
          Nodes=n[24] Default=NO MaxTime=INFINITE State=UP
          PriorityTier=300 PriorityJobFactor=100 OverSubscribe=FORCE
          PreemptMode=off AllowGroups=teste<br>
          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)">
        <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)">
        <i>$ squeue -u vhpc</i>
        <div><i>             JOBID PARTITION    
            NAME     USER ST       TIME  NODES NODELIST(REASON)</i></div>
        <div><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)">
        <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)">
        <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)">
        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)">
        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)">
        <br>
      </div>
      <div>
        <div id="m_-7545038216549419599Signature">
          <div>
            <div>
              <div><br>
              </div>
              <div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
                <br>
                <hr 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 href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a><br>
                <b>Assunto:</b> Re: [slurm-users] Partition Hold/Release
                <div><br>
                </div>
              </div>
              <div>
                <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>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 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 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 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 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 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>
  </div>

</blockquote></div>