summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDavid Boehme <boehme3@sierra648.llnl.gov>2014-07-31 17:51:23 -0700
committerDavid Boehme <boehme3@sierra648.llnl.gov>2014-07-31 17:51:23 -0700
commite377abc18c2cda1b967c2e663d1d9b56828ccfc0 (patch)
tree87126d441b7ed9cb880162a35a1dbbaf337f25c3 /var
parent2f21ca64e079e2d52bb50d84797554ae4ec969d9 (diff)
downloadspack-e377abc18c2cda1b967c2e663d1d9b56828ccfc0.tar.gz
spack-e377abc18c2cda1b967c2e663d1d9b56828ccfc0.tar.bz2
spack-e377abc18c2cda1b967c2e663d1d9b56828ccfc0.tar.xz
spack-e377abc18c2cda1b967c2e663d1d9b56828ccfc0.zip
Add Score-P packages.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/cube/package.py30
-rw-r--r--var/spack/packages/opari2/package.py28
-rw-r--r--var/spack/packages/otf2/package.py38
-rw-r--r--var/spack/packages/scalasca/package.py43
-rw-r--r--var/spack/packages/scorep/package.py41
5 files changed, 180 insertions, 0 deletions
diff --git a/var/spack/packages/cube/package.py b/var/spack/packages/cube/package.py
new file mode 100644
index 0000000000..3a4f9542c6
--- /dev/null
+++ b/var/spack/packages/cube/package.py
@@ -0,0 +1,30 @@
+# FIXME: Add copyright statement
+#
+from spack import *
+
+class Cube(Package):
+ """Cube the profile viewer for Score-P and Scalasca profiles. It
+ displays a multi-dimensional performance space consisting
+ of the dimensions (i) performance metric, (ii) call path,
+ and (iii) system resource."""
+
+ homepage = "http://www.scalasca.org/software/cube-4.x/download.html"
+ url = "http://apps.fz-juelich.de/scalasca/releases/cube/4.2/dist/cube-4.2.3.tar.gz"
+
+ version('4.2.3', '8f95b9531f5a8f8134f279c2767c9b20')
+
+ def install(self, spec, prefix):
+ configure_args = ["--prefix=%s" % prefix,
+ "--without-paraver",
+ "--without-gui",
+ "--enable-shared"]
+
+ if spec.satisfies('%gcc'):
+ configure_args.append('--with-nocross-compiler-suite=gcc')
+ if spec.satisfies('%intel'):
+ configure_args.append('--with-nocross-compiler-suite=intel')
+
+ configure(*configure_args)
+
+ make(parallel=False)
+ make("install", parallel=False)
diff --git a/var/spack/packages/opari2/package.py b/var/spack/packages/opari2/package.py
new file mode 100644
index 0000000000..b571145195
--- /dev/null
+++ b/var/spack/packages/opari2/package.py
@@ -0,0 +1,28 @@
+# FIXME: Add copyright statement here
+
+from spack import *
+
+class Opari2(Package):
+ """OPARI2 is a source-to-source instrumentation tool for OpenMP and
+ hybrid codes. It surrounds OpenMP directives and runtime library
+ calls with calls to the POMP2 measurement interface.
+ OPARI2 will provide you with a new initialization method that allows
+ for multi-directory and parallel builds as well as the usage of
+ pre-instrumented libraries. Furthermore, an efficient way of
+ tracking parent-child relationships was added. Additionally, we
+ extended OPARI2 to support instrumentation of OpenMP 3.0
+ tied tasks. """
+
+ homepage = "http://www.vi-hps.org/projects/score-p"
+ url = "http://www.vi-hps.org/upload/packages/opari2/opari2-1.1.2.tar.gz"
+
+ version('1.1.2', '9a262c7ca05ff0ab5f7775ae96f3539e')
+
+ def install(self, spec, prefix):
+ # FIXME: Modify the configure line to suit your build system here.
+ configure("--prefix=%s" % prefix,
+ "--enable-shared")
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")
diff --git a/var/spack/packages/otf2/package.py b/var/spack/packages/otf2/package.py
new file mode 100644
index 0000000000..6e8c398d7d
--- /dev/null
+++ b/var/spack/packages/otf2/package.py
@@ -0,0 +1,38 @@
+# FIXME: Add copyright
+
+from spack import *
+import os
+
+class Otf2(Package):
+ """The Open Trace Format 2 is a highly scalable, memory efficient event
+ trace data format plus support library."""
+
+ homepage = "http://www.vi-hps.org/score-p"
+ url = "http://www.vi-hps.org/upload/packages/otf2/otf2-1.4.tar.gz"
+
+ version('1.4', 'a23c42e936eb9209c4e08b61c3cf5092',
+ url="http://www.vi-hps.org/upload/packages/otf2/otf2-1.4.tar.gz")
+ version('1.3.1', 'd0ffc4e858455ace4f596f910e68c9f2',
+ url="http://www.vi-hps.org/upload/packages/otf2/otf2-1.3.1.tar.gz")
+ version('1.2.1', '8fb3e11fb7489896596ae2c7c83d7fc8',
+ url="http://www.vi-hps.org/upload/packages/otf2/otf2-1.2.1.tar.gz")
+
+ def install(self, spec, prefix):
+ # FIXME: Modify the configure line to suit your build system here.
+ cc = os.environ["SPACK_CC"]
+
+ configure_args=["--prefix=%s" % prefix,
+ "--enable-shared"]
+
+ if spec.satisfies('%gcc'):
+ configure_args.append('--with-nocross-compiler-suite=gcc')
+ if spec.satisfies('%intel'):
+ configure_args.append('--with-nocross-compiler-suite=intel')
+ if spec.satisfies('%pgi'):
+ configure_args.append('--with-nocross-compiler-suite=pgi')
+
+ configure(*configure_args)
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")
diff --git a/var/spack/packages/scalasca/package.py b/var/spack/packages/scalasca/package.py
new file mode 100644
index 0000000000..b76d0a7df5
--- /dev/null
+++ b/var/spack/packages/scalasca/package.py
@@ -0,0 +1,43 @@
+# FIXME: Add copyright
+
+from spack import *
+
+class Scalasca(Package):
+ """Scalasca is a software tool that supports the performance optimization
+ of parallel programs by measuring and analyzing their runtime behavior.
+ The analysis identifies potential performance bottlenecks - in
+ particular those concerning communication and synchronization - and
+ offers guidance in exploring their causes."""
+
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://www.scalasca.org"
+ url = "http://apps.fz-juelich.de/scalasca/releases/scalasca/2.1/dist/scalasca-2.1-rc2.tar.gz"
+
+ version('2.1-rc2', '1a95a39e5430539753e956a7524a756b')
+
+ depends_on("mpi")
+ depends_on("otf2@1.4")
+ depends_on("cube")
+
+ def install(self, spec, prefix):
+ configure_args = ["--prefix=%s" % prefix,
+ "--with-otf2=%s" % spec['otf2'].prefix.bin,
+ "--with-cube=%s" % spec['cube'].prefix.bin,
+ "--enable-shared"]
+
+ if spec.satisfies('%gcc'):
+ configure_args.append('--with-nocross-compiler-suite=gcc')
+ if spec.satisfies('%intel'):
+ configure_args.append('--with-nocross-compiler-suite=intel')
+
+ configure(*configure_args)
+
+ make()
+ make("install")
+
+ # FIXME: Modify the configure line to suit your build system here.
+ configure("--prefix=%s" % prefix)
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")
diff --git a/var/spack/packages/scorep/package.py b/var/spack/packages/scorep/package.py
new file mode 100644
index 0000000000..5c42cfdbf2
--- /dev/null
+++ b/var/spack/packages/scorep/package.py
@@ -0,0 +1,41 @@
+# FIXME: Add copyright statement
+
+from spack import *
+
+class Scorep(Package):
+ """The Score-P measurement infrastructure is a highly scalable and
+ easy-to-use tool suite for profiling, event tracing, and online
+ analysis of HPC applications."""
+
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://www.vi-hps.org/projects/score-p"
+ url = "http://www.vi-hps.org/upload/packages/scorep/scorep-1.2.3.tar.gz"
+
+ version('1.2.3', '4978084e7cbd05b94517aa8beaea0817')
+
+ depends_on("mpi")
+ depends_on("papi")
+ depends_on("otf2@1.2:1.2.1")
+ depends_on("opari2")
+ depends_on("cube")
+
+ def install(self, spec, prefix):
+ configure_args = ["--prefix=%s" % prefix,
+ "--with-otf2=%s" % spec['otf2'].prefix.bin,
+ "--with-opari2=%s" % spec['opari2'].prefix.bin,
+ "--with-cube=%s" % spec['cube'].prefix.bin,
+ "--with-papi-header=%s" % spec['papi'].prefix.include,
+ "--with-papi-lib=%s" % spec['papi'].prefix.lib,
+ "--enable-shared"]
+
+ if spec.satisfies('%gcc'):
+ configure_args.append('--with-nocross-compiler-suite=gcc')
+ if spec.satisfies('%intel'):
+ configure_args.append('--with-nocross-compiler-suite=intel')
+ if spec.satisfies('%pgi'):
+ configure_args.append('--with-nocross-compiler-suite=pgi')
+
+ configure(*configure_args)
+
+ make()
+ make("install")