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

Re: [Condor-users] RANK certain attributes



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.