-------- 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?
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users