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 ?