It seems that you want to do job preemption and not gang scheduling
(time-slicing of parallel jobs). See this:
http://www.schedmd.com/slurmdocs/preempt.html
Quoting Yuri D'Elia <[email protected]>:
On Thu, 17 Nov 2011 12:14:15 +0100
"Yuri D'Elia" <[email protected]> wrote:
Third: I was expecting GANG to suspend jobs only if a job with a
higher priority is present in the queue, but what I see is that
jobs with _equal_ priority also get preempted. Is there a way to
avoid this?
The resulting behavior is kind of unexpected for me: twice as many
jobs are immediately scheduled on the nodes (due to FORCE:2),
saturating the resources. As a result, an entering new job with a
higher priority will have to wait twice as much to be running,
which is exactly the opposite of what I would like to accomplish.
Thanks for any hint.
Any suggestion about this?