Daniel, We usually use sview instead of smap, but you will find a fix here:
https://github.com/SchedMD/slurm/commit/2c8bd966ec7124fe93cc8818f6a4ff8205721649 Moe Quoting Danny Auble <[email protected]>: > Daniel, it appears you have found a bug. I know the "nodes" used to > wrap, and you could use the arrow keys to navigate anything that > wasn't on the screen, but it doesn't appear that is the case > anymore. My guess is there is an easy fix. If you find a solution > let us know and we will include it in the next release. > > Thanks, > Danny > > On 10/24/12 04:29, Daniel Kidger wrote: >> smap - one line of nodes exceeds the screen width >> >> My customers often use smap to show what their cluster is doing. >> sview is also used but often X11 isn't available. >> >> For a standard Linux cluster (ie not Cray or Bluegene toruses) >> smap appears to show the nodes as a single line of characters. >> One of my clusters has 480 nodes - this is clearly too wide for the >> display and gets truncated. >> >> I have looked at the source e.g. working_cluster.c and node_info.c >> There appears to be some support for multi-line display in smap but >> I cannot work out how to manage it or configure it. >> >> Can someone confirm if it is possible to show a 468 node cluster >> with smap as-is (slurm 2.3.5) with the lines wrapping as say 5 >> lines of 96 nodes = 480. ? >> >> Otherwise this is a request for this feature. >> >> The precedent is showstate from moab/maui which has the >> NODECFG[atlas379] FRAME=6 SLOT=18 >> stanza in the config file that allows explicit mapping of where >> nodes appear in the text based display. >> >> Daniel >> Bull Information Systems >> >> > >
