On 2017-05-09 10:27, Ole Holm Nielsen wrote:

On 05/09/2017 09:14 AM, Janne Blomqvist wrote:

On 2017-05-07 15:29, Ole Holm Nielsen wrote:

I'm announcing an initial version 0.1 of an Infiniband topology tool
"slurmibtopology.sh" for Slurm.

I have also created one, at

https://github.com/jabl/ibtopotool

You need the python networkx library (python-networkx package on centos
& Ubuntu, or install via pip).

Run with --help option to get some usage instructions. In addition to
generating slurm topology.conf, it can also generate graphviz dot files
for visualization.

Thanks for providing this tool to the Slurm community.  It seems that
tools for generating topology.conf have been developed in many places,
probably because it's an important task.

I installed python-networkx 1.8.1-12.el7 from EPEL on our CentOS 7.3
system and then executed ibtopotool.py, but it gives an error message:

# ./ibtopotool.py
Traceback (most recent call last):
  File "./ibtopotool.py", line 216, in <module>
    graph = parse_ibtopo(args[0], options.shortlabels)
IndexError: list index out of range

Could you help solving this?

Duh.. I just pushed a fix, thanks for reporting.


--
Janne Blomqvist, D.Sc. (Tech.), Scientific Computing Specialist
Aalto University School of Science, PHYS & NBE
+358503841576 || [email protected]

Reply via email to