Hi Nicolas,

sorry to say, but we have no experience with preemption.


Best

Marcus


Am 14.03.2023 um 22:07 schrieb Nicolas Sonoda:
Hi Marcus,

Thank you very much for the response.

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?

Following are some information:

/slurm.conf:/
/PreemptType=preempt/partition_prio
PreemptMode=SUSPEND,GANG
/
/NodeName=n[24] Sockets=2 CoresPerSocket=24 ThreadsPerCore=1 RealMemory=185000 State=UNKNOWN
/
/PartitionName=test Nodes=n[24] Default=NO MaxTime=INFINITE State=UP PriorityTier=300 PriorityJobFactor=100 OverSubscribe=FORCE PreemptMode=off AllowGroups=teste PartitionName=test2 Nodes=n[24] Default=NO MaxTime=INFINITE State=UP PriorityTier=20 PriorityJobFactor=1 OverSubscribe=FORCE PreemptMode=suspend,gang AllowGroups=teste
/

/$ squeue -u vhpc/
/             JOBID PARTITION NAME     USER ST       TIME  NODES NODELIST(REASON)/ /             46003      test test     vhpc PD       0:00      1 (Resources)/
/             46002     test2    test2     vhpc  R       0:05      1 n24/
/
/
Thank you,
Nícolas



------------------------------------------------------------------------
*De:* slurm-users em nome de Wagner, Marcus
*Enviadas:* Terça-feira, 14 de Março de 2023 07:25
*Para:* slurm-users@lists.schedmd.com
*Assunto:* Re: [slurm-users] Partition Hold/Release

Hi Nicolas,


you could use the prioritytier for partitions:


       PriorityTier
              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               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
              see PriorityJobFactor.


Best

Marcus


Am 06.03.2023 um 19:33 schrieb Nicolas Sonoda:
Hi!

Can I create a partition with a capacity of hold and release jobs when another partition jobs is submited? For example, the partition *one* and *two* can hold their jobs when some job of partition *three* is submited, and after this job completes the partition *one *and *two* releases their jobs again.

Thank you.
Nícolas

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to