Debian Codegraph @

tests/f/job-kill/04-pbs/flow.cylc

raw
1 #!Jinja2
2
3 [scheduler]
4 [[events]]
5 expected task failures = 1/t1
6
7 [scheduling]
8 [[graph]]
9 R1 = t1:start=>stop
10
11 [runtime]
12 [[t1]]
13 script = sleep 120
14 {% if "CYLC_TEST_PLATFORM" in environ and environ["CYLC_TEST_PLATFORM"] %}
15 platform == {{ environ['CYLC_TEST_PLATFORM'] }}
16 {% endif %}
17 [[[job]]]
18 execution time limit = PT2M
19 [[[directives]]]
20 -l select=1:ncpus=1:mem=15mb
21 [[stop]]
22 script="""
23 cylc kill "$CYLC_WORKFLOW_ID//*/t1"
24 cylc stop "$CYLC_WORKFLOW_ID"
25 """