Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
powercap-measurement
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Jayesh Badwaik
powercap-measurement
Commits
304d343a
Verified
Commit
304d343a
authored
2 months ago
by
Jayesh Badwaik
Browse files
Options
Downloads
Patches
Plain Diff
+ plotting scripts
parent
f7316c78
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+42
-0
42 additions, 0 deletions
.gitlab-ci.yml
benchmark.yml
+3
-3
3 additions, 3 deletions
benchmark.yml
post/plotting.py
+31
-0
31 additions, 0 deletions
post/plotting.py
with
76 additions
and
3 deletions
.gitlab-ci.yml
0 → 100644
+
42
−
0
View file @
304d343a
powercap-measurement
:
variables
:
CUSTOM_CI_BUILDS_DIR
:
$[[inputs.build_dir]]
id_tokens
:
SITE_ID_TOKEN
:
aud
:
"
https://gitlab.jsc.fz-juelich.de"
tags
:
-
jedi
-
jacamar
-
login
-
shell
script
:
-
module load JUBE
-
export JUBE_INCLUDE_PATH=$PWD/jube
-
|
jutil env activate \
--project cjsc \
--budget zam \
--reservation test-alvarez-jpbot-001-22
-
jube-autorun -r "-e --outpath ../outpath" benchmark.yml
-
jube result --style csv ../outpath > benchmark.csv
powercap-plotting
:
image
:
registry.jsc.fz-juelich.de/exacb/docker/report:latest
tags
:
-
docker
needs
:
-
job
:
powercap-measurement
artifacts
:
true
artifacts
:
paths
:
-
benchmark.pdf
script
:
-
python -m venv venv
-
source venv/bin/activate
-
pip install matplotlib
-
python post/plotting.py --input benchmark.csv --output benchmark.pdf
This diff is collapsed.
Click to expand it.
benchmark.yml
+
3
−
3
View file @
304d343a
...
@@ -12,7 +12,7 @@ parameterset:
...
@@ -12,7 +12,7 @@ parameterset:
-
name
:
benchParam
-
name
:
benchParam
parameter
:
parameter
:
-
name
:
inputpowercap
-
name
:
inputpowercap
_
:
"
100,
200,
300"
_
:
"
100,
1
20
,
140,
160,
180,
200,
220,
240,
260,
28
0,
300"
-
name
:
systemParam
-
name
:
systemParam
init_with
:
"
platform.xml:systemParameter"
init_with
:
"
platform.xml:systemParameter"
parameter
:
parameter
:
...
@@ -31,7 +31,7 @@ parameterset:
...
@@ -31,7 +31,7 @@ parameterset:
parameter
:
parameter
:
-
name
:
args_starter
-
name
:
args_starter
_
:
"
--cpu-bind=none"
_
:
"
--cpu-bind=none"
step
:
step
:
-
name
:
build
-
name
:
build
use
:
use
:
...
@@ -69,7 +69,7 @@ patternset:
...
@@ -69,7 +69,7 @@ patternset:
-
name
:
performance
-
name
:
performance
_
:
${jube_pat_int}
_
:
${jube_pat_int}
analyser
:
analyser
:
-
name
:
bench_info
-
name
:
bench_info
analyse
:
analyse
:
...
...
This diff is collapsed.
Click to expand it.
post/plotting.py
0 → 100644
+
31
−
0
View file @
304d343a
#!/usr/bin/env python3
import
matplotlib.pyplot
import
csv
import
argparse
if
__name__
==
"
__main__
"
:
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
"
--input
"
,
help
=
"
input file
"
)
parser
.
add_argument
(
"
--output
"
,
help
=
"
output file
"
)
args
=
parser
.
parse_args
()
filename
=
args
.
input
x
=
[]
y
=
[]
with
open
(
filename
)
as
f
:
plots
=
csv
.
reader
(
f
,
delimiter
=
"
,
"
)
for
row
in
plots
:
x
.
append
(
int
(
row
[
0
]))
y
.
append
(
int
(
row
[
1
]))
fig
,
ax
=
matplotlib
.
pyplot
.
subplots
()
ax
.
plot
(
x
,
y
)
ax
.
set
(
xlabel
=
"
power
"
,
ylabel
=
"
performance
"
,
title
=
"
Graph
"
)
matplotlib
.
pyplot
.
savefig
(
args
.
output
)
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