-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from buildtesters/update_stream_test
porting stream test for perlmutter and muller
- Loading branch information
Showing
2 changed files
with
70 additions
and
28 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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,70 @@ | ||
buildspecs: | ||
stream_uniprocess_c: | ||
executor: '(perlmutter|muller).local.bash' | ||
type: script | ||
description: "STREAM Microbenchmark C test on uniprocessor" | ||
tags: ["benchmark"] | ||
run: | | ||
wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c | ||
module load gcc | ||
gcc -O2 stream.c -o stream | ||
./stream | ||
metrics: | ||
copy: | ||
type: float | ||
regex: | ||
stream: stdout | ||
exp: 'Copy:\s+(\S+)\s+.*' | ||
item: 1 | ||
|
||
status: | ||
assert_ge: | ||
- name: copy | ||
ref: 30000 | ||
|
||
stream_openmp_c: | ||
executor: '(perlmutter|muller).local.bash' | ||
type: script | ||
description: "STREAM Microbenchmark C Test with OpenMP" | ||
tags: ["benchmark"] | ||
run: | | ||
wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c | ||
module load gcc | ||
gcc -fopenmp -D_OPENMP -O2 stream.c -o stream | ||
OMP_NUM_THREADS=2 ./stream | tee stream2.txt | ||
OMP_NUM_THREADS=8 ./stream | tee stream8.txt | ||
OMP_NUM_THREADS=64 ./stream | tee stream64.txt | ||
metrics: | ||
copy2: | ||
type: float | ||
file_regex: | ||
file: stream2.txt | ||
exp: 'Copy:\s+(\S+)\s+.*' | ||
item: 1 | ||
|
||
copy8: | ||
type: float | ||
file_regex: | ||
file: stream8.txt | ||
exp: 'Copy:\s+(\S+)\s+.*' | ||
item: 1 | ||
|
||
copy64: | ||
type: float | ||
file_regex: | ||
file: stream64.txt | ||
exp: 'Copy:\s+(\S+)\s+.*' | ||
item: 1 | ||
|
||
status: | ||
assert_ge: | ||
- name: copy2 | ||
ref: 30000 | ||
|
||
- name: copy8 | ||
ref: 50000 | ||
|
||
- name: copy64 | ||
ref: 500000 |