compass.model.partition

compass.model.partition(cores, config, logger, graph_file='graph.info')[source]

Partition the domain for the requested number of cores

Parameters
  • cores (int) – The number of cores that the model should be run on

  • config (compass.config.CompassConfigParser) – Configuration options for the test case, used to get the partitioning executable

  • logger (logging.Logger) – A logger for output from the step that is calling this function

  • graph_file (str, optional) – The name of the graph file to partition