Have you tried doing this with QOS?

Something like the following:

# default to SHARED unless QFLAGS=DEDICATED
NODEACCESSPOLICY        SHARED

QOSCFG[dedicated]       QFLAGS=PREEMPTEE:DEDICATED
QOSCFG[shared]          QFLAGS=
QOSCFG[realtime]        QFLAGS=PREEMPTOR:DEDICATED

CLASSCFG[dedicated]     QDEF=dedicated
CLASSCFG[shared]        QDEF=shared
CLASSCFG[realtime]      QDEF=realtime

// Steve

On 05/06/2011 01:33 PM, Naveed Near-Ansari wrote:
> 
> Hi,
> 
> I have a node access policy  of singlejob on the majority of my
> cluster.  I want to have a small subset of nodes that can be shared.  I
> tried implemeting this with classcfg, but it still uses the default and
> only allows one job on the nodes in that queue.
> 
> What is the proper way to do this?  I have seen a number of posts going
> the other way (overriding a shared access policy,) but known trying the
> opposite.
> 
> here is the relevant portions of my maui.cfg
> 
> NODEALLOCATIONPOLICY  LASTAVAILABLE
> NODEACCESSPOLICY SINGLEJOB
> 
> PREEMPTPOLICY REQUEUE
> 
> CLASSCFG[shared] NODEACCESSPOLICY=SHARED
> CLASSCFG[default]       FLAGS=PREEMPTEE
> CLASSCFG[realtime] FLAGS=PREEMPTOR
> 
> 
> Thank you.
> 
> Naveed
> _______________________________________________
> mauiusers mailing list
> [email protected]
> http://www.supercluster.org/mailman/listinfo/mauiusers
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to