Hi Robert,
What's your version of Slurm? We run 24.05.5.
The showpartitions tools compacts the list of nodenames using "scontrol
show hostlistsorted <nodelist>". Can you please check your scontrol
manual page if "hostlistsorted" is documented?
Does the command work without -N?
Thanks,
Ole
On 17-01-2025 19:54, Robert Kudyba wrote:
Hello Ole,
If you'd like me to post this on the Git page LMK. Any idea why this
error invalid encode argument with -N?
./showpartitions -N
Print partitions nodelists
Partition statistics for cluster axon at Fri Jan 17 13:51:43 EST 2025
Partition #Nodes #CPU_cores Cores_pending Job_Nodes
MaxJobTime Cores Mem/Node NODELIST
Name State Total Idle Total Idle Resorc Other Min Max Day-
hr:mn /node (GB)
nklab up 4 0 352 125 0 0 1 infin
10-00:00 48 191+invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
ctn up 3 1 168 152 0 0 1 infin
10-00:00 56 128 invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
issa up 5 1 384 128 0 0 1 infin
10-00:00 64 191+invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
naplab up 3 1 320 231 0 0 1 infin
10-00:00 64 515+invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
lkumar up 3 2 192 191 0 0 1 infin
10-00:00 64 515 invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
u19moc3 up 1 1 96 96 0 0 1 infin
10-00:00 96 257 invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
abbott up 3 2 192 187 0 0 1 infin
10-00:00 64 515 invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
miller up 3 2 192 190 0 0 1 infin
10-00:00 64 515 invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
burst up 25 10 1896 1300 0 0 1 infin
5-00:00 48 128+invalid encode argument
scontrol [<OPTION>] [<COMMAND>]
zrc up 6 1 376 190 0 0 1 infin
10-00:00 48 128+invalid encode argument
On Fri, Jan 17, 2025 at 7:31 AM Ole Holm Nielsen via slurm-users <slurm-
us...@lists.schedmd.com <mailto:slurm-users@lists.schedmd.com>> wrote:
Dear Slurm users,
The "showpartitions" tool prints a Slurm cluster partition status
overview
with 1 line per partition. Color coding helps locating under- or
over-utilized partitions.
The Slurm "showpartitions" tool has now been updated with a new "-N"
flag
which prints the nodename list for each partition.
You can download this tool from
https://urldefense.proofpoint.com/v2/url?
u=https-3A__github.com_OleHolmNielsen_Slurm-5Ftools_tree_master_partitions&d=DwICAg&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=SvjV7A7QvPs0H4AmOiKvni-pI3DeHZmNgrCPf9ije3ftTN6STgomGCGHyuspdUFz&s=e2VRHqxuaDlLYggVv8eW9tkQqfXU332ucgmnqiU3Toc&e=
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_OleHolmNielsen_Slurm-5Ftools_tree_master_partitions&d=DwICAg&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=SvjV7A7QvPs0H4AmOiKvni-pI3DeHZmNgrCPf9ije3ftTN6STgomGCGHyuspdUFz&s=e2VRHqxuaDlLYggVv8eW9tkQqfXU332ucgmnqiU3Toc&e=>
If you have any issues or suggestions, please write to
ole.h.niel...@fysik.dtu.dk <mailto:ole.h.niel...@fysik.dtu.dk> or
open an issue on GitHub.
Best regards,
Ole
--
Ole Holm Nielsen
PhD, Senior HPC Officer
Department of Physics, Technical University of Denmark
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
<mailto:slurm-users@lists.schedmd.com>
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com
<mailto:slurm-users-le...@lists.schedmd.com>
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com