Am 24.09.2011 um 14:49 schrieb Stephen Willey:

>>> An example:
>>> 
>>> 10 machines with X slots each
>>> 15 users (a,b,c,d,...o) submit array jobs with 1000 tasks, each of
>>> which requires X slots.
>> 
>> X is not the same X like above? Or are you using always machines exclusive
>> per array task?
> 
> In this particular case, the machines are being used exclusively but
> that was really just to give a simple example.  It's definitely not
> always the case.

I could think of the following implementation, but it needs an external cron 
job, checking the actual jobs therein. When it discovers that user A has an 
array job running using 8 slots out of 216 in the cluster for each instance, it 
will create a new RQS which reads:

limit users !A to slots=208

As the first rule in an RQS grants access, you will need one RQS per user (not 
many lines in one and the same RQS). It could also be extended to include the 
particular host, i.e. host Z having 12 cores:

limit users !A hosts Z to slots=4

Unfortunately there is no "jobs" rule implemented, which could implement it 
even better.

-- Reuti
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to