Cylc 8.3 Tip: Examples

If you need to implement a workflow pattern but are not sure where to start, take a look at the Cylc examples…

Examples — Cylc 8.4.0.dev documentation

These examples cover some of the main patterns for implementing Cylc workflows, including:

  • Hello world - A simple workflow which runs a single task (hello_world) once.

  • Integer Cycling - A basic cycling workflow which runs the same set of tasks over and over. Each cycle will be given an integer number.

  • Datetime Cycling - A basic cycling workflow which runs the same set of tasks over and over. Each cycle will be given a datetime identifier.

  • Converging workflow - A workflow which runs a pattern of tasks over and over until a convergence condition has been met.

  • Event driven Cycling - A pattern where Cylc waits for an external signal and starts a new cycle every time a signal is received.

  • Extending Workflow - A pattern that allows the workflow to be easily extended at a later date.

  • Inter-Workflow Triggering - This example shows how one workflow can “trigger off” of tasks in another workflow.

4 Likes