@@ -378,14 +378,22 @@ Start, Stop, Restart
378
378
cylc install
379
379
380
380
Open a user interface (:ref: `tutorial.tui ` or :ref: `tutorial.gui `) to view
381
- your workflow.
381
+ your workflow. Run the workflow either from the UI or command line.
382
382
383
- Run the workflow either by pressing the play button in the Cylc UI or by
384
- running the command:
383
+ .. spoiler :: Hint hint
385
384
386
- .. code-block :: bash
385
+ .. code-block :: bash
386
+
387
+ cylc tui runtime-tutorial
388
+ # or
389
+ cylc gui # If you haven't already got an instance running.
387
390
388
- cylc play runtime-tutorial
391
+ Run the workflow either by:
392
+
393
+ * GUI: selecting the runtime-tutorial workflow in the sidebar and
394
+ pressing the play button.
395
+ * Tui: pressing enter on the workflow and selecting "play".
396
+ * Command line: running ``cylc play runtime-tutorial ``.
389
397
390
398
If all goes well the workflow will startup and the tasks will run and
391
399
succeed. Note that the tasks which do not have a ``[runtime] `` section
@@ -430,34 +438,40 @@ Start, Stop, Restart
430
438
:term: `run directory `. Copy the code in the ``runtime `` file to the
431
439
bottom of the :cylc:conf: `flow.cylc ` file.
432
440
441
+ Now that all the tasks have runtime sections, remove
442
+ :cylc:conf: `[scheduler]allow implicit tasks `:
443
+
444
+ .. code-block :: diff
445
+
446
+ [scheduler]
447
+ UTC mode = True
448
+ - allow implicit tasks = True # TODO: remove at end of exercise
449
+
450
+ Removing this ensures that any tasks in the graph without a corresponding
451
+ runtime section will cause validation to fail (e.g. due to a typo).
452
+
433
453
Check the :cylc:conf: `flow.cylc ` file is valid by running the command:
434
454
435
455
.. code-block :: bash
436
456
437
457
cylc validate .
438
- cylc install
439
458
440
- .. TODO: Add advice on what to do if the command fails.
459
+ Now install a new run of the workflow:
441
460
442
- #. ** Run The Workflow. **
461
+ .. code-block :: bash
443
462
444
- Open a user interface (:ref: `tutorial.tui ` or :ref: `tutorial.gui `) to view
445
- your workflow.
463
+ cylc install
446
464
447
- .. spoiler :: Hint hint
465
+ .. TODO: Add advice on what to do if the command fails.
448
466
449
- .. code-block :: bash
467
+ #. ** Run The Workflow. **
450
468
451
- cylc tui runtime-tutorial
452
- # or
453
- cylc gui # If you haven't already got an instance running.
469
+ Open a user interface (:ref: `tutorial.tui ` or :ref: `tutorial.gui `) and
470
+ run the workflow.
454
471
455
- Run the workflow either by :
472
+ .. tip : :
456
473
457
- * Pressing the play button in the Cylc GUI. Then, ensuring that
458
- "Cold Start" is selected within the dialogue window, pressing the
459
- "Start" button.
460
- * Running the command ``cylc play runtime-tutorial ``.
474
+ Make sure you play the latest run that was newly installed.
461
475
462
476
#. **View The Forecast Summary. **
463
477
0 commit comments