Skip to content

Enhance graphicator program

Tom Cornebize requested to merge Ezibenroc/simgrid:master into master

Goal of this change:

  • Allow to dump the platform in a CSV file, in addition of the graphviz format.
  • Do not crash for clusters (e.g. fat-tree or dragonfly).

The new function ClusterBase::get_graph is an exact copy of the function RoutedZone::get_graph. Maybe a better way would be to use this implementation as the default in the base class? I am not sure of the implications here.

With this change, we can process the CSV file with tools like Gephi or NetworkX. Here is what I got with NetworkX and file fat_tree.xml.

fat-tree

Both the nodes and the links are represented as vertices of the graph, which is a bit misleading at first. With some post-processing of the graph (e.g. merging and/or removing nodes) it is possible to get back to what we may expect, but this is very ad-hoc.

fat-tree_processed

Merge request reports