Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
---
Signed-off-by: Andy Stone <[email protected]>
  • Loading branch information
stonea committed Aug 29, 2024
1 parent c88790f commit 825d252
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/release/examples/benchmarks/hpcc/ra.plot.drive.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export CHPLEXP_MAX_LOCALES=4
export CHPLEXP_MAX_LOCALES=64
set -x -e
"$CHPL_HOME/util/test/chplExperiment" \
--paint-with ./ra.plot.paint.py \
Expand Down
4 changes: 2 additions & 2 deletions test/release/examples/benchmarks/hpcc/stream.plot.drive.bash
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

set -x -e
export CHPLEXP_MAX_LOCALES=4
export CHPLEXP_SIZE_GB_PER_NODE=32
export CHPLEXP_MAX_LOCALES=64
export CHPLEXP_SIZE_GB_PER_NODE=64
"$CHPL_HOME/util/test/chplExperiment" \
--paint-with ./stream.plot.paint.py \
\
Expand Down
8 changes: 6 additions & 2 deletions test/release/examples/benchmarks/hpcc/stream.plot.paint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
tbl = tbls.join().with_first_col('mpi')
print(tbl.md("%0.2f"))

tbl.plot(
plt = tbl.plot(
title="STREAM Performance (GB/s)",
xlabel="Nodes",
ylabel="GB/s",
save=False).add_arrow('right', 'up', 'green', 'better').save('logs/stream.png')
save=False)

plt.add_arrow('right', 'up', 'green', 'better')
plt.set_ylim(top=16000)
plt.save('logs/stream.png')
2 changes: 1 addition & 1 deletion test/studies/bale/indexgather/ig.plot.drive.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

set -x -e
export CHPLEXP_MAX_LOCALES=4
export CHPLEXP_MAX_LOCALES=32
"$CHPL_HOME/util/test/chplExperiment" \
--paint-with ./ig.plot.paint.py \
--skip-if-config-error \
Expand Down
12 changes: 8 additions & 4 deletions test/studies/bale/indexgather/ig.plot.paint.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
tbls = load_tables()
print(tbls.join().md("%0.2f"))

tbl_fine = tbls.join().select('shmem.agp', 'chpl_fine_1lpn')
tbl_agg = tbls.join().select('shmem.exstack', 'shmem.conveyor', 'chpl_agg_1lpn')
tbl_fine = tbls.join().select('shmem.agp', 'chpl_fine_1lpn', 'chpl_fine_2lpn')
tbl_agg = tbls.join().select('shmem.exstack', 'shmem.conveyor', 'chpl_agg_1lpn', 'chpl_agg_2lpn')
print(tbl_fine.md("%0.2f"))
print()
print(tbl_agg.md("%0.2f"))
Expand All @@ -18,9 +18,11 @@
xlabel="Nodes",
ylabel="GB/s",
lineStyles={'shmem.agp': 1,
'chpl_fine_1lpn': 2},
'chpl_fine_1lpn': 2,
'chpl_fine_2lpn': 12},
save=False).add_arrow('right', 'up', 'green', 'better')
plt_fine.mpl_legend_args = { 'fontsize': 'medium' }
plt_fine.set_ylim(top=35)
plt_fine.save('logs/fine.png')

plt_agg = tbl_agg.plot(
Expand All @@ -29,9 +31,11 @@
ylabel="GB/s",
lineStyles={'shmem.exstack': 1,
'shmem.conveyor': 11,
'chpl_agg_1lpn': 2 },
'chpl_agg_1lpn': 2,
'chpl_agg_2lpn': 12},
save=False).add_arrow('right', 'up', 'green', 'better')
plt_agg.mpl_legend_args = { 'fontsize': 'medium' }
plt_agg.set_ylim(top=700)
plt_agg.save('logs/agg.png')


Expand Down
2 changes: 1 addition & 1 deletion test/studies/isx/isx.plot.drive.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

set -x -e
export CHPLEXP_MAX_LOCALES=4
export CHPLEXP_MAX_LOCALES=32
"$CHPL_HOME/util/test/chplExperiment" \
--paint-with ./isx.plot.paint.py \
--skip-if-config-error \
Expand Down

0 comments on commit 825d252

Please sign in to comment.