Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Jul 12, 2024
1 parent 71f5b01 commit 3e7a6a5
Show file tree
Hide file tree
Showing 3 changed files with 168,114 additions and 0 deletions.
18 changes: 18 additions & 0 deletions meta-workflow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Demonstrate using cylc play -t

This workflow contains two workflows, animals and fungi
which live largely separate existences.
If the user plays them using cylc vip then both will
be run, but the user can choose to use

```
cylc vip -t 2612/start_animals
cylc vip -t 2710/start_fungi
```

To effectively run only one workflow.

---

Written for Cylc Version: 8
Tested with Cylc Version: 8.3
38 changes: 38 additions & 0 deletions meta-workflow/flow.cylc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!jinja2
[meta]
title = Demonstrate using cylc play -t
description = """
This workflow contains two workflows, animals and fungi
which live largely separate existences.
If the user plays them using cylc vip then both will
be run, but the user can choose to use
```
cylc vip -t 2612/start_animals
cylc vip -t 2710/start_fungi
```
To effectively run only one workflow.
"""
written for cylc version = 8
tested with cylc version = 8.3

[scheduler]
allow implicit tasks = True
cycle point format = %Y

[scheduling]
initial cycle point = 2612
# final cycle point = 2612
[[graph]]
P1Y = """
start_all | start_animals[-P1Y] => start_animals
start_all | start_fungi[-P1Y] => start_fungi
start_animals => elephant => wombat & sloth
start_fungi => waxcap & cordyceps => yeast => amanita
"""

[runtime]
[[root]]
script = sleep 7
Loading

0 comments on commit 3e7a6a5

Please sign in to comment.