| 1 |
[meta] |
| 2 |
title = "multiple inheritance example" |
| 3 |
|
| 4 |
description = """To see how multiple inheritance works: |
| 5 |
|
| 6 |
% cylc list -tb[m] WORKFLOW # list namespaces |
| 7 |
% cylc graph -n WORKFLOW # graph namespaces |
| 8 |
% cylc graph WORKFLOW # dependencies, collapse on first-parent namespaces |
| 9 |
|
| 10 |
% cylc config --item [runtime]ops_s1 WORKFLOW |
| 11 |
% cylc config --item [runtime]var_p2 foo""" |
| 12 |
|
| 13 |
[scheduling] |
| 14 |
[[graph]] |
| 15 |
R1 = "OPS:finish-all => VAR" |
| 16 |
|
| 17 |
[runtime] |
| 18 |
[[root]] |
| 19 |
[[OPS]] |
| 20 |
script = echo "RUN: run-ops.sh" |
| 21 |
[[VAR]] |
| 22 |
script = echo "RUN: run-var.sh" |
| 23 |
[[SERIAL]] |
| 24 |
[[[directives]]] |
| 25 |
job_type = serial |
| 26 |
[[PARALLEL]] |
| 27 |
[[[directives]]] |
| 28 |
job_type = parallel |
| 29 |
[[ops_s1, ops_s2]] |
| 30 |
inherit = OPS, SERIAL |
| 31 |
|
| 32 |
[[ops_p1, ops_p2]] |
| 33 |
inherit = OPS, PARALLEL |
| 34 |
|
| 35 |
[[var_s1, var_s2]] |
| 36 |
inherit = VAR, SERIAL |
| 37 |
|
| 38 |
[[var_p1, var_p2]] |
| 39 |
inherit = VAR, PARALLEL |