[GE users] Make jobs wait for available FLEXlm license

Gerhard Venter gventer at sun.ac.za
Fri May 30 14:49:01 BST 2008


Not that I am aware of - how do I check?

Gerhard

On Fri, 2008-05-30 at 08:38 -0500, McCalla, Mac wrote:
> Hi,
> 	Is the "-now" option being added by some default mechanism to
> the qsub? 
> 
> HTH,
> 
> Mac McCalla
> Houston, TX 
> 
> -----Original Message-----
> From: Chris Dagdigian [mailto:dag at sonsorol.org] 
> Sent: Friday, May 30, 2008 8:23 AM
> To: users at gridengine.sunsource.net
> Subject: Re: [GE users] Make jobs wait for available FLEXlm license
> 
> 
> Ignore the latter half of my confused reply. The normal behavior of SGE
> qsub is to accept a job and pend it forever in state "qw" if a resource
> request can not be satisfied. I can't remember off the top of my head
> what must be wrong for SGE to reject a job submission right away.
> 
> 
> On May 30, 2008, at 9:09 AM, 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
> 
> 
> ---------------------------------------------------------------------
> 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