Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grk2450-fireworks-tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ivan Kondov
grk2450-fireworks-tutorial
Commits
4412bbab
Commit
4412bbab
authored
5 years ago
by
Ivan Kondov
Browse files
Options
Downloads
Patches
Plain Diff
adjusted and extended the two problems
parent
1de8cb7f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/exercise1.rst
+21
-12
21 additions, 12 deletions
docs/exercise1.rst
with
21 additions
and
12 deletions
docs/exercise1.rst
+
21
−
12
View file @
4412bbab
...
...
@@ -15,18 +15,18 @@ For example, if you decide to use YAML::
cp ../../problems/1_control_flow/*.yaml .
One by one, check the three
sequential workflow
s
**f1_pitstop_seq_wrong_1.yaml**,
**f1_pitstop_seq_wrong_2.yaml**, and **f1_pitstop_seq_wrong_3.yaml**
for errors,
and
the
n
f
ind and correct the errors.
Then, for each
sequential workflow
(
**f1_pitstop_seq_wrong_1.yaml**,
**f1_pitstop_seq_wrong_2.yaml**, and **f1_pitstop_seq_wrong_3.yaml**
) carry out
the f
ollowing steps:
Add
the workflow
to the LaunchPad and query its state.
Execute the workflow with the command::
rlaunch singleshot
i.e. run one Firework at a time.
After running every Firework, monitor the
output and the states of the Fireworks
until the workflow is completed.
* Inspect
the workflow
for errors and correct the errors
* Add the workflow to the LaunchPad checking again for errors
* Create a workflow graph and make sure it is correct; delete the workflow if
necessary, correct it in the workflow file and add it again to launchpad
* Query the workflow state
* Execute the workflow in *singleshot* mode, i.e. run one Firework at a time.
After running every Firework, monitor the
output and the states of the Fireworks
until the workflow is completed.
Problem 1.2
...
...
@@ -34,4 +34,13 @@ Problem 1.2
Repeat the steps of **Problem 1.1** for the parallel version of the workflow:
**f1_pitstop_par_wrong_1.json**, **f1_pitstop_par_wrong_2.json** and
**f1_pitstop_par_wrong_3.json**.
**f1_pitstop_par_wrong_3.json**. Try different modes to launch the workflows:
* ``rlaunch singleshot``: launch one firework from launchpad
* ``rlaunch rapidfire``: launch many fireworks in a sequence
* ``rlaunch multi <N>``: launch N fireworks in parallel, choose N from [2, 3, 4]
Add the flag *--help* to each of the launch modes to see all available options.
For the multi mode, try to find N and the parameters nlaunches, sleep and timeout
for which the best speedup can be achieved using the command::
time rlaunch multi <N> --nlaunches <L> --sleep <sec> --timeout <sec>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment