.. _mpassit_yaml: mpassit ======= Structured YAML to run MPASSIT is validated by JSON Schema and requires the ``mpassit:`` block, described below. If ``mpassit`` is to be run via a batch system, the ``platform:`` block, described :ref:`here `, is also required. .. include:: /shared/injected_cycle.rst Here is a prototype UW YAML ``mpassit:`` block, explained in detail below: .. highlight:: yaml .. literalinclude:: /shared/mpassit.yaml UW YAML for the ``mpassit:`` Block ---------------------------------- execution: ^^^^^^^^^^ See :ref:`this page ` for details. .. include:: /shared/stager.rst To reduce duplication of information in these sections, it may be helpful to reference the config value that specifies the number of cores used to run the executable. For example, instead of: .. code-block:: text mpassit: files_to_copy: x1.999.graph.info.part.192: /path/to/x1.999.graph.info.part.192 Jinja2 expressions can be used to reference the number of cores used for execution: .. code-block:: text mpassit: files_to_copy: x1.999.graph.info.part.{{ mpassit.execution.batchargs.cores }}: /path/to/x1.999.graph.info.part.{{ mpassit.execution.batchargs.cores }} namelist: ^^^^^^^^^ Supports ``base_file:`` and ``update_values:`` blocks (see :ref:`updating_values` for details). .. include:: /shared/validate_namelist.rst rundir: ^^^^^^^ The path to the run directory.