[GE users] resource reservation

Chris Dagdigian dag at sonsorol.org
Mon Feb 26 15:25:16 GMT 2007


oops. Missed Reuti saying the same thing. Sorry!

c



On Feb 26, 2007, at 10:23 AM, Chris Dagdigian wrote:

> This may not be optimal but this is how I usually approach the  
> general problem of "some applications need 100% exclusive use of a  
> node when they run ..."
>
> (1) Create a parallel environment called "greedy"
> (2) Make sure the greedy PE is configured with allocation_rule= 
> $pe_slots
> (3) Attach/associate the greedy PE to the cluster queues or queue  
> instances you care about
> (4) Restrict access to this PE via userlists and xuserlists if you  
> need to restrict access
>
> Then your special users or applications can submit jobs this way:
>
>  $  qsub -pe greedy=4 /path/to/my/job/script.sh
>
> ... the end result is that users requesting "greedy=4" will get  
> exclusive access to a node since the allocation rule "$pe_slots"  
> mandates that the requested slots MUST be within one physical  
> machine.  Running with greedy=4 also has the side effect of  
> consuming all 4 job slots on the machine so this means that other  
> users and tasks will be locked out for the duration of your special  
> job run.  When your greedy job exits, all 4 slots are released or  
> unlocked again for general use.
>
> Regards,
> Chris
>
>
>
>
>
>
> On Feb 22, 2007, at 7:01 PM, A listner wrote:
>
>>
>>
>> Hello All,
>>
>> I have a little special configuration to implement in
>> the cluster. Can someone Grid pro shed some light on
>> it?
>>
>> I have to configure one machine such that when a
>> particular  user or group of users submit a job then
>> it should land on that specific machine and lock the
>> machine from getting other jobs. After the job
>> finishes machine should be unlocked and be available
>> to other general users. Also in locked configuration
>> it should only allow one job. However, in unlocked
>> configuration it should be able to run more jobs (say
>> slots= 4).
>>
>>
>> Any idea?
>>
>> -S
>>
>>
>>
>> _____________________________________________________________________ 
>> _______________
>> Finding fabulous fares is fun.
>> Let Yahoo! FareChase search your favorite travel sites to find  
>> flight and hotel bargains.
>> http://farechase.yahoo.com/promo-generic-14795097
>>
>> ---------------------------------------------------------------------
>> 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