Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Expetator
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
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
sepia-pub
Expetator
Commits
ce19bbf7
Commit
ce19bbf7
authored
3 years ago
by
Georges Da Costa
Browse files
Options
Downloads
Patches
Plain Diff
Removes external files from npb benchmarks
parent
eb999459
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
expetator/benchmarks/NPB3.4-MPI.tgz
+0
-0
0 additions, 0 deletions
expetator/benchmarks/NPB3.4-MPI.tgz
expetator/benchmarks/npbbench.py
+10
-5
10 additions, 5 deletions
expetator/benchmarks/npbbench.py
setup.py
+3
-1
3 additions, 1 deletion
setup.py
with
13 additions
and
6 deletions
expetator/benchmarks/NPB3.4-MPI.tgz
deleted
100644 → 0
+
0
−
0
View file @
eb999459
File deleted
This diff is collapsed.
Click to expand it.
expetator/benchmarks/npbbench.py
+
10
−
5
View file @
ce19bbf7
...
@@ -61,19 +61,24 @@ class NpbBench:
...
@@ -61,19 +61,24 @@ class NpbBench:
basedir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
basedir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
'
Builds NPB benchmark
'
'
Builds NPB benchmark
'
executor
.
local
(
'
tar xfC %s/NPB3.4-MPI.tgz /tmp/
'
%
basedir
,
shell
=
False
)
executor
.
local
(
'
cp /tmp/NPB3.4-MPI/config/make.def.template /tmp/NPB3.4-MPI/config/make.def
'
)
target_file
=
os
.
path
.
expanduser
(
'
~/.local/tmp/NPB3.4-MPI.tar.gz
'
)
executor
.
local
(
"
sed -i
'
s/mpif90/mpif90 -fallow-argument-mismatch -fallow-invalid-boz/
'
/tmp/NPB3.4-MPI/config/make.def
"
)
if
not
os
.
path
.
isfile
(
target_file
):
os
.
makedirs
(
os
.
path
.
expanduser
(
'
~/.local/tmp/
'
),
exist_ok
=
True
)
executor
.
local
(
'
wget https://www.nas.nasa.gov/assets/npb/NPB3.4.tar.gz -O %s
'
%
target_file
)
executor
.
local
(
'
tar xfC %s /tmp/
'
%
target_file
,
shell
=
False
)
executor
.
local
(
'
cp /tmp/NPB3.4/NPB3.4-MPI/config/make.def.template /tmp/NPB3.4/NPB3.4-MPI/config/make.def
'
)
executor
.
local
(
"
sed -i
'
s/mpif90/mpif90 -fallow-argument-mismatch -fallow-invalid-boz/
'
/tmp/NPB3.4/NPB3.4-MPI/config/make.def
"
)
nbproc
=
executor
.
nbcores
nbproc
=
executor
.
nbcores
if
self
.
params
is
None
:
if
self
.
params
is
None
:
self
.
params
=
standard_parameters
(
nbproc
)
self
.
params
=
standard_parameters
(
nbproc
)
for
bench
in
self
.
names
:
for
bench
in
self
.
names
:
executor
.
local
(
'
cd /tmp/NPB3.4-MPI/; make %s CLASS=%s
'
executor
.
local
(
'
cd /tmp/NPB3.4
/NPB3.4
-MPI/; make %s CLASS=%s
'
%
(
bench
,
self
.
params
[
bench
]))
%
(
bench
,
self
.
params
[
bench
]))
executor
.
local
(
'
cp /tmp/NPB3.4-MPI/bin/* /tmp/bin/
'
)
executor
.
local
(
'
cp /tmp/NPB3.4
/NPB3.4
-MPI/bin/* /tmp/bin/
'
)
for
key
in
self
.
params
:
for
key
in
self
.
params
:
self
.
params
[
key
]
=
[(
self
.
params
[
key
],
npb_constraints
(
key
,
nbproc
))]
self
.
params
[
key
]
=
[(
self
.
params
[
key
],
npb_constraints
(
key
,
nbproc
))]
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
1
View file @
ce19bbf7
...
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
...
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools
.
setup
(
setuptools
.
setup
(
name
=
"
expetator
"
,
name
=
"
expetator
"
,
version
=
"
0.3.
3
"
,
version
=
"
0.3.
7
"
,
author
=
"
Georges Da Costa
"
,
author
=
"
Georges Da Costa
"
,
author_email
=
"
georges.da-costa@irit.fr
"
,
author_email
=
"
georges.da-costa@irit.fr
"
,
description
=
"
A framework for monitoring HPC applications using DVFS
"
,
description
=
"
A framework for monitoring HPC applications using DVFS
"
,
...
@@ -23,4 +23,6 @@ setuptools.setup(
...
@@ -23,4 +23,6 @@ setuptools.setup(
'
monitors/*.bz2
'
,
'
monitors/*.diff
'
,
'
monitors/*.bz2
'
,
'
monitors/*.diff
'
,
'
leverages/*.[ch]
'
,
'
leverages/*.sh
'
,
'
leverages/*_mak
'
]},
'
leverages/*.[ch]
'
,
'
leverages/*.sh
'
,
'
leverages/*_mak
'
]},
include_package_data
=
True
,
include_package_data
=
True
,
install_requires
=
[
'
execo
'
],
)
)
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