Thanks for the insight. I will try it out on my end.
-Paul Edmon-
On 11/11/2015 3:31 AM, Dennis Mungai wrote:
Re: [slurm-dev] Re: Partition QoS
Thanks a lot, James. Helped a bunch ;-)
*From:*James Oguya [mailto:[email protected]]
*Sent:* Wednesday, November 11, 2015 11:21 AM
*To:* slurm-dev <[email protected]>
*Subject:* [slurm-dev] Re: Partition QoS
I was able to do this on slurm 15.08.3 on a test environment. Here are
my notes:
- create qos
sacctmgr add qos Name=vip MaxJobsPerUser=5 MaxSubmitJobsPerUser=5
MaxTRESPerUser=cpu=128
- create partition in slurm.conf
PartitionName=batch Nodes=compute[01-05] AllowQOS=vip Default=NO
MaxTime=UNLIMITED State=UP
I believe the keyword here is to specify the QoS name when creating
the partition, for my case, I used AllowQOS=vip
James
On Wed, Nov 11, 2015 at 4:16 AM, Danny Auble <[email protected]
<mailto:[email protected]>> wrote:
I'm guessing you also added the qos to your partition line in your
slurm.conf as well.
On November 10, 2015 5:08:24 PM PST, Paul Edmon
<[email protected] <mailto:[email protected]>> wrote:
I did that but it didn't pick it up. I must need to
reconfigure again after I made the qos. I will have to try it
again. Let you know how it goes.
-Paul Edmon-
On 11/10/2015 5:40 PM, Douglas Jacobsen wrote:
Hi Paul,
I did this by creating the qos, e.g. sacctmgr create qos
part_whatever
Then in slurm.conf setting qos=part_whatever in the
"whatever" partition definition.
scontrol reconfigure
finally, set the limits on the qos:
sacctmgr modify qos set MaxJobsPerUser=5 where
name=part_whatever
...
-Doug
----
Doug Jacobsen, Ph.D.
NERSC Computer Systems Engineer
National Energy Research Scientific Computing Center
<http://www.nersc.gov>
------------- __o
---------- _ '\<,_
----------(_)/ (_)__________________________
On Tue, Nov 10, 2015 at 2:29 PM, Paul Edmon
<[email protected] <mailto:[email protected]>>
wrote:
In 15.08 you are able to set QoS limits directly on a
partition. So how do you actually accomplish this?
I've tried a couple of ways, but no luck. I haven't
seen a demo of how to do this anywhere either. My goal
is to set up a partition with the following QoS
parameters:
MaxJobsPerUser=5
MaxSubmitJobsPerUser=5
MaxCPUsPerUser=128
Thanks for the info.
-Paul Edmon-
--
/James Oguya/
______________________________________________________________________
This e-mail contains information which is confidential. It is intended
only for the use of the named recipient. If you have received this
e-mail in error, please let us know by replying to the sender, and
immediately delete it from your system. Please note, that in these
circumstances, the use, disclosure, distribution or copying of this
information is strictly prohibited. KEMRI-Wellcome Trust Programme
cannot accept any responsibility for the accuracy or completeness of
this message as it has been transmitted over a public network.
Although the Programme has taken reasonable precautions to ensure no
viruses are present in emails, it cannot accept responsibility for any
loss or damage arising from the use of the email or attachments. Any
views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
KEMRI-Wellcome Trust Programme.
______________________________________________________________________