[slurm-users] New checktopology tool: Check consistency of /etc/slurm/topology.conf with nodelist in /etc/slurm/slurm.conf
Bjørn-Helge Mevik
b.h.mevik at usit.uio.no
Mon Jan 21 11:37:55 UTC 2019
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.
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
--
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
-------------- 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/20190121/97a08868/attachment.sig>
More information about the slurm-users
mailing list