Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
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
eic_tools
Spack
Commits
22e4ee56
Commit
22e4ee56
authored
9 years ago
by
Adam J. Stewart
Committed by
Todd Gamblin
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add OSU Micro-Benchmarks package (#822)
* Add OSU Micro-Benchmarks package * Add workaround for GCC bug
parent
e3241643
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py
+38
-0
38 additions, 0 deletions
...ck/repos/builtin/packages/osu-micro-benchmarks/package.py
with
38 additions
and
0 deletions
var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py
0 → 100644
+
38
−
0
View file @
22e4ee56
from
spack
import
*
class
OsuMicroBenchmarks
(
Package
):
"""
The Ohio MicroBenchmark suite is a collection of independent MPI
message passing performance microbenchmarks developed and written at
The Ohio State University. It includes traditional benchmarks and
performance measures such as latency, bandwidth and host overhead
and can be used for both traditional and GPU-enhanced nodes.
"""
homepage
=
"
http://mvapich.cse.ohio-state.edu/benchmarks/
"
url
=
"
http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-5.3.tar.gz
"
version
(
'
5.3
'
,
'
42e22b931d451e8bec31a7424e4adfc2
'
)
variant
(
'
cuda
'
,
default
=
False
,
description
=
"
Enable CUDA support
"
)
depends_on
(
'
mpi
'
)
depends_on
(
'
cuda
'
,
when
=
'
+cuda
'
)
def
install
(
self
,
spec
,
prefix
):
config_args
=
[
'
CC=%s
'
%
spec
[
'
mpi
'
].
prefix
.
bin
+
'
/mpicc
'
,
'
CXX=%s
'
%
spec
[
'
mpi
'
].
prefix
.
bin
+
'
/mpicxx
'
,
'
LDFLAGS=-lrt
'
,
'
--prefix=%s
'
%
prefix
]
if
'
+cuda
'
in
spec
:
config_args
.
extend
([
'
--enable-cuda
'
,
'
--with-cuda=%s
'
%
spec
[
'
cuda
'
].
prefix
,
])
configure
(
*
config_args
)
make
()
make
(
'
install
'
)
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