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

Partition the domain for the requested number of cores

  • 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