<div dir="ltr">Having tried just not even defining any partitions you hit this <a href="https://github.com/SchedMD/slurm/blob/master/src/common/node_conf.c#L383">this </a>check which seems to ensure you can't create a cluster with no nodes. Is it possible to create a control node without any compute nodes, e.g. as part of a staged deployment?<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><a href="http://stackhpc.com/" target="_blank">http://stackhpc.com/</a></div><div>Please note I work Tuesday to Friday.</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 18 Dec 2020 at 10:56, Steve Brasier <<a href="mailto:steveb@stackhpc.com">steveb@stackhpc.com</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"><div dir="ltr">Hi all,<div><br></div><div>According to the relevant <a href="https://slurm.schedmd.com/archive/slurm-20.02.5/slurm.conf.html" target="_blank">manpage</a> it's possible to define an empty partition using "Nodes= ".</div><div><br></div><div>However this doesn't seem to work (slurm 20.2.05):</div><div><br></div><div>[centos@testohpc-login-0 ~]$ grep -n Partition /etc/slurm/slurm.conf<br>72:PriorityWeightPartition=1000<br>105:PartitionName=compute Default=YES MaxTime=86400 State=UP Nodes= <br></div><div><br></div><div>(note there is a space after that final "=" but I've tried both with and without)</div><div><br></div><div>[centos@testohpc-login-0 ~]$ sinfo<br>sinfo: error: Parse error in file /etc/slurm/slurm.conf line 105: " Nodes= "<br>sinfo: fatal: Unable to process configuration file<br></div><div><br></div><div>Is this a bug, or am I doing it wrong?</div><div><br></div><div>thanks for any suggestions</div><div><br></div><div>Steve</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><a href="http://stackhpc.com/" target="_blank">http://stackhpc.com/</a></div><div>Please note I work Tuesday to Friday.</div></div></div></div></div></div></div>
</blockquote></div>