CPM: A software tool for Communication Performance Modelling

Generator of hierarchy files

This tool generates a hierarchy file automatically. At the moment, it bases its hierarchy on following rule:

  • if hostnames start with the same 3 characters, they are clustered under the same parent
  • after that, nodes are clustered according to the domain name after the first "." It is assumed that the environment will return the fully qualified name. The tool can be extended easily to work further on the fully qualified name

Usage:

 $ mpirun [mpi options] generate_hierarchy_input_file <prefix for cluster 1> <prefix for cluster 2>  ... >  h-file.out

The output of this tool can be used as input for the Hierarchical model builder. The output file might need some manual modifications.

For visualizing the ranks on each host, see Generator of rank-to-host mapping