On Tuesday, July 5, 2011 at 10:57 AM, Michael Di Domenico wrote:
Thanks Ian, that's what I was thinking, but i wasn't overly happy with
using a wrapper script. I'd prefer a cleaner method using classads.
I'll play around with the NEGOTIATOR_PRE_JOB_ RANK, i was a little
leary over using those as it seems like it will resort the lists of
matching hosts using by including the user supplied rank _expression_
(but only in the event of a tie), so while it seems close to what i
want, i'm not sure it allows me to completely supersede the user
supplied rank _expression_
If there's a tie, how would you like it to be broken? Does it matter at that point? If it does matter: just add to NEGOTIATOR_PRE_JOB_RANK the expressions you'd like to use to break a tie in Target.Rank. Since you control NEGOTIATOR_PRE_JOB_RANK you can write it such that it always leaves you with one distinct machine sorted at the top of the list, avoiding evaluation of the user's RANK _expression_.
Regards,
- Ian
---
Ian Chesal
Cycle Computing, LLC
Leader in Open Compute Solutions for Clouds, Servers, and Desktops
Enterprise Condor Support and Management Tools
http://www.cyclecomputing.com
http://www.cyclecloud.com
http://twitter.com/cyclecomputing