Il 15/02/2016 12:55, David Roman ha scritto:

> 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.
Ok.

> 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 !!!
Yes, it should be since there are no consumables left.

Another thing that could help you pinpoint the error is enabling
scheduler verbose logging.

IMVHO it's due to your use of PreempMode, that includes GANG:
GANG
    enables gang scheduling (time slicing) of jobs in the same
partition. NOTE: Gang scheduling is performed independently for each
partition, so configuring partitions with overlapping nodes and gang
scheduling is generally not recommended.

But to use SUSPEND it seems you have to use GANG too... I don't know
more, sorry. Maybe some expert can give a definitive answer.

-- 
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