On Fri, 17 Jul 2009, Greenseid, Joseph M (IS) wrote: > would setting resources_max.nodect=4 for the queue in torque do what you need?
Hi Joe: Yes, that would work. But, and I didn't really explain this at all in my note (was trying to be brief), I'm trying to have Maui do all the "policy stuff" and have torque just define the resource(s). I'd like to avoid having some policies in torque and some policies in Maui. If there's no way to do what I want just in Maui, then what you suggest is the way to go. But, I'm not sure at this point if the reason I can't get it all into Maui is because of a limitation of Maui or if I'm just being stupid. In any event, I appreciate your response. Michael > > --Joe > > ________________________________ > > From: [email protected] on behalf of Michael Homa > Sent: Fri 7/17/2009 3:44 PM > To: [email protected] > Subject: [Mauiusers] Limiting the number of processors by queue > (multi-dimension fairness policies) > > > > Hi: > > I'm new to Maui so if I'm asking a dumbass question, I apologize. Running > Maui 3.2.619 with torque 2.3.5 on our small cluster. > > I have three queues configured for students (we are a university). I want > to limit the number of nodes and processors students may use within the > configured queue. For example, I have a short queue (called student_short) > and I want to restrict the number of nodes per user to 4. I've tried the > following based upon what I've read in the Maui policy note as well as the > parameter guide: > > changeparam CLASSCFG[student_short] MAXPROC=32 MAXJOB=32 MAXIJOB=32 > MAXNODEPERUSER=4,4 > > Yet, when I submit a test job requesting more than four nodes: > > qsub -V -l nodes=6:ppn=2 -q student_short my_script > > the job executes with the allocation of six nodes: > > argo14-4/1+argo14-4/0+argo13-3/1+argo13-3/0+argo13-2/1+argo13-2/0+argo7-4/1 > +argo7-4/0+argo7-2/1+argo7-2/0+argo7-1/1+argo7-1/0 > > My understanding is the "MAXPROC" applies not to a single job but to the > totality of all jobs running in the queue. If I have sixteen jobs in the > queue, those jobs can use no more than 32 processors. And, for each user, > no more than 4 nodes per (both soft and hard set to four on the > MAXNODEPERUSER). > > > Michael Homa > Operating Systems Support and Database Group > Academic Computing and Communication Center > University of Illinois at Chicago > email: [email protected] > > _______________________________________________ > mauiusers mailing list > [email protected] > http://www.supercluster.org/mailman/listinfo/mauiusers > > > _______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
