[slurm-users] Bug when I run "sinfo --states=idle"
Bjørn-Helge Mevik
b.h.mevik at usit.uio.no
Fri Oct 29 08:46:03 UTC 2021
David Henkemeyer <david.henkemeyer at gmail.com> writes:
> I just noticed today that when I run "sinfo --states=idle", I get all the
> idle nodes, plus an additional node that is in the "DRAIN" state (notice
> how xavier6 is showing up below, even though its not in the idle state):
I *think* this could be because if you drain an idle node, it gets the
state "IDLE+DRAIN", and then "sinfo --states=idle" will include it. For
instance:
# sinfo --states=idle PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
normal* up 7-00:00:00 33 resv c1-[21-22,24-28,47-52,56],c2-[15-18,21-23,36-39,43,54-56],c3-[9-10,13,15]
bigmem up 14-00:00:0 1 idle c3-55
accel up 14-00:00:0 0 n/a
optimist up infinite 33 resv c1-[21-22,24-28,47-52,56],c2-[15-18,21-23,36-39,43,54-56],c3-[9-10,13,15]
optimist up infinite 1 idle c3-55
# drain c3-55 bhmtest
# scontrol show node c3-55
NodeName=c3-55 Arch=x86_64 CoresPerSocket=20
[...]
State=IDLE+DRAIN ThreadsPerCore=2 TmpDisk=0 Weight=1000 Owner=N/A MCS_label=N/A
[...]
# sinfo --states=idle
normal* up 7-00:00:00 33 resv c1-[21-22,24-28,47-52,56],c2-[15-18,21-23,36-39,43,54-56],c3-[9-10,13,15]
bigmem up 14-00:00:0 1 drain c3-55
accel up 14-00:00:0 0 n/a
optimist up infinite 1 drain c3-55
optimist up infinite 33 resv c1-[21-22,24-28,47-52,56],c2-[15-18,21-23,36-39,43,54-56],c3-[9-10,13,15]
--
B/H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20211029/4bf2410c/attachment.sig>
More information about the slurm-users
mailing list