

.. _examples.academic.single_task:

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

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

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

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

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

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


Running
-------

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

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

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/single_task


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

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

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

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

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

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


