@@ -68,50 +68,36 @@ Glossary
68
68
Submit number also appears in the job log path so that job log files
69
69
don't get overwritten.
70
70
71
-
72
- active
73
71
active task
74
- An active task is a task which is near ready to run, in the process of
75
- running, or which requires user intervention. These are all the tasks
76
- being actively managed by the scheduler at this point in the run.
72
+ Active tasks are those tasks held in memory to feed
73
+ the scheduling algorithm. They form the `` n=0 `` :term: ` n-window `,
74
+ so are always visible in the GUI.
77
75
78
- Active tasks are :
76
+ Active tasks include :
79
77
80
- - Tasks which have some, but not all of their
81
- :term: ` prerequisites <prerequisite> ` satisfied.
82
- - ``waiting `` tasks, that are actively waiting on :
78
+ - `` submitted `` and `` running `` tasks (i.e, tasks with active jobs)
79
+ - `` preparing `` tasks in the job submission pipeline
80
+ - ``waiting `` tasks that are nearly ready to run but :
83
81
84
- - :term: `xtriggers <xtrigger> `.
85
- - :ref: ` internal queues < InternalQueues >`
86
- - :ref: `runahead limit <RunaheadLimit >`
82
+ - have partially satisfied :term: `prerequisites <prerequisite> `
83
+ - or are waiting on :term: ` xtriggers <xtrigger> `,
84
+ :ref: ` internal queues < InternalQueues >`, or the :ref: `runahead limit <RunaheadLimit >`
87
85
88
- - ``preparing `` tasks - i.e. tasks in the process of submitting jobs
89
- - ``submitted `` and ``running `` tasks - i.e. those with active jobs
90
86
- tasks that reached a :term: `final status ` without completing their
91
87
:term: `required outputs <required output> `
92
88
(e.g. a task failed where success was required).
93
89
94
- Active tasks are in the ``n=0 `` :term: `window <n-window> ` which means they
95
- will always be displayed in the GUI and Tui.
96
-
97
- The distinction between active and non-active tasks is important for
98
- the computing of the :term: `runahead limit `.
99
90
91
+ n-window
92
+ The GUI provides a view of the workflow extending ``n `` graph edges out
93
+ from :term: `active tasks <active task> ` - which form the ``n=0 ``
94
+ window. The default n-window extent is ``n=1 ``.
100
95
101
96
active cycle
102
- A cycle point is active if it contains any :term: `active tasks <active task> `.
103
-
104
- Active cycles are counted towards the :term: `runahead limit `.
105
-
106
-
107
- window
108
- n-window
109
- active window
110
- The GUI provides a :term: `graph `-based window or view of the workflow at
111
- runtime, including tasks out to ``n `` graph edges from current
97
+ A cycle point is considered to be active if it contains any
112
98
:term: `active tasks <active task> `.
113
99
114
- Active tasks form the `` n=0 `` window .
100
+ Active cycles count toward the :term: ` runahead limit ` .
115
101
116
102
.. seealso ::
117
103
@@ -358,7 +344,6 @@ Glossary
358
344
"1/bar" -> "2/bar" -> "3/bar"
359
345
360
346
361
-
362
347
.. seealso ::
363
348
364
349
* :ref: `tutorial-integer-cycling `
@@ -376,12 +361,15 @@ Glossary
376
361
377
362
378
363
cycle point
379
- The unique label given to tasks that belong to a particular :term: `cycle `.
364
+ The label given to tasks that belong to a particular :term: `cycle `.
380
365
For :term: `integer cycling ` these will be integers, e.g. ``1 ``, ``2 ``,
381
366
``3 ``, etc.
382
367
For :term: `datetime cycling ` they will be :term: `ISO 8601 ` datetimes,
383
368
e.g. ``2000-01-01T00:00Z ``.
384
369
370
+ Cylc can run multiple cycles at once, dependencies allowing, so each
371
+ task instance has its own cycle point label.
372
+
385
373
.. seealso ::
386
374
387
375
* :term: `initial cycle point `
@@ -993,7 +981,8 @@ Glossary
993
981
This refers to starting a new instance of the Cylc :term: `scheduler `
994
982
program to manage a particular :term: `workflow `. This can be from
995
983
scratch, for installed workflows that haven't run previously, or to
996
- restart one that shut down prior to :term: `completion <workflow completion> `.
984
+ restart one that shut down prior to
985
+ :ref: `completion <workflow completion >`.
997
986
998
987
.. seealso ::
999
988
@@ -1170,7 +1159,7 @@ Glossary
1170
1159
stop
1171
1160
shutdown
1172
1161
A :term: `scheduler ` can shut down on request, or automatically on
1173
- :term : `workflow completion `. The :term: `workflow ` is then stopped and no
1162
+ :ref : `workflow completion `. The :term: `workflow ` is then stopped and no
1174
1163
further :term: `jobs <job> ` will be submitted.
1175
1164
1176
1165
By default, the scheduler waits for any submitted or running task
@@ -1216,9 +1205,10 @@ Glossary
1216
1205
workflow :term: `source directory ` before reload, rather than made by
1217
1206
editing the installed files directly.
1218
1207
1219
- :ref: `RemoteInit ` will be redone for each job platform, when the first job is submitted there after a reload.
1208
+ :ref: `RemoteInit ` will be redone for each job platform, when the first
1209
+ job is submitted there after a reload.
1220
1210
1221
- Any :term: ` task ` that is :term: `active <active task> ` at reload
1211
+ Any task that is :term: `active <active task> ` at reload
1222
1212
will continue with its pre-reload configuration.
1223
1213
The next instance of the task (at the next cycle point)
1224
1214
will adopt the new configuration.
@@ -1433,7 +1423,7 @@ Glossary
1433
1423
- Or, if expiry is optional, then the outputs are complete if it expires.
1434
1424
1435
1425
Tasks that achieve a :term: `final status ` with complete outputs have done
1436
- their job, allowing the workflow to move on.
1426
+ their job in the workflow , allowing the scheduler to move on.
1437
1427
1438
1428
Tasks that achieve a final status with incomplete outputs are retained in
1439
1429
:term: `n=0 <n-window> ` pending user intervention, and will :term: `stall `
@@ -1587,7 +1577,7 @@ Glossary
1587
1577
1588
1578
stall
1589
1579
stalled workflow
1590
- A stalled workflow has not run to :term: ` completion <workflow completion> `
1580
+ A stalled workflow has not :ref: ` run to completion <workflow completion >`
1591
1581
but cannot continue without manual intervention.
1592
1582
1593
1583
A stalled scheduler stays alive for a configurable timeout period
@@ -1613,8 +1603,7 @@ Glossary
1613
1603
1614
1604
1615
1605
suicide trigger
1616
- Suicide triggers remove :term: `tasks <task> ` from the
1617
- :term: `active window <n-window> ` at runtime.
1606
+ Suicide triggers remove tasks from the :term: `n=0 window <n-window> `.
1618
1607
1619
1608
They are denoted by exclamation marks, and are triggered like normal
1620
1609
dependencies. For instance, the following suicide trigger will remove the
@@ -1702,16 +1691,14 @@ Glossary
1702
1691
1703
1692
1704
1693
flow front
1705
- :term: `Active tasks <active task> `, i.e. tasks in the
1706
- :term: `n=0 window <n-window> `, with a common :term: `flow number `
1694
+ :term: `Active tasks <active task> ` with a common :term: `flow number `
1707
1695
comprise the active front of the flow.
1708
1696
1709
1697
1710
1698
flow merge
1711
- When a :term: `flow ` tries to spawn a child task and finds an instance
1712
- with the same task ID already exists in the ``n=0 `` :term: `active
1713
- window `, one merged task will carry both flow numbers forward.
1714
-
1699
+ If a spawned task encounters another :term: `active task ` with the same
1700
+ task ID, the two instances will merge and carry both :term: `flow `
1701
+ numbers forward.
1715
1702
1716
1703
event
1717
1704
An event is a milestone in the lifecycle of a :term: `workflow ` or
@@ -1747,12 +1734,9 @@ Glossary
1747
1734
1748
1735
runahead limit
1749
1736
runahead
1750
- In a :term: `cycling workflow `, the runahead limit determines how far
1751
- ahead of the oldest :term: `active cycle ` the workflow is permitted
1752
- to run.
1753
-
1754
- The "oldest active cycle point" is the first cycle in the workflow to contain
1755
- any :term: `active tasks <active task> ` (e.g. running tasks).
1737
+ In a :term: `cycling workflow ` the runahead limit determines how
1738
+ far ahead, in :term: `cycle points <cycle point> `, activity can
1739
+ extend beyond the earliest submitted or running tasks.
1756
1740
1757
1741
.. seealso ::
1758
1742
@@ -1761,26 +1745,12 @@ Glossary
1761
1745
* :term: `active cycle `
1762
1746
1763
1747
1764
- workflow completion
1765
- A workflow is complete, and the scheduler will automatically
1766
- :term: `shut down <shutdown> `, if no tasks remain in the
1767
- :term: `n=0 <n-window> `.
1768
-
1769
- That is, all active tasks have finished, and no tasks remain waiting on
1770
- :term: `prerequisites <prerequisite> ` or "external" constraints (such as
1771
- :term: `xtriggers <xtrigger> ` or task :term: `hold `).
1772
-
1773
- If no active tasks remain and all external constraints are satisfied,
1774
- but the n=0 window contains tasks waiting with partially satisfied
1775
- :term: `prerequisites <prerequisite> `, or tasks with :term: `final status ` and
1776
- :term: `incomplete outputs <output completion> `, then the workflow is
1777
- not complete and the scheduler will :term: `stall ` pending manual intervention.
1778
-
1779
1748
dummy task
1780
1749
A task which runs a trivially simple script such as ``sleep 1 ``,
1781
1750
``exit 0 `` or ``true ``, or which uses :ref: `task-run-modes.skip `
1782
1751
to avoid running a script at all.
1783
1752
1753
+
1784
1754
dummy mode
1785
1755
A workflow run mode that replaces all tasks with :term: `dummy tasks <dummy task> `.
1786
1756
See :ref: `workflow-run-modes.dummy `.
0 commit comments