CPM: A software tool for Communication Performance Modelling

Hierarchical model builder

This tool builds a model file efficiently based on hierarchy information. The input file should be a hierarchical graphviz file (DOT format) with a single root element. Every element has two attributes:

  • type (0 or 1) - to denote a leaf or non-leaf element
  • model_data (empty string or model-specific data/parameters/etc) - can be initially used for storing hostnames

The output file itself is not hierarchical but flat. Example:

 $ mpirun -n 2 hierarchical_model -C Hockney -i h-file.out -o model.out

The model.out file can then be used by either of these tools: