<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I found the problem. It was between the chair and keyboard: <br>
</p>
<p>
<blockquote type="cite">$ salloc -p general -q qos -t 00:30:00 </blockquote>
</p>
<p>When I type the qos right, it works: <br>
</p>
<p>$ salloc -p general -q debug -t 00:30:00 -A unix<br>
salloc: Granted job allocation 529343</p>
<p>$ scontrol show job 529343 | grep QOS<br>
Priority=13736 Nice=0 Account=unix QOS=debug<br>
</p>
<p>I will go stand in the corner now...<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">Prentice Bisbal
Lead Software Engineer
Princeton Plasma Physics Laboratory
<a class="moz-txt-link-freetext" href="http://www.pppl.gov">http://www.pppl.gov</a></pre>
<div class="moz-cite-prefix">On 7/15/19 3:18 PM, Prentice Bisbal
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7fb78f37-5fe7-17c6-a45e-8221dc6896bf@pppl.gov">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>That explanation makes perfect sense, but after adding debug to
my list of QOSes in my associations, I still get the same error:
<br>
</p>
<p>$ sacctmgr show user pbisbal withassoc -p <br>
User|Def
Acct|Admin|Cluster|Account|Partition|Share|MaxJobs|MaxNodes|MaxCPUs|MaxSubmit|MaxWall|MaxCPUMins|QOS|Def
QOS|<br>
pbisbal|unix|Administrator|pppl|unix||1|||||||dawson,debug,default,ellis,fenx,fielder,general,gque,greene,interactive,interruptible,jassby,kruskal,mccune,mque,normal,pswift,sque|general|<br>
pbisbal|unix|Administrator|pppl|transp||1|||||||dawson,debug,ellis,general,interactive,kruskal,mccune,mque,normal|general|<br>
pbisbal|unix|Administrator|test_pppl|transp||1|||||||dawson,debug,ellis,general,interactive,kruskal,mccune,mque,normal|general|<br>
pbisbal|unix|Administrator|test_pppl|unix||1|||||||dawson,debug,default,ellis,fenx,fielder,general,gque,greene,interactive,interruptible,jassby,kruskal,mccune,mque,normal,pswift,sque|general|</p>
<p>And then: <br>
</p>
$ salloc -p general -q qos -t 00:30:00 <br>
salloc: error: Job submit/allocate failed: Invalid qos
specification<br>
<br>
<pre class="moz-signature" cols="72">Prentice</pre>
<div class="moz-cite-prefix">On 7/15/19 2:55 PM, David Rhey wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEc96WGN4oFKis8zY5xv705FypbhpXo_rg_fA=QM+QnOaHJQRQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">I ran into this recently. You need to make sure
your user account has access to that QoS through sacctmgr.
Right now I'd say if you did sacctmgr show user <user>
withassoc that the QoS you're attempting to use is NOT listed
as part of the association.<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jul 15, 2019 at 2:53
PM Prentice Bisbal <<a href="mailto:pbisbal@pppl.gov"
moz-do-not-send="true">pbisbal@pppl.gov</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Slurm users,<br>
<br>
I have created a partition named general should allow the
QOSes <br>
'general' and 'debug':<br>
<br>
PartitionName=general Default=YES AllowQOS=general,debug
Nodes=.....<br>
<br>
However, when I try to request that QOS, I get an error:<br>
<br>
$ salloc -p general -q debug -t 00:30:00<br>
salloc: error: Job submit/allocate failed: Invalid qos
specification<br>
<br>
I'm sure I'm overlooking something obvious. Any idea what
that may be? <br>
I'm using slurm 18.08.8 on the slurm controller, and the
clients are <br>
still at 18.08.7 until tomorrow morning.<br>
<br>
--<br>
Prentice<br>
<br>
<br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">David Rhey<br>
---------------</div>
<div dir="ltr"><span style="font-size:12.8px">Advanced
Research Computing - Technology Services</span></div>
<div dir="ltr"><span style="font-size:12.8px">University
of Michigan</span></div>
</div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</body>
</html>