Skip to content

Commit

Permalink
Avoid overriding previous lines in Lulesh example (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDuswald committed Feb 21, 2022
1 parent b172457 commit a4bc459
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions samples/documentation/lulesh_sample1_unix_commented.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ study:
# In this case, it points to './sample_output/lulesh/run-lulesh'.
cmd: |
echo "Unparameterized step with Parameter Independent dependencies." >> out.log
echo $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) > ls.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) >> out.log
# The 'post-process-lulesh' step is dependent on the completion of
# all parameterizations of 'run-lulesh' as represented by the '_*'.
# Because this step is not parameterized, it is a singular step that
Expand All @@ -161,7 +161,7 @@ study:
echo "Parameterized step that has Parameter Independent dependencies" >> out.log
echo "TRIAL = $(TRIAL)" >> out.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) >> out.log
# 'post-process-lulesh-trials' like 'post-process-lulesh' is dependent
# on all parameterizations of 'run-lulesh'. In this case, because this
# step is parameterized based on $(TRIALS), there will be a version of
Expand Down
6 changes: 3 additions & 3 deletions samples/lulesh/lulesh_sample1_macosx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ study:
run:
cmd: |
echo "Unparameterized step with Parameter Independent dependencies." >> out.log
echo $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) > ls.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh_*]

- name: post-process-lulesh-trials
Expand All @@ -63,7 +63,7 @@ study:
echo "Parameterized step that has Parameter Independent dependencies" >> out.log
echo "TRIAL = $(TRIAL)" >> out.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh_*]

- name: post-process-lulesh-size
Expand Down
6 changes: 3 additions & 3 deletions samples/lulesh/lulesh_sample1_macosx_linear.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ study:
run:
cmd: |
echo "Unparameterized step with Parameter Independent dependencies." >> out.log
echo $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) > ls.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh]

- name: post-process-lulesh-trials
Expand All @@ -56,7 +56,7 @@ study:
echo "Parameterized step that has Parameter Independent dependencies" >> out.log
echo "TRIAL = $(TRIAL)" >> out.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh]

- name: post-process-lulesh-size
Expand Down
4 changes: 2 additions & 2 deletions samples/lulesh/lulesh_sample1_unix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ study:
run:
cmd: |
echo "Unparameterized step with Parameter Independent dependencies." >> out.log
echo $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) > ls.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh_*]

- name: post-process-lulesh-trials
Expand Down
6 changes: 3 additions & 3 deletions samples/lulesh/lulesh_sample1_unix_linear.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ study:
run:
cmd: |
echo "Unparameterized step with Parameter Independent dependencies." >> out.log
echo $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) > ls.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh]

- name: post-process-lulesh-trials
Expand All @@ -57,7 +57,7 @@ study:
echo "Parameterized step that has Parameter Independent dependencies" >> out.log
echo "TRIAL = $(TRIAL)" >> out.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh]

- name: post-process-lulesh-size
Expand Down
4 changes: 2 additions & 2 deletions tests/specification/test_specs/lulesh_sample1_unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ study:
run:
cmd: |
echo "Unparameterized step with Parameter Independent dependencies." >> out.log
echo $(run-lulesh.workspace) > out.log
ls $(run-lulesh.workspace) > ls.log
echo $(run-lulesh.workspace) >> out.log
ls $(run-lulesh.workspace) >> out.log
depends: [run-lulesh_*]

- name: post-process-lulesh-trials
Expand Down

0 comments on commit a4bc459

Please sign in to comment.