[Mauiusers] Maui ignores FLAGS in CLASSCFG

Jan Ploski Jan.Ploski at offis.de
Thu Nov 22 03:31:00 MST 2007


mauiusers-bounces at supercluster.org schrieb am 11/21/2007 07:06:44 PM:

> mauiusers-bounces at supercluster.org schrieb am 11/21/2007 06:43:55 PM:
> 
> > On Wed, Nov 21, 2007 at 06:40:37PM +0100, Jan Ploski alleged:
> > > Hello,
> > > 
> > > I have added the following line to my Maui config:
> > > 
> > > CLASSCFG[test] FLAGS=ADVRES:test.0.0
> > > 
> > > in hope that it would make jobs submitted to queue 'test' always use 
a 
> 
> > > standing reservation (which has a BYNAME attribute). However, the 
> > > submitted jobs don't receive this flag (checkjob shows that the only 

> flag 
> > > on the job is RESTARTABLE). In fact, the FLAGS parameter seems to be 

> > > ignored completely (I also tried with FLAGS=PREEMPTEE, 
> FLAGS=DEDICATED). 
> > > The configuration line with CLASSCFG[test] is not ignored because it 

> works 
> > > when I set PRIORITY=10000, for example. The log file does not reveal 

> any 
> > > shocking information.
> > > 
> > > I can force the flag to be set using qsub -W 
x:FLAGS:ADVRES:test.0.0, 
> but 
> > > I would like the queue to create this attribute automatically. Any 
> ideas?
> > 
> > On the CLASSCFG line, I think it's "JOBFLAGS" instead of "FLAGS".
> 
> Thanks. You are correct, and the documentation is wrong (
> http://www.clusterresources.com/products/maui/docs/a.fparameters.shtml).
> 
> Unfortunately, I still have a problem: now 'ADVRES' is added to flags, 
> rather than 'ADVRES:test.0.0' as required :-(

As far as I can see from code in MCred.c (case blocks for mcaJobFlags), no 
parsing occurs of anything after the ADVRES flag.
I also posted a bug report about parsing of QFLAGS=USERESERVED (
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=147).

But maybe there is an alternative solution to my problem:

I'd like jobs submitted to queue 'test' to run only on node45, jobs 
submitted to other queues to never run on that node. Are there any 
approaches which don't require use of the flaky ADVRES flag?

Best regards,
Jan Ploski


More information about the mauiusers mailing list