Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Is this Rank statement correct
- Date: Fri, 22 Apr 2005 11:02:51 -0400
- From: Daniel Loughlin <loughlin@xxxxxxxxxxxx>
- Subject: [Condor-users] Is this Rank statement correct
-------- begin snip --------
LEADER = Owner == "bob"
MAJOR_GROUP = Owner == "bobby" || Owner == "rob"
MINOR_GROUP = Owner == "mod" || Owner == "dob"
SUSPEND = Scheduler =!= $(DedicatedScheduler) && ($(SUSPEND))
PREEMPT = Scheduler =!= $(DedicatedScheduler) && ($(PREEMPT))
RANK_FACTOR = 1000000
RANK = (LEADER * 30) + (MAJOR_GROUP * 20) + (MINOR_GROUP * 10)
RANK = (Scheduler =?= $(DedicatedScheduler) * $(RANK_FACTOR)) + $(RANK)
START = (Scheduler =?= $(DedicatedScheduler)) || ($(START))
--------- end snip -----------
The point of the above condor_config.local is to favor jobs from LEADER,
then MAJOR_GROUP, then MINOR_GROUP, and finally everyone else. However,
jobs needing a dedicated scheduler take precedence above everyone.
Is the above correct, for what I want to accomplish?