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

[Condor-users] dSlots and RANK expression (dynamic slot)



Hi,

We have setup a pool of 2 machines : M1(8 cpus) and M2(24 cpus)
with a single partitionable slot :

MAX_SLOT_TYPES = 1
SLOT_TYPE_1 = 100%
NUM_SLOTS_TYPE_1 = 1
SLOT_TYPE_1_PARTITIONABLE = TRUE
 
We want to give a preference to the machine that has the most cpu (M2).
The submit file is :
rank = Cpus
#rank = DetectedCpus
request_cpus = 4

We want alls jobs run with 4 cpus on M2 first and then
if there is no cpu on M2 run on M1.
But with the above configuration, the jobs run on M1 even if there are cpus on M2.
What's wrong ?

thanks in advance.