Tested queue re-write within a $SGE_ROOT/$SGE_CELL/sge_request launched JSV ... it works! Hooray! That eliminates 4 dummy queues for us. Good, good stuff. We're very JSV now.
-----Original Message----- From: users-boun...@gridengine.org [mailto:users-boun...@gridengine.org] On Behalf Of Reuti Sent: Thursday, March 10, 2016 7:49 AM To: William Hay <w....@ucl.ac.uk> Cc: users@gridengine.org Subject: Re: [gridengine users] alias for queue > Am 10.03.2016 um 13:03 schrieb William Hay <w....@ucl.ac.uk>: > > On Thu, Mar 10, 2016 at 11:15:58AM +0100, Reuti wrote: >> >>> Am 10.03.2016 um 10:45 schrieb William Hay <w....@ucl.ac.uk>: >>> >>> On Thu, Mar 10, 2016 at 08:19:35AM +0000, sudha.penme...@wipro.com wrote: >>>> Hi, >>>> >>>> >>>> >>>> Is it possible to keep an old queue name (test.q) we have deleted already >>>> as an alias name for the newly created queue(prod.q). >>>> >>>> >>>> >>>> This way we could continue to work with old scripts. >>> Grid Engine doesn't have direct support for this AFAICT hHowever you can >>> rewrite >>> the requested queue from a JSV. Depending on where you put the jsv you >>> might have >>> to add a dummy test.q to convince grid engine to accept the queue. >> >> BTW: This is something I wondered about. GridEngine will check whether the >> requests are allowed and known before and after the JSV is run. This leads >> to exactly the situation that a dummy queue is needed. Would there be any >> flaw if the internal check by GridEngine is done only after the JSV has run? >> This would allow the JSV to correct any mis-submission and/or >> pseudo/dummy/alias to be resolved, being it names of queues or complexes. >> >> -- Reuti > AFAICT this isn't true for client side jsvs: > [ccaawih@login09 Scratch]$ qconf -sq test.q > No cluster queue or queue instance matches the phrase "test.q" > [ccaawih@login09 Scratch]$ qsub -q test.q -jsv ./testjsv testit.sh > 0.q_hard:=NULL > 0.q_soft:=NULL > Your job 821916 ("testit.sh") has been submitted Aha, that's good to know. I tested and faced it with the server side JSV only. -- Reuti > The two lines after the qsub are my debugging code logging the fact that it > deleted the request for a queue. I assume you could do the same from > the jsv invoked from $SGE_ROOT/$SGE_CELL/sge_request. > > William _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users