Re: [slurm-users] Defining an empty partition

2023-05-11 Thread Steve Brasier
This is reviving a very old thread but for me at least it is still the top 2 hits in google for "define empty slurm partition" so it might help someone: The solution here (of defining NodeName=nonesuch) is a bit of red-herring. I don't know why I never tried this at the time but you can do: Parti

Re: [slurm-users] Defining an empty partition

2021-01-05 Thread Christopher Samuel
On 12/18/20 4:45 am, Tina Friedrich wrote: Yeah, I had that problem as well (trying to set up a partition that didn't have any nodes - they're not here yet). You can define nodes in Slurm that don't exist yet with State=FUTURE, that means slurmctld basically ignores them until you change that

Re: [slurm-users] Defining an empty partition

2021-01-05 Thread Frank Lenaerts
On Fri, Dec 18, 2020 at 10:56:46AM +, Steve Brasier wrote: > Hi all, Hi > According to the relevant manpage > it's > possible to define an empty partition using "Nodes= ". I think this is an error in the documentation and that

Re: [slurm-users] Defining an empty partition

2020-12-18 Thread Steve Brasier
Thank you Tina, I hadn't realised that would show as "n/a" not "down" in that case (which IMO would have been confusing). For anyone else hitting this I think the minimum you can do is something like: PartitionName=compute Default=YES State=UP Nodes=nosuch NodeName=nosuch The documented approach

Re: [slurm-users] Defining an empty partition

2020-12-18 Thread Tina Friedrich
Yeah, I had that problem as well (trying to set up a partition that didn't have any nodes - they're not here yet). I figured that one can have partitions with nodes that don't exist, though. As in, not even in DNS. I currently have this: [arc-slurm ~]$ sinfo PARTITION AVAILĀ  TIMELIMITĀ  NODES

Re: [slurm-users] Defining an empty partition

2020-12-18 Thread Steve Brasier
Having tried just not even defining any partitions you hit this this 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 s

[slurm-users] Defining an empty partition

2020-12-18 Thread Steve Brasier
Hi all, According to the relevant manpage it's possible to define an empty partition using "Nodes= ". However this doesn't seem to work (slurm 20.2.05): [centos@testohpc-login-0 ~]$ grep -n Partition /etc/slurm/slurm.conf 72:Prior