Ok, I don't know if I am understanding this correctly yet. From the documentation I see that the --cpus flag is what determines the number of subjobs. I've tested this with this set of jobs:
job name | cpus | frames | priority | submitted | completed |
Job A | 100 | 100 | 2500 | 10:01 | 10:15 |
Job B | 200 | 200 | 4000 | 10:05 | 10:21 |
Job C | 30 | 30 | 5000 | 10:09 | 10:22 |
Job A has the lowest priority but was submitted first.
Job B has a higher priority and was submitted second.
Job C has the highest priority and was stubmitted last.
As Job A completes subjobs, more subjobs from Job A start to process rather than subjobs from Job B or Job C starting. If Job B began to process before Job C was submitted, Job B must start all of it's subjobs before Job C can start to work.
It seems that an Active job always has priority over a Pending job. I would like subjobs from the highest priority pending job to be processed first. Is it possible to do this with qube?
Thanks,
Jesse