Skip to content

Instantly share code, notes, and snippets.

@matthewrmshin
Created July 18, 2014 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewrmshin/c5e301e060a1987afaf7 to your computer and use it in GitHub Desktop.
Save matthewrmshin/c5e301e060a1987afaf7 to your computer and use it in GitHub Desktop.
A cylc suite of 100 tasks per cycle
#!jinja2
title=Basic suite
description=A basic suite of 100 tasks per cycle
[cylc]
UTC mode=True # Ignore DST
[scheduling]
initial cycle time=20130101
final cycle time=20130110
#runahead limit=12
[[dependencies]]
[[[P1D]]]
graph="""
{% for i0 in range(10) -%}
t{{i0}}9[-P2D] => t{{i0}}0
t{{i0}}0 => t{{i0}}1 => t{{i0}}2 => t{{i0}}3 => t{{i0}}4 => t{{i0}}5
t{{i0}}5 => t{{i0}}6 => t{{i0}}7 => t{{i0}}8 => t{{i0}}9
{% endfor -%}
"""
[[queues]]
[[[q_fam]]]
limit=100
members=root
[runtime]
[[root]]
[[[event hooks]]]
succeeded handler=true
failed handler=true
retry handler=true
submission failed handler=true
submission timeout handler=true
execution timeout handler=true
execution timeout=6
submission timeout=1
{% for i0 in range(10) -%}
{% for i1 in range(10) -%}
[[t{{i0}}{{i1}}]]
command scripting=sleep {{i1}}
{% endfor -%}
{% endfor -%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment