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

Re: [Condor-users] RANK certain attributes



On Mon, 1 Feb 2010, Mag Gam wrote:

Indeed. I see where you got it from :-)


Also, once I have the RANK setup, I am doing condor_config_val RANK on
the execute node and I see the RANK statement but how do I see it in
action? Is there a tool which analyzes RANK ?


There is a value CurrentRank in the machine classad but that
is not quite the same.
In practice a Rank statement can have many different values because
it combines all the different values from each job classad
with each machine classad on each negotiation cycle.
Thus it is quite easy to write a RANK statement that ends up
with value UNDEFINED and you will never be the wiser.
(All you will see is some number of machines "reject the job
for unknown reasons" in condor_q -ana).

I requested a feature like that years ago, to analyze REQUIREMENTS
and RANK statements but as far as I know they have never
implemented it yet.

Steve Timm




On Fri, Jan 29, 2010 at 9:56 AM, Steven Timm <timm@xxxxxxxx> wrote:
I got this out of one of the presentations that is on the
condor site.  they have several tutorials.

Steve


On Fri, 29 Jan 2010, Mag Gam wrote:

Steve,
Thanks for this tip. I hope we document this on the NMI wiki or the
manual.

I will add "Department" to STARTD_ATTRS . I have preemption off
therefore I don't have to worry about it.


Basically, your rank statement is saying:


RANK=(ifThenElse(isUndefined(Target.Department),0,ifThenElse(Target.Department=="Chemistry",1000,0)

If Department is undefined the rank will be 0. Meaning everyone has
the same fair rank.
Else If department is defined then chemistry has 1000 of a better
chance than other departments

Correct?

Is there an easier way to rewrite this statement :-) It looks
complicated for newbie condor admins.


On Thu, Jan 28, 2010 at 10:49 PM, Steven Timm <timm@xxxxxxxx> wrote:

On Thu, 28 Jan 2010, Mag Gam wrote:

Is it possible to place a RANK statement so condor prefers a certain
department?

For example, if I want to have
Chemistry department to have a higher priority?

In my Submit file I usually do:
+Department="Chemistry"

Yes, but you have to add Department to STARTD_ATTRS in the config
file in order to get it considered by the negotiator in calculating
the rank.  Also you have to allow for the fact that DEPARTMENT
might not always be defined.


RANK=(ifThenElse(isUndefined(Target.Department),0,ifThenElse(Target.Department=="Chemistry",1000,0)

Be aware that doing it with the RANK statement can result in
jobs of other non-chemistry departments being pre-empted to make
room for yours.  You could also define an
+AccountingGroup=chemistry.myusername
and then define GROUP_QUOTA_chemistry=nnn and/or
GROUP_PRIO_FACTOR_chemistry=nnn

Steve Timm



Any thoughts?
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group
Leader.
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group
Leader.


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.