Skip to content

Converts an Infiniband topology file to graphviz dot format or slurm topology.conf format

License

Notifications You must be signed in to change notification settings

jabl/ibtopotool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ibtopotool

ibtopotool is a tool that can parse an Infiniband topology file (as generated by 'ibnetdiscover'), and do things. So far it supports:

  • Generate a graphviz dot file for visualizing the IB network.
  • Generate a slurm topology.conf configuration file.

Dependencies

This tool uses the NetworkX library version 2.x or newer to represent the nodes and links between them.

In order to generate a slurm topology file, the ClusterShell library is required.

To generate graphviz output (the default), one needs the pydot library.

To install all dependencies using a Python virtual environment:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Alternatively, if using Debian or Ubuntu:

apt install python3-pydot python3-networkx python3-clustershell

About

Converts an Infiniband topology file to graphviz dot format or slurm topology.conf format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •