[slurm-users] New checktopology tool: Check consistency of /etc/slurm/topology.conf with nodelist in /etc/slurm/slurm.conf
Ole Holm Nielsen
Ole.H.Nielsen at fysik.dtu.dk
Mon Jan 21 12:02:02 UTC 2019
Hi Bjørn-Helge,
Thanks:
On 1/21/19 12:37 PM, Bjørn-Helge Mevik wrote:
> Two more details/enhancements:
>
> 1) Sites which use node names like c[1-20]-[1-36], would benefit from
> "sort -V" instead of just sort -- otherwise c10-12 will be listed before
> c2-12, for instance. (For sites that use names like c[01-20]-[01-36]
> there is no difference.) Not very important, but makes it easier to
> read the diff output.
Done.
> 2) It would be nice to filter out comment lines in topology.conf, for
> instance by using
>
> grep -i Nodes= $TOPOLOGYCONF | grep -v '^\s*#'
>
> instead of just
>
> grep -i Nodes= $TOPOLOGYCONF
Done.
New version at
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/nodes
/Ole
More information about the slurm-users
mailing list