[GE users] how do soft resource requests work ?

Dr Ian C. Smith i.c.smith at liverpool.ac.uk
Wed May 12 16:31:52 BST 2004


Thanks for that - my understanding from the docs was that
-soft/-hard acted as toggles.

-ian.

--On 12 May 2004 16:21 +0200 wilfried at gaensheimer.de wrote:

> On Wed, 12 May 2004, Dr Ian C. Smith wrote:
>
> I came across the same recently and at least with
> SGE 5.3p5 you need to write
>
># $ -q QueueA QueueB
># $ -soft -l AttributeA=4
># $ -soft -l AttributeB=4
>
> to get this resources added to the "soft" list.
> -soft works on the same line, only.
>
> One other surprise was to see that one can have the same
> resource request at the same time in the hard and soft
> limits with opposing values:
> We had a default of "-l short=false" in the global .sge_request, but
> wanted to start jobs with "-soft -l short=true". The outcome is that
> "short=false" was winning always, no job made it to a host offering
> "short=true".
>
> Bye
> Wilfried
>
>> I've studied the SGE docs long and hard but I still can't
>> make out how soft resource requests work. If I have
>> two queues QueueA and QueueB with complexes ComplexA
>> and ComplexB and corresponding attributes AttributeA
>> and AttributeB then can I get SGE to run a job on the
>> correct queue with say
>>
>> # $ -q QueueA QueueB
>> # $ -soft
>> # $ -l AttributeA=4
>> # $ -l AttributeB=4
>>
>> i.e. both conditions are satified. If this is a soft
>> request then surely neither condition needs to be satisfied
>> but if one is then the job should go to that queue.
>> Or am I missing something ?
>>
>> -ian.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list