Am 03.01.2012 um 17:38 schrieb Dave Love:

> Reuti <[email protected]> writes:
> 
>> Am 03.01.2012 um 11:34 schrieb Ben De Luca:
>> 
>>>    I wonder if I am miss remembering, but is there a way to
>>> configure a queue to have the same number of slots as there are  NCOR
>>> (or even NCPU) as per machine. I seem to remember doing this though I
>>> may have set this with hostlist some how?  I am running SGE 8.0.0e
>>> (son of gridengine)
> 
> [Beware that's not released.]
> 
>> If you want to have it generic, you could define 999 slots and use an
>> RQS per hosts to define it to match the number of cores automatically,
>> but it will make the output longer and give a (IMO) confusing output
>> for qstat.
> 
> I.e.
> 
>  $ qconf -srqs host-slots
>  {
>     name         host-slots
>     description  "restrict slots to core count"
>     enabled      TRUE
>     limit        hosts {*} to slots=$num_proc
>  }
> 
> How is it confusing, exactly?

In `qstat -f` you see the number of resv/used/tot. slots. All slots show up 
with the value of the queue configuration if I'm not mistaken, reading 999 then.

-- Reuti


> In case it's not clear, it isn't the same as just doing this with
> multiple queues on the host.
> 
>> To define it in the queue definition:
>> 
>> $ qconf -sq all.q
>> ...
>> slots 1,[node01=4],[node02=8],[@hexacore=6]
> 


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

Reply via email to