-
Notifications
You must be signed in to change notification settings - Fork 53
Helper scripts to process data #620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
artv3
wants to merge
36
commits into
develop
Choose a base branch
from
artv3/performance-scripts
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
3bb871a
add helper scripts to process data
artv3 77b86f2
minor
artv3 40d88e9
Merge branch 'develop' into artv3/performance-scripts
artv3 dcaa3af
add new script that adds tunings
artv3 484be82
Merge branch 'develop' into artv3/performance-scripts
rhornung67 daefd53
Move benchmarking scripts to subdirectory
rhornung67 f5f8bc7
Add new script to run full benchmark with MPI
rhornung67 693376f
Add SPX and CPX mode run scripts for tier1 kernels and alg for approx…
rhornung67 ccffb50
add script to look for a saturation point
artv3 6fc1d90
Add description of file data tables for FOM
rhornung67 c6ed318
Remove old redundant run script
rhornung67 ba6f26f
Fix table indentation
rhornung67 f5703c6
Merge branch 'develop' into artv3/performance-scripts
johnbowen42 babc1b8
Merge branch 'develop' into artv3/performance-scripts
rhornung67 f3510bb
Merge branch 'artv3/performance-scripts' of github.com:LLNL/RAJAPerf …
rhornung67 f30bcad
Update run scripts to use newly named option
rhornung67 2d25b8b
add script to create per-kernel tunings FoM
johnbowen42 bbd8a0d
More details on what we want and tasks to get there...
rhornung67 e8c3d68
add in/out args
rhornung67 d3d7d39
Merge branch 'develop' into artv3/performance-scripts
rhornung67 cb4ab5e
remove study_run_kernels.py
artv3 1b945db
full script try 1
artv3 2229ed4
try 2
artv3 4ce3f6e
try 3
artv3 80d3818
clean up pass
artv3 4ede181
Some cosmetic mods to artv3 script
rhornung67 9710817
Add alternative method to find saturation point
rhornung67 3c46990
Clean up script and replace redundant inline code with a function call
rhornung67 be7395b
Make output filenames consistent and more explicit
rhornung67 3b07c9d
Add "+" marker at data points in smoothed plots
rhornung67 49c7a37
Reorganize saturation calculation and add saturation points
MrBurmark 10070f9
Start graphs at 0
MrBurmark c0c3e20
Add full saturation point
MrBurmark 75a3ad5
Add flops to curve labels
MrBurmark 5f2a805
Decrease legend font size
MrBurmark d232207
Pass eps, w through as funtion args everywhere
rhornung67 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| ## Run all benchmark kernels for GPU, non-lambda variants only | ||
| ## on 4 MPI ranks and dump the results in the specified directory. | ||
|
|
||
| flux alloc -xN1 -t 20 bash -c ' | ||
|
|
||
| OUTDIR=RPBenchmarkTestMPI | ||
|
|
||
| # Collection of problem size factors between 0.5 and 6 | ||
| FACTORS=(0.5 1.0 2.0 3.0 4.0 5.0 6.0) | ||
|
|
||
| # List of kernels to run | ||
| KERNELS=("CONVECTION3DPA" | ||
| "DEL_DOT_VEC_2D" | ||
| "DIFFUSION3DPA" | ||
| "EDGE3D" | ||
| "ENERGY" | ||
| "INTSC_HEXHEX" | ||
| "INTSC_HEXRECT" | ||
| "LTIMES" | ||
| "MASS3DEA" | ||
| "MASSVEC3DPA" | ||
| "MATVEC_3D_STENCIL" | ||
| "NODAL_ACCUMULATION_3D" | ||
| "VOL3D" | ||
| "MULTI_REDUCE" | ||
| "REDUCE_STRUCT" | ||
| "HALO_EXCHANGE_FUSED") | ||
|
|
||
| for KERNEL_NAME in "${KERNELS[@]}"; do | ||
| echo "Running kernel: $KERNEL_NAME" | ||
|
|
||
| for factor in "${FACTORS[@]}"; do | ||
| echo " Running with sizefact = $factor" | ||
| flux run -xN1 -n4 ./bin/raja-perf.exe \ | ||
| -k "$KERNEL_NAME" \ | ||
| --npasses 1 \ | ||
| --npasses-combiners Average Minimum Maximum \ | ||
| --outdir ${OUTDIR} \ | ||
| --outfile "${KERNEL_NAME}_factor_${factor}" \ | ||
| --sizefact "$factor" \ | ||
| --warmup-perfrun-same \ | ||
| -ev Seq Lambda | ||
| done | ||
| done | ||
| ' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| #Clean directory | ||
| rm -rf *.csv *.txt | ||
|
|
||
| # Collection of float factors between 0.5 and 10 | ||
| FACTORS=(0.5 1.0 2.5 5.0 7.5 10.0) | ||
|
|
||
| # List of kernels to run | ||
| KERNELS=("MASS3DPA" "DEL_DOT_VEC_2D") | ||
|
|
||
| for KERNEL_NAME in "${KERNELS[@]}"; do | ||
| echo "Running kernel: $KERNEL_NAME" | ||
|
|
||
| for factor in "${FACTORS[@]}"; do | ||
| echo " Running with sizefact = $factor" | ||
| ./bin/raja-perf.exe \ | ||
| -k "$KERNEL_NAME" \ | ||
| --npasses 3 \ | ||
| --npasses-combiners Average Minimum Maximum \ | ||
| --outfile "${KERNEL_NAME}_factor_${factor}" \ | ||
| --sizefact "$factor" \ | ||
| --warmup-perfrun-same | ||
| done | ||
| done |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a slurm version?