David Henkemeyer <david.henkeme...@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
signature.asc
Description: PGP signature