compass.model.partition¶
- compass.model.partition(ntasks, config, logger, graph_file='graph.info')[source]¶
Partition the domain for the requested number of tasks
- Parameters:
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