

.. _examples.academic.ensemble:

.. include:: ../../../examples/academic/ensemble/README.rst

Path: :file:`examples/academic/ensemble`.

Configuring
-----------

.. literalinclude:: ../../../examples/academic/ensemble/workflow.cfg
    :language: ini
    :caption: :file:`workflow.cfg`

.. literalinclude:: ../../../examples/academic/ensemble/tasks.cfg
    :language: ini
    :caption: :file:`tasks.cfg`

.. literalinclude:: ../../../examples/academic/ensemble/hosts.cfg
    :language: ini
    :caption: :file:`hosts.cfg`



Extending
---------


.. literalinclude:: ../../../examples/academic/ensemble/ext/jinja_filters.py
    :start-at: import
    :caption: :file:`ext/jinja_filters.py`

.. literalinclude:: ../../../examples/academic/ensemble/workflow.ini
    :language: ini
    :caption: :file:`workflow.ini`

.. literalinclude:: ../../../examples/academic/ensemble/ext/validator_functions.py
    :start-at: import
    :caption: :file:`ext/validator_functions.py`

Running
-------

Overview
~~~~~~~~
Let's have an overview of stages before running the workflow.

.. command-output:: woom show overview
    :cwd: ../../../examples/academic/ensemble

Dry run
~~~~~~~
Now let's run the workflow in test (dry) and debug modes.

.. command-output:: woom run --log-no-color --log-level debug --dry-run
    :cwd: ../../../examples/academic/ensemble


Normal run
~~~~~~~~~~
And finally in run it.

.. command-output:: woom run --log-no-color
    :cwd: ../../../examples/academic/ensemble

Check status
~~~~~~~~~~~~
Check what is running or finished.

.. command-output:: woom show status
    :cwd: ../../../examples/academic/ensemble

Show run directories
~~~~~~~~~~~~~~~~~~~~
Show where tasks were executed.

.. command-output:: woom show run_dirs
    :cwd: ../../../examples/academic/ensemble


