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

Partition the domain for the requested number of tasks

  • ntasks (int) – The number of tasks 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