Isn’t DenyGroups valid only for frontend node definitions?
DenyGroups
Comma separated list of group names which are prevented from
executing jobs on this front end node.
May not be used with the AllowGroups option.
I think you need to look at AllowAccounts and DenyAccounts.
AllowAccounts
Comma separated list of accounts which may execute jobs in the
partition. The default value is "ALL".
NOTE: If AllowAccounts is used then DenyAccounts will not be
enforced. Also refer to DenyAccounts.
DenyAccounts
Comma separated list of accounts which may not execute jobs in
the partition. By default, no accounts
are denied access NOTE: If AllowAccounts is used then
DenyAccounts will not be enforced. Also refer
to AllowAccounts.
My 2 cents,
Miguel
> On 20 Feb 2017, at 10:37, mercan <[email protected]> wrote:
>
>
> Hi;
>
> We are using slurm-16.05.5. According to documentation, there is a
> "DenyGroups" keyword. But, when I try to use this keyword, "scontrol
> reconfig" says "unrecognized key: DenyGroups". You can find the output and
> original line of the slurm.conf below:
>
> # scontrol reconfig
> scontrol: error: Parsing error at unrecognized key: DenyGroups
> scontrol: error: Parse error in file /etc/slurm/slurm.conf line 127: "
> DenyGroups=t001 Priority=100 DisableRootJobs=NO RootOnly=NO Hidden=NO
> Shared=NO GraceTime=0 PreemptMode=OFF ReqResv=NO AllowAccounts=ALL
> AllowQos=ALL LLN=NO State=UP Nodes=s[001-002],f002,f[006-007]"
>
> LINE 127:
> PartitionName=defq Default=YES MinNodes=1 DefaultTime=5-00:00:00
> MaxTime=5-00:00:00 DenyGroups=t001 Priority=100 DisableRootJobs=NO
> RootOnly=NO Hidden=NO Shared=NO GraceTime=0 PreemptMode=OFF ReqResv=NO
> AllowAccounts=ALL AllowQos=ALL LLN=NO State=UP
> Nodes=s[001-002],f002,f[006-007]
>
> Is it a bug, or did I miss something. Thank you.
>
>
> Ahmet Mercan.