summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Andre Hermanns <ma-github@hermanns-net.de>2019-07-16 03:58:57 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2019-07-15 20:58:57 -0500
commit2cfbde17370733bfebfbd8b4100b76764fe6d751 (patch)
treec5a03eb1ec6fbf28bbdcecda343e3afaeeaf8b87
parent0ed7204c740320747d514fe57e4eb50f0ae8e1d0 (diff)
downloadspack-2cfbde17370733bfebfbd8b4100b76764fe6d751.tar.gz
spack-2cfbde17370733bfebfbd8b4100b76764fe6d751.tar.bz2
spack-2cfbde17370733bfebfbd8b4100b76764fe6d751.tar.xz
spack-2cfbde17370733bfebfbd8b4100b76764fe6d751.zip
Add JUBE package definition (#12023)
* Add JUBE package definition * Fixing flake8 errors
-rw-r--r--var/spack/repos/builtin/packages/jube/package.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/jube/package.py b/var/spack/repos/builtin/packages/jube/package.py
new file mode 100644
index 0000000000..b659a7e981
--- /dev/null
+++ b/var/spack/repos/builtin/packages/jube/package.py
@@ -0,0 +1,41 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Jube(PythonPackage):
+ """The Juelich benchmarking environment (JUBE) provides a script based
+ framework to easily create benchmark sets, run those sets on different
+ computer systems and evaluate the results."""
+
+ homepage = "https://www.fz-juelich.de/jsc/jube/"
+ url = "https://apps.fz-juelich.de/jsc/jube/jube2/download.php?version=2.2.2"
+
+ version('2.2.2', sha256='135bc03cf07c4624ef2cf581ba5ec52eb44ca1dac15cffb83637e86170980477', extension="tar.gz")
+ version('2.2.1', sha256='68751bf2e17766650ccddb7a5321dd1ac8b34ffa3585db392befbe9ff180ddd9', extension="tar.gz")
+ version('2.2.0', sha256='bc825884fc8506d0fb7b3b5cbb5ad4c7e82b1fe1d7ec861ca33699adfc8100f1', extension="tar.gz")
+ version('2.1.4', sha256='13da3213db834ed2f3a04fedf20a24c4a11b76620e18fed0a0bbcb7484f980bb', extension="tar.gz")
+ version('2.1.3', sha256='ccc7af95eb1e3f63c52a26db08ef9986f7cc500df7a51af0c5e14ed4e7431ad6', extension="tar.gz")
+ version('2.1.2', sha256='4ff1c4eabaaa71829e46e4fb4092a88675f8c2b6708d5ec2b12f991dd9a4de2d', extension="tar.gz")
+ version('2.1.1', sha256='0c48ce4cb9300300d115ae428b1843c4229a54eb286ab0ced953e96ed3f2b9b2', extension="tar.gz")
+ version('2.1.0', sha256='eb9c542b9eb760ea834459a09f8be55891e993a40e277d325bc093b040921e23', extension="tar.gz")
+ version('2.0.1', sha256='ef3c4de8b2353ec0ee229428b1ef1912bc3019b72d4e78be00eecd1f384aeec0', extension="tar.gz")
+ version('2.0.0', sha256='ecfe8717bc61f35f333bc24d27b39e78e67c596e23512bdd97c9b4f28491f0b3', extension="tar.gz")
+
+ variant(
+ 'resource_manager', default='slurm',
+ description='Select resource manager templates',
+ values=('loadleveler', 'lsf', 'moab', 'pbs', 'slurm'), multi=False
+ )
+
+ depends_on('py-setuptools', type='build')
+
+ def setup_environment(self, spack_env, run_env):
+ run_env.prepend_path(
+ 'JUBE_INCLUDE_PATH',
+ prefix + "/platform/" +
+ self.spec.variants['resource_manager'].value
+ )