Thank you for your reply. Sorry if my explanations are not clear. I don't speak 
english very well.

What I want :
OPA have a biger priority than other partitions. OPA cant preempt jobs 
submitted in partitions LDEV, LOP, LALL.
LDEV, LOP, LALL have the same priority.
LDEV can't suspend jobs submitted in LOP or LALL.
LOP and LALL can't suspend jobs submitted in LDEV.

In practice:

1- I submit a job A in LOP : A running (it is ok for me)
2- I submit a job B in LALL : A and B running (it is ok for me)
3- I submit a job C in LDEV : A and B and C running (it is not ok for me)

For me, the job C must be in PENDING state !!!


Whatever the sequence in the submission, (A,B,C) or (C,B,A) or (C,A,B) etc. It 
is the same thing.



David



-----Message d'origine-----
De : Diego Zuccato [mailto:[email protected]] 
Envoyé : lundi 15 février 2016 11:42
À : slurm-dev <[email protected]>
Objet : [slurm-dev] RE: Ressouces allocation problem


Il 15/02/2016 11:00, David Roman ha scritto:
> Hello,
> 
> I'm coming back on this problem. Because after I read again the documentation 
> and do other tests I have the same problem with the preemption..
> 
> My partition :
> PartitionName=OPA   Nodes=hpc-node[1-2] Priority=100 Default=No  
> PreemptMode=OFF
> PartitionName=LDEV  Nodes=hpc-node[1-2] Priority=50  Default=Yes 
> PreemptMode=SUSPEND
> PartitionName=LOP   Nodes=hpc-node[1]   Priority=50  Default=Yes 
> PreemptMode=SUSPEND
> PartitionName=LALL  Nodes=hpc-node[2]   Priority=50  Default=Yes 
> PreemptMode=SUSPEND
> 
> 
> In my mind, if I submit a job on each partitions LOP and LALL with 16 cpus 
> requested. For me I can't see a job submit on LDEV running !
Uh? That's really unclear to me... Sequence of ops as I understand it:
1) You submit a job to LOP -> runs on hpc-node1, prio=50
2) You submit a job to LALL - > runs on hpc-node2, prio=50
3) You submit a job to LDEV

IIUC, the third job gets *queued*, since LDEV have the same prio as LOP and 
LALL. If you want the third job to preempt the other two, you have to change 
partitions priorities.

> Am I right or not ?
Depends on what you expect and what you're obtaining :)

HIH.

--
Diego Zuccato
Servizi Informatici
Dip. di Fisica e Astronomia (DIFA) - Università di Bologna V.le Berti-Pichat 
6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
mail: [email protected]

Reply via email to