-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
1522 lines (1381 loc) · 53.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<!-- font-face rule needed here not in css file to avoid CORS block? -->
<style>
@font-face {
font-family: 'Titillium';
font-style: normal;
font-weight: 400;
src: local('TitilliumWeb'),
url('fonts/TitilliumWeb/TitilliumWeb-Regular.WOFF')
format('woff');
}
</style>
<link rel="stylesheet" href="css/index.css" />
<link rel="stylesheet" href="css/print.css" />
<link rel="stylesheet" href="highlight/styles/solarized-light.css">
<link rel="stylesheet" href="mermaid/mermaid.forest.css">
</head>
<body>
<div id="impress" data-transition-duration="1000">
<div id="title" class="step image" data-x="0" data-y="0" data-scale="3">
<div style="position:absolute; left:100px; top:0%; text-align:center;
margin-top:0">
<h1>Cylc: The Path To Exascale</h1>
<h5 style="color:white">Hilary Oliver, Oliver Sanders, Dave
Matthews<br/> 3rd ENES Workshop on Workflows<br/> 13 September
2018</h5>
<a href="https://cylc.github.io/cylc/">
<img src="img/cylc-logo-small.png"/>
</a>
</div>
<div style="position:absolute; bottom:0; width:80%; left:10%; height:200px">
<div style="width:45%; position:absolute; top:0; left:1%">
<a href="https://www.esiwace.eu">
<img src="img/esiwace-logo.png" style="width:100%">
</a>
<span style="width:80%; color:black; font-size:40%">Cylc development
is part-funded by ESiWACE</span>
</div>
<div style="width:25%; position:absolute; top:0; right:1%">
<a href="https://metoffice.gov.uk">
<img src="img/met-office-logo.png" style="width:100%">
</a>
<a href="https://niwa.co.nz">
<img src="img/niwa-2018-horizontal-final-400_0.png" style="width:100%"/>
</a>
</div>
</div>
</div>
<!-- Contents -->
<div id="contents" class="step" data-rel-x="500" data-rel-y="2500"
data-scale="4">
<ul style="margin-top:20%">
<li><img src="img/hilary.jpg" style="height:40px"/>
Exascale Workflow?</li>
<li><img src="img/hilary.jpg" style="height:40px"/>
Cylc (Re-)Introduction</li>
<li><img src="img/hilary.jpg" style="height:40px"/>
Exascale Challenges</li>
<li><img src="img/oliver.jpg" style="height:40px"/>
Meeting the Challenges of Exascale</li>
<li><img src="img/dave.jpg" style="height:40px"/>
Introduction to Rose</li>
</ul>
</div>
<!-- Prelude -->
<div id="prelude" class="step" data-rel-x="3000" data-rel-y="-3500">
<h1>Exascale Workflow</h1>
<p><i>What do we mean by this???</i></p>
<div class="person">
<img src="img/hilary.jpg" />
<div class="text">
<span class="name">Hilary Oliver</span>
<br />
<span class="description">NIWA (NZ)</span>
</div>
</div>
</div>
<div id="prelude-exa-comp" class="step" data-rel-x=1500 data-rel-y=0>
<h1>Exascale Computing</h1>
<ul>
<li> early-mid 2020s?
<ul>
<li> Aurora - Argonne Lab USA, Cray, 2021?</li>
</ul>
</li>
<li> 1 exaflop = a quintillion (a billion billion) flops
<ul>
<li> approx. processing power of the human brain?</li>
</ul>
</li>
<li> challenges?
<ul>
<li> hardware (and power 40MW = $US 40M/year)</li>
<li> software scaling</li>
<li> workflow?...</li>
</ul>
</li>
</ul>
<div class="notes">
</div>
</div>
<div class="step" id="prelude-exa-workflow" data-rotate="60">
<h1>Exascale Workflow?</h1>
<img src="img/exa-workflow-1.svg"
style="display:block; margin:auto"
alt="Exascale Workflow 1"/>
<p>(we've got this covered)</p>
<div class="notes">
<ul>
<li> even if the primary purpose of these machines is massive
exascale models, much of their time will be spent running many
smaller models (e.g ensembles in our business) and processing
vast amounts of data generated by them.</li>
<li>TERMINOLOGY: "suite" == "workflow"</li>
</ul>
</div>
</div>
<div class="step image" id="prelude-exa-utilization" data-rotate="60">
<img src="img/stormtrooper-duck.png"
alt="Exascale Workflow 2"
style="width:100%; position:absolute; top:15%"/>
<div style="position:absolute; left:65%; top:50%; width:320px;
font-size:90%">
workflow automation must be at the heart of utilizing these massive
rescources
</div>
<div class="notes">
</div>
</div>
<div id="prelude-exa-metoffice" class="step image" data-rotate="30">
<img src="img/mo-exascale-prog-scope.png"
style="width:100%; margin-top:15%"
alt="MO Exascale Scope"
class="right"/>
<div class="notes">
(Credit Keir Bovis: Met Office exascale programme scope)
</div>
</div>
<!-- Introduction -->
<div id="intro" class="step" data-rel-x="0" data-rel-y="1000"
data-rel-to="prelude">
<h1>Cylc (Re-)Introduction</h1>
<p><i>The Cylc Workflow Engine</i></p>
<div class="person">
<img src="img/hilary.jpg" />
<div class="text">
<span class="name">Hilary Oliver</span>
<br />
<span class="description">NIWA (NZ)</span>
</div>
</div>
<br />
<br />
<ul>
<li> cycling workflows </li>
<li> what Cylc is like</li>
</ul>
<div class="notes">
Cycling workflows:
<ul>
<li> what are they</li>
<li> why do we need them?</li>
</ul>
Then a quick overview of what Cylc is like.
<ul>
<li> domain of applicability</li>
<li> workflow definition </li>
<li> architecture </li>
<li> user interface </li>
</ul>
</div>
</div>
<div class="step image" id="intro-cycling-def" data-rel-x="1500"
data-rel-y="0" data-rotate="10">
<img src="img/cycling-workflow-layer8.png"
style="position:absolute; height:100%; left:60px"
alt=""
class=""/>
<img src="img/cycling-workflow-layer7.png"
style="position:absolute;height:100%; left:60px"
alt=""
class="substep"/>
<img src="img/cycling-workflow-layer6.png"
style="position:absolute; height:100%; left:60px"
alt=""
class="substep"/>
<img src="img/cycling-workflow-layer5.png"
style="position:absolute; height:100%; left:60px"
alt=""
class="substep"/>
<img src="img/cycling-workflow-layer4.png"
style="position:absolute; height:100%; left:60px"
alt=""
class="substep"/>
<img src="img/cycling-workflow-layer3.png"
style="position:absolute; height:100%; left:60px"
alt=""
class="substep"/>
<img src="img/cycling-workflow-layer2.png"
style="position:absolute; height:100%; left:60px"
alt=""
class="substep"/>
<img src="img/cycling-workflow-layer1.png"
style="position:absolute; height:100%; left:60px"
alt=""
class="substep"/>
<div class="notes">
<ul>
<li>repeat cycles...</li>
<li>...there's inter-cycle dependence between some task...</li>
<li>...which is technically no different to intra-cycle
dependence...</li>
<li>...no need to label cycle points (boxes) as if they have global
relevance...</li>
<li>... so you can see this is actually an infinite single workflow
that happens to be composed of repeating tasks </li>
</ul>
</div>
</div>
<div class="step image" id="intro-cycling-vid-key" data-rotate="20">
<img src="img/animation-key-1.png" style="height:100%; margin-left:18%"
alt="animation key"
class="center"/>
<div class="notes">
The key to an animation of how cylc manages such an infinite workflow.
</div>
</div>
<div class="step image" id="intro-cycling-vid" data-rotate="30">
<video onclick="this.paused ? this.play() : this.pause();"
style="width:100%; margin-top:20px">
<source src="img/cycling-workflow-10-retries.webm">
Your browser does not support webm video
</video>
<div class="notes">
Cylc's <i>dynamic cycling</i> mode.
</div>
</div>
<div id="intro-cycling-why" class="step" data-rotate="30">
<h2>What's cycling needed for?</h2>
<ul>
<li> clock-limited real time forecasting</li>
<li> short chunks of a long simulation</li>
<li> steps in some iterative process (e.g....)</li>
<li> processing datasets <i>as concurrently as possible</i></li>
<li> pipelines</li>
</ul>
<div class="notes">
<ul>
<li> dynamic cycling is not strictly needed for small, short
workflows.</li>
<li> historically achieved (NWP) with sequential whole cycles.</li>
</ul>
</div>
</div>
<div class="step image" data-rotate="30" id="intro-cycling-catchup">
<img src="img/dep-two-cycles.svg"
style="position:absolute; width:100%; top:10%"
alt=""
class=""/>
<img src="img/timeline-three-a.svg"
style="position:absolute; top:60%; width:100%"
alt=""
class="substep"/>
<img src="img/timeline-three.svg"
style="position:absolute; top:60%; width:100%"
alt=""
class="substep"/>
<div class="notes">
Catch-up from delays much faster if inter-cycle dependence is
explicitly managed.
</div>
</div>
<div class="step" data-rotate="210" id="intro-cycling-pipeline">
<h3>aside: pipelines</h3>
<div class="mermaid" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef B2 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef C3 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<div class="mermaid substep" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#fcf,stroke:#b8b,stroke-width:5px;
classDef B2 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef C3 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<div class="mermaid substep" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#cff,stroke:#8bb,stroke-width:5px;
classDef B2 fill:#fcf,stroke:#b8b,stroke-width:5px;
classDef C3 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<div class="mermaid substep" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#ffc,stroke:#bb8,stroke-width:5px;
classDef B2 fill:#cff,stroke:#8bb,stroke-width:5px;
classDef C3 fill:#fcf,stroke:#b8b,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<div class="mermaid substep" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef B2 fill:#ffc,stroke:#bb8,stroke-width:5px;
classDef C3 fill:#cff,stroke:#8bb,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<div class="mermaid substep" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef B2 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef C3 fill:#ffc,stroke:#8bb,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<div class="mermaid substep" style="position:absolute; top:20%; height:16%">
%% This is a comment in mermaid markup
graph LR
A(process<br />A)
B(process<br />B)
C(process<br />C)
A-->B
B-->C
classDef A1 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef B2 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
classDef C3 fill:#d7d7d7,stroke:slategray,stroke-width:5px;
class A A1
class B B2
class C C3
</div>
<pre class="substep"><code class="ini" style="position:absolute; top:35%; height 50%">
[scheduling]
[[dependencies]]
[[[P1]]]
graph = """A => B => C
A[-P1] => A
B[-P1] => B
C[-P1] => C"""
</code></pre>
<div class="substep" style="position:absolute; top:6%; right:0;
width:35%; height:100%; background:#d7d7d7">
<img src="img/cylc-pipeline-1.svg" style="width:100%" alt=""/>
</div>
<div class="substep" style="position:absolute; top:6%; right:0; width:35%;
height:100%; background:#d7d7d7">
<img src="img/cylc-pipeline-2.svg" style="width:60%" alt=""/>
</div>
<pre class="substep"><code class="ini" style="position:absolute; top:35%;
background:#d7d7d7; height:50%">
[scheduling]
[[dependencies]]
[[[P1]]]
graph = """A => B => C"""
</code></pre>
<div class="substep" style="position:absolute; top:6%; right:0; width:35%;
height:100%; background:#d7d7d7">
<img src="img/cylc-pipeline-3.svg" style="width:80%" alt=""/>
</div>
<div class="notes">
</div>
</div>
<div class="step" id="intro-what-cylc-is-like">
<h3>What Cylc Is Like</h3>
<ul>
<li>complex "macro-scale" cycling workflows in HPC</li>
<li>text config file (with programmatic templating)
<ul>
<li>treat workflow definitions like source code</li>
<li>efficiency: inheritance, graph notation, templating</li>
</ul>
<li>light-weight, flexible, and general
<ul>
<li>handles meta-scheduling and job management</li>
<li>no assumptions about data movement etc.</li>
<li>use any command, script, or program, as a task</li>
<li>ANY date-time or integer cycling sequence</li>
</ul>
</li>
<li> ETC...</li>
</ul>
<div class="notes">
<p>Not currently well suited to very large numbers of small
quick-running jobs (later...)</p>
<p>A workflow is primarily a configuration of the workflow engine,
and a config file is easier <i>for most users</i> and <i>most use
cases</i> than programming to a Python API. However, ...!</p>
<p>ETC.: event handling, checkpointing, extreme restart, ...</p>
</div>
</div>
<div class="step image" id="intro-cylc-arch">
<img src="img/cylc-arch.png" style="width:100%; margin-top:40px" alt=""/>
<div class="notes">
distributed architecture: ad hoc server per workflow
</div>
</div>
<div class="step image" id="intro-cylc-gui">
<img src="img/gcylc-1.png"
style="position:absolute; width:100%; top:25px"
alt=""
class=""/>
<img src="img/gcylc-3.png"
style="position:absolute; width:100%; top:25px"
alt=""
class="substep"/>
<img src="img/gscan.png"
style="position:absolute; width:100%; top:25px"
alt=""
class="substep"/>
<img src="img/rose-bush.png"
style="position:absolute; width:100%"
alt=""
class="substep"/>
<div class="notes">
Plus comprehensive CLI.
</div>
</div>
<div class="step" id="intro-cylc-hello-world" data-rotate="30">
<img src="img/hello.svg"
style="width:35%; position:absolute; top:35%; right:0"
alt=""/>
<pre><code class="ini" style="position:absolute; top:0">
# Hello World! Plus
[scheduling]
[[dependencies]]
graph = "hello => farewell & goodbye"
</code></pre>
<pre class="substep"><code class="ini" style="position:absolute; top:0">
# Hello World! Plus
[scheduling]
[[dependencies]]
graph = "hello => farewell & goodbye"
[runtime]
[[hello]]
script = echo "Hello World!"
</code></pre>
<pre class="substep"><code class="ini" style="position:absolute; top:0">
# Hello World! Plus
[scheduling]
[[dependencies]]
graph = "hello => farewell & goodbye"
[runtime]
[[hello]]
script = echo "Hello World!"
[[[environment]]]
# ...
[[[remote]]]
host = hpc1.niwa.co.nz
[[[job]]]
batch system = PBS
# ...
# ...
# ...
</code></pre>
<div class="notes">
Plus:
<ul>
<li>[runtime] is an inheritance heirarchy for efficient sharing of
common settings
</li>
</ul>
</div>
</div>
<div class="step" id="intro-hello-world-2" data-rotate="30">
<img src="img/hello-0.svg"
style="width:35%; margin-top:10%; display:block; position:absolute;
right:0"
alt=""/>
<img src="img/hello.svg"
style="width:35%; margin-top:10%; display:block; position:absolute;
right:0"
class="substep"
alt=""/>
<pre><code class="ini">
#!Jinja2
{% set SAY_BYE = false %}
[scheduling]
[[dependencies]]
graph = """hello
{% if SAY_BYE %}
=> goodbye & farewell
{% endif %}
"""
[runtime]
# ...
</code></pre>
<div class="notes">
</div>
</div>
<div class="step image" id="intro-families" data-rotate="90">
<img src="img/ensemble1.svg"
style="position:absolute; top:20%; width:30%"
alt=""/>
<img src="img/ensemble2.svg"
style="position:absolute; top:5%; right:0; width:55%"
alt=""
class="substep"/>
<img src="img/ens_plain.svg"
style="position:absolute; bottom:0; right:0; width:60%"
alt=""
class="substep"/>
<div class="notes">
</div>
</div>
<div class="step" id="intro-params-1" data-rotate="40">
<img src="img/param-simple.svg"
style="width:50%; margin-left:25%"
alt="" class=""/>
<pre><code class="ini">[[dependencies]]
graph = "pre => sim<M> => post<M> => done"
# with M = 1..5</code></pre>
<img src="img/params-5.svg"
style="width:50%; margin-left:25%"
alt="" class=""/>
<div class="notes">
</div>
</div>
<div class="step" id="intro-params-2" data-rotate="-30">
<img src="img/param-simple-2.svg"
style="width:70%; margin-left:15%"
alt="" class=""/>
<pre><code class="ini" style="font-size:20px">[[dependencies]]
graph = "prep => init<R> => sim<R,M> => post<R,M> => close<R> => done"
# with M = a,b,c; and R = 1..3</code></pre>
<img src="img/params-5-2.svg"
style="width:86%; margin-left:7%"
alt="" class=""/>
<div class="notes">
</div>
</div>
<div class="step" id="intro-cycling-suiterc" data-rotate="30">
<div style="display:block; position:absolute; top:0">
<pre><code class="ini">
[cylc]
cycle point format = %Y-%m
[scheduling]
initial cycle point = 2010-01
[[dependencies]]
[[[R1]]]
graph = "prep => foo"
</code></pre>
<div class="notes">
</div>
</div>
<div class="substep" style="display:block; position:absolute; top:0">
<pre><code class="ini">
[cylc]
cycle point format = %Y-%m
[scheduling]
initial cycle point = 2010-01
[[dependencies]]
[[[R1]]]
graph = "prep => foo"
[[[P1M]]]
graph = "foo[-P1M] => foo => bar & baz => qux"
</code></pre>
</div>
<div class="substep" style="display:block; position:absolute; top:0;">
<pre><code class="ini">
[cylc]
cycle point format = %Y-%m
[scheduling]
initial cycle point = 2010-01
[[dependencies]]
[[[R1]]]
graph = "prep => foo"
[[[P1M]]]
graph = "foo[-P1M] => foo => bar & baz => qux"
[[[R2/^+P2M/P1M]]]
graph = "baz & qux[-P2M] => boo"
</code></pre>
</div>
<div class="notes">
</div>
</div>
<div class="step image" id="cycling-def-image" data-rotate="90">
<img src="img/cycling-suiterc-example.svg"
style="height:100%; margin-left:10%"
alt="">
<div class="notes">
</div>
</div>
<!-- Exascale I -->
<div id="exa1" class="step" data-rel-x="0" data-rel-y="1000"
data-rel-to="intro">
<h1>Exascale Challenges</h1>
<p><i>Present capabilities and challenges</i></p>
<div class="person">
<img src="img/hilary.jpg" />
<div class="text">
<span class="name">Hilary Oliver</span>
<br />
<span class="description">NIWA (NZ)</span>
</div>
</div>
</div>
<div class="step" id="exa1-successes" data-rel-x="1500" data-rel-y="0">
<p>(Successes so far, before exa-scalability...)</p>
<ul>
<li>All kinds of cycling workflows for NWP & climate, in research
& production</li>
<li>NIWA: "lights out" operation with Cylc since 2011?</li>
<li>Met Office: 460,000 core HPC (most powerful weather and climate
machine in the world): ~entire workload managed with Cylc
</li>
<li><a href="https://cylc.github.io/cylc/users.html">many others...</a></li>
</ul>
</div>
<div class="step image" id="exa1-gui-1" data-rel-x="1500" data-rel-y="0">
<img src="img/gcylc-3.png"
style="width:100%; margin-top:25px"
alt=""
class=""/>
<div class="notes">
<p>This is a technical necessity, to survive into the exascale
era!</p>
</div>
</div>
<div class="step" id="exa1-gui-2" data-rotate="30">
<h2>Immediate: Web GUIs, Python 3</h2>
<img src="img/cylc-web-arch.png"
style="position:absolute; right:0; top:25%"
alt=""/>
<div style="position:absolute; width:60%">
<ul>
<li>Python 2 is near end of life</li>
<li>PyGTK GUIs are near obsolete</li>
</ul>
<ul>
<li> web GUI work starting
<ul>
<li>need new architecture!</li>
</ul>
</li>
</ul>
</div>
<div class="notes">
</div>
</div>
<div class="step image" id="exa1-worfklow" data-rotate="60">
<img src="img/stormtrooper-duck.png"
alt="Exascale Workflow 2"
style="width:100%; position:absolute; top:15%"/>
<div style="position:absolute; left:65%; top:50%; width:310px">
THEN: scaling; config API; visualization;
light sub-suites...
</div>
<div class="notes">
</div>
</div>
<div class="step image" id="exa1-nzlam-1">
<div style="position:absolute; top 0; left:0 width:100%; height:100%;
background:#d7d7d7">
<img src="img/nzlam-ungrouped-2.svg"
style="margin-top:10%; width:100%;" alt=""/>
</div>
<div class="substep" style="position:absolute; top 0; left:0; width:100%;
height:100%; background:#d7d7d7">
<img src="img/nzlam-m10.svg"
style="margin-left:35%; height:100%" alt=""/>
</div>
<div class="substep" style="position:absolute; top 0; left:0; width:100%;
height:100%; background:#d7d7d7">
<img src="img/nzlam-m30.png"
style="margin-top:0px; margin-left:40%; height:100%" alt=""/>
</div>
<div class="substep" style="position:absolute; top 0; left:0; width:100%;
height:100%; background:#d7d7d7">
<img src="img/nzlam-m30-zoom.png"
style="position:absolute; top 0; left:20px; height:100%" alt=""/>
</div>
<div class="notes">
<ul>
<li> 3 cycles of a small deterministic regional NWP suite. Obs
processing tasks in yellow. Atmospheric model red, plus DA and
other pre and post-processing tasks A few tasks ... generates
thousands of products from a few large model output files.</li>
<li> ... ~45 tasks (3 cycles)</li>
<li> ... as a 10-member ensemble, ~450 tasks (3 cycles)</li>
<li> ... as a 30-member ensemble, ~1300 tasks (3 cycles)</li>
</ul>
</div>
</div>
<div class="step" id="exa1-uh-oh" data-rotate="60">
Cylc currently scales to 10ks of tasks (with caveats)
<ul>
<li> Tested sans GUI at 50k tasks (need lots of RAM)</li>
<li> Fine for "normal" large ensemble suites</li>
</ul>
BUT a problem has emerged: <i>incremental forecast-time</i>
ensemble verification and product-generation:
<ul>
<li>multi-dimensional (nested) cycling</li>
<li>many small tasks ... with non-trivial dependencies</li>
<li>automatic reconfiguration of huge suites</li>
</ul>
<div class="notes">
(caveats: amount of config per task; amount of runahead; server
resources; GUI, esp. graph view)
<ul>
<li>Met Office IMPROVER: 100k <i>jobs</i> per cycle.</li>
</ul>
Handling this kind of suite better leads to applicability in other
domains: massive numbers of small tasks PLUS complex workflow
and production capabilities.
</div>
</div>
<div class="step image" id="exa1-ens-post-1" data-rotate="10">
<div style="position:absolute; background:rgb(215,215,215); height:100%;
width:100%">
<img src="img/ensemble-post-0.svg"
style="margin-left:20%; height:100%"
alt=""
class=""/>
</div>
<div style="position:absolute; background:rgb(215,215,215); height:100%;
width:100%" class="substep">
<img src="img/ensemble-post-1.svg"
style="width:100%; margin-top:100px"
alt=""/>
</div>
<div style="position:absolute; background:rgb(215,215,215); height:100%;
width:100%" class="substep">
<img src="img/ensemble-post-2.svg"
style="width:100%; margin-top:100px"
alt=""/>
</div>
<div class="substep" style="position:absolute; bottom:160px">
1 member, <span style="color:hotpink"> 2 files/fc-hour for 10 fc-hours,
1 tasks/file = 1 x 2 x 10 x 1 = 20 jobs per cycle</span> ...
</div>
<div class="substep" style="position:absolute; bottom:30px">
<br/>
30 members, 7 files/fc-hour for 10 fc-days, 5 tasks/file ... <br/>
<span style="color:deeppink">30 x 7 x (24x10) x 5 = 250,000 jobs per
cycle!</span>
</div>
<div class="notes">
5 tasks per file: i.e. each of the (expanded) pink nodes is a sub-workflow
</div>
</div>
<div class="step" id="exa1-workarounds-now">
<p>Problem is the parameterized "nested cycle" over forecast hour.
To handle this NOW, we need:</p>
<ul>
<li> a lot of <i>bunching</i> of small jobs, or</li>
<li> <i>sub-suites</i>: super-efficient dynamic cycling, but:
<ul>
<li> 30+ suites (per cycle) instead of 1 suite!</li>
<li> log directory housekeeping?</li>
<li> start-up, kill, restart, failure recovery etc.?</li>
</ul>
</li>
<li> either way: too many log files - 5+ per job</li>
<li> (FS and resource manager also bottlenecks now)</li>
</ul>
<div class="notes">
<ul>
<li>NOTE: current HPC infrastructure can't handle this yet
either</li>
<li> these tasks totally dominate the workflow</li>
<li> cylc can have multiple "top-level" dynamic cycling sequences in
one suite, but nested cycles still have to be parameterized</li>
</ul>
</div>
</div>
<div class="step" id="exa1-worse">
<h3>BUT actually it's worse than this!</h3>
Real ensemble post-processing systems may:
<ul>
<li>aggregate output from multiple model suites </li>
<li>have complex verification + product-generation workflows that are
not bunching-friendly</li>
<li>require automatic (or even dynamic) structural re-configuration
to swap different product modules (e.g.) in and out</li>
</ul>
<div class="notes">
<ul>
<li> not bunching friendly: complex dependencies within the bunch</li>
</div>
</div>
<div class="step" id="exa1-what-to-do-next">
<h4>Plans to address these issues:</h4>
<ul>
<li>general efficiency gains</li>
<li>event-driven "spawn-on-demand" scheduling</li>
<li>scheduler kernel for light-weight suite-in-a-job without
all the job log files of current sub-suites</li>
<li>Python workflow configuration API </li>
<li>self-assembling workflows</li>
<li>... <a href="https://github.com/cylc/cylc">get involved on
GitHub</a></li>
</ul>
(now over to Oliver...)
</div>
<!-- Exascale II -->
<div id="exa2" class="step" data-rel-x="0" data-rel-y="1000"
data-rel-to="exa1">
<h1>Meeting Exascale Challenges</h1>
<p><i>An outline of some potential pathways for future development</i></p>
<div class="person">
<img src="img/oliver.jpg" />
<span class="name">Oliver Sanders</span>
<br />
<span class="description">Met Office (UK)</span>
</div>
</div>
<div id="exa2-outline" class="step" data-rel-x="1500" data-rel-y="200">
<object data="img/bigger.svg" type="image.svg+xml" height="1800px">
</object>
</div>
<div id="exa2-outline-bigger" class="step" data-rel-x="1000" data-rel-y="0">
</div>
<div id="exa2-outline-bigger2" class="step" data-rel-x="1000" data-rel-y="0">
</div>
<div id="exa2-vis-new-gui" class="step" data-rel-x="2200"
data-rel-y="-240" data-scale="0.10" data-rel-to="exa2-outline">
<!-- <h2>The Visualisation Problem</h2>-->
<!-- <center>-->
<!-- <object id="graph" data="img/global.svg" type="image/svg+xml">-->
<!-- </object>-->
<!-- [><object id="graph" data="img/nzlam-m30.svg" type="image/svg+xml"<]-->
<!-- [> width="1000px" height="600px"><]-->
<!-- </object>-->
<!-- </center>-->
<!-- <span class="substep" id="graph-zoom-1"></span>-->
<!-- <span class="substep" id="graph-zoom-2"></span>-->
<!-- <span class="substep" id="graph-zoom-3"></span>-->
<!--</div>-->
<!--<div id="exa2-vis1" class="step" data-rel-x="150" data-rel-y="0"-->
<!-- data-scale="0.10">-->
<h2>New Cylc GUI</h2>
<img width="250px" height="250px" src="img/html5.png">
<img width="180px" height="250px" src="img/css3.png">
</div>
<div id="exa2-vis-gscan-gcylc" class="step" data-rel-x="75"
data-rel-y="0" data-scale="0.10">
<h3>Combine <i>gscan</i> & <i>gcylc</i></h3>
<img class="full" src="img/gui-gscan-gcylc.png"/>
</div>
<div id="exa2-vis-graph-n-edges" class="step" data-rel-x="75"
data-rel-y="0" data-scale="0.10">
<h3>View N Edges To Selected Node</h3>
<img class="full substep flash"
src="img/gui-graph-limited-nodes-1.svg"
style="position:absolute;" />
<img class="full substep flash"
src="img/gui-graph-limited-nodes-2.svg"
style="position:absolute;" />
<!-- TODO - export on a computer with better font support -->
</div>
<div id="exa2-vis-alternative-views" class="step" data-rel-x="80"
data-rel-y="0" data-scale="0.10">
<h3>Alternative Views</h3>
<img style="float:left;" class="full" src="img/gant.png" />
<ul style="float:left;">
<li>Gant chart</li>
<li>Adjacency matrix</li>
<li>Other?</li>
</div>
<!--<div id="exa2-vis5" class="step" data-rel-x="60" data-rel-y="0"-->
<!-- data-scale="0.10">-->
<!-- <h3>Selecting Tasks Between Views</h3>-->
<!-- [> TODO - remove image background <]-->
<!-- <img height="380px" src="img/gui-matrix.png" />-->
<!--</div>-->
<div id="exa2-writ-pre" class="step" data-rel-x="-1000"