| 1 |
[meta] |
| 2 |
title = Integer Cycling |
| 3 |
description = """ |
| 4 |
A basic cycling workflow which runs the same set of tasks over |
| 5 |
and over. Each cycle will be given an integer number. |
| 6 |
""" |
| 7 |
|
| 8 |
[scheduling] |
| 9 |
# tell Cylc to count cycles as numbers starting from the number 1 |
| 10 |
cycling mode = integer |
| 11 |
initial cycle point = 1 |
| 12 |
[[graph]] |
| 13 |
P1 = """ |
| 14 |
# this is the workflow we want to repeat: |
| 15 |
a => b => c & d |
| 16 |
# this is an "inter-cycle dependency", it makes the task "b" |
| 17 |
# wait until its previous instance has completed: |
| 18 |
b[-P1] => b |
| 19 |
""" |
| 20 |
|
| 21 |
[runtime] |
| 22 |
[[root]] |
| 23 |
# all tasks will "inherit" the configuration in the "root" section |
| 24 |
script = echo "Hello, I'm task $CYLC_TASK_NAME in cycle $CYLC_TASK_CYCLE_POINT!" |
| 25 |
[[a]] |
| 26 |
[[b]] |
| 27 |
[[c]] |
| 28 |
[[d]] |