[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Ranking



> Hi all,
> 
> Is there a way to configure the Rank string in part 3 of the
configuration file to > rank a certain schedd (not user but a
machine...) higher or lower than others?

Jobs get a SUBMIT_MACHINE class ad attribute when they're submitted that
names the machine they were scheduled on. You could use that. It's a
string. Holds the full hostname of the submit machine like this:

SUBMIT_MACHINE = "ttc-schedd1.altera.com"

Part 3 is the startd RANK right? You'd want to say something like:

RANK = (TARGET.SUBMIT_MACHINE =?= "ttc-schedd1.altera.com") * 100

- Ian