compass.model.run_model

compass.model.run_model(step, update_pio=True, partition_graph=True, graph_file='graph.info', namelist=None, streams=None)[source]

Run the model after determining the number of tasks and threads

Parameters:
  • step (compass.Step) – a step

  • update_pio (bool, optional) – Whether to modify the namelist so the number of PIO tasks and the stride between them is consistent with the number of nodes and tasks (one PIO task per node).

  • partition_graph (bool, optional) – Whether to partition the domain for the requested number of tasks. If so, the partitioning executable is taken from the partition option of the [executables] config section.

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

  • namelist (str, optional) – The name of the namelist file, default is namelist.<mpas_core>

  • streams (str, optional) – The name of the streams file, default is streams.<mpas_core>