[GE users] Make jobs wait for available FLEXlm license

Gerhard Venter gventer at sun.ac.za
Fri May 30 14:48:36 BST 2008


Chris,

Thanks - I think your 2nd point may be the problem.  I did not
explicitly modify my queue.  I am trying to find out how to do that at
the moment.  Will report back when I figured it out.

Gerhard

On Fri, 2008-05-30 at 09:09 -0400, Chris Dagdigian wrote:
> Hi Gerhard,
> 
> Two things ...
> 
> (1) Adding the "-hard" flag before your "-l" argument will ensure that  
> SGE treats your resource request as a "must satisfy" condition rather  
> than a soft requirement
> 
> And finally from the error you are getting I am wondering if you are  
> missing a final componant where the custom requestable resource used  
> in the Olesen FLEXlm method has not yet been associated with a  
> particular queue.
> 
> Your license tracking method may be working fine but if the consumable  
> is not associated with a queue then that would explain the "no  
> suitable queue" error.
> 
> -Chris
> 
> 
> 
> On May 30, 2008, at 8:02 AM, Gerhard Venter wrote:
> 
> > I want to apologise up front for what must be a trivial question -
> > however I am stuck!  I have setup the Olesen Method of FlexLM
> > integration with SGE 6.0 and everything seems to work fine.  My  
> > problem
> > is how do a make a job wait until the requested number of licenses
> > become available?
> >
> > I currently submit my job as follows:
> >
> > qsub -l genesis=20 vrand.sub
> >
> > If there are less then 20 licenses available, I immediately get the
> > message:
> >
> > Unable to run job: error: no suitable queues.
> > Exiting.
> >
> > If there are 20 or more licenses available the job submits and runs
> > fine.  I would like my job to wait until the licenses becomes  
> > available
> > and then start running automatically.
> >
> > Thanks,
> > Gerhard
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 
-- 
+------------------------------------------------------------------+
|| Prof. Gerhard Venter
||
|| Departement Meganiese en        |  Department of Mechanical and
||   Megatroniese Ingenieurswese   |    Mechatronic Engineering
|| Universiteit Stellenbosch       |  Stellenbosch  University
|| Privaat Sak X1 Matieland 7602   |  Private Bag X1 Matieland 7602  
|| Suid-Afrika                     |  South Africa
||
|| Tel: +27 21 808 3560
|| E-Mail: gventer at sun.ac.za          Web: www.eng.sun.ac.za
+------------------------------------------------------------------+


---------------------------------------------------------------------
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