Thanks, i will take a look to your plugin On 17/06/2013 14:44, Schmidtmann, Carl wrote: > To restrict a QOS to a certain partition I use a submission plugin > that sets the QOS to match the partition. This merges the > features/settings of partitions with the features/settings of QOS. > There is overlap with this and it means that you can't use the two > independently. You also have to create a QOS for every partition and > make sure the correct users have access to each QOS. And of course > there is the user education. > > My plugin code was posted to the list a while ago. I am not sure if it > was rolled into the distribution or not. The name was qos_part (or > maybe part_qos). I don't currently have access to the code but you can > retrieve it from the mail list archives or I can send it to you tomorrow. > > Carl > -- > Carl Schmidtmann > Center for Integrated Research Computing <http://www.circ.rochester.edu/> > University of Rochester <http://www.rochester.edu/> > > On Jun 17, 2013, at 8:15 AM, Chauvin Antoine wrote: > >> Hi, >> I want to put some limitation for users in my cluster. >> For example, i want to limit the number of big jobs per user and in >> the whole cluster. >> I did that using QOS like this: >> >> /sacctmgr add qos Name=monoNode Priority=0 Flags='DenyOnLimit' >> GrpSubmitJobs=1024 GrpJobs=512 MaxJobs=16 MaxWall=10000:00:00 >> MaxCPUs=8 MaxNodes=1 MaxSubmitJobs=128// >> // >> //sacctmgr add qos Name=parallel Priority=0 Flags='DenyOnLimit' >> GrpSubmitJobs=1024 GrpJobs=24 MaxJobs=6 MaxWall=1000:00:00 >> MaxCPUs=128 MaxNodes=16 MaxSubmitJobs=50// >> >> / >> >> Is this the best way to do it ? >> If this is the way to do it, is it possible to allow some QOS only >> for some partition ? Because I cant find a way to do that. >> >> >> Thanks >> >> -- >> >> ---------------------------------------------- >> Antoine CHAUVIN >> Groupe SR >> Synchrotron SOLEIL >> +33 1 69 35 93 23 >
-- ---------------------------------------------- Antoine CHAUVIN Groupe SR Synchrotron SOLEIL 01 69 35 93 23
