summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Beckingsale <davidbeckingsale@gmail.com>2015-12-07 14:33:31 -0800
committerDavid Beckingsale <davidbeckingsale@gmail.com>2015-12-07 14:33:31 -0800
commit77bf133cd295c7c5521799a22cd70a873cef1b2e (patch)
tree4d1af11ffd648be0f06904e5a1de38ed0f550ad5
parent5891847ae49b7f281e643b07ec84e624f070b1f6 (diff)
downloadspack-77bf133cd295c7c5521799a22cd70a873cef1b2e.tar.gz
spack-77bf133cd295c7c5521799a22cd70a873cef1b2e.tar.bz2
spack-77bf133cd295c7c5521799a22cd70a873cef1b2e.tar.xz
spack-77bf133cd295c7c5521799a22cd70a873cef1b2e.zip
Update CleverLeaf package to use Boost and fix SAMRAI MPI usage
-rw-r--r--var/spack/packages/SAMRAI/package.py2
-rw-r--r--var/spack/packages/cleverleaf/package.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/packages/SAMRAI/package.py b/var/spack/packages/SAMRAI/package.py
index 5ee90cf400..f8caa1185c 100644
--- a/var/spack/packages/SAMRAI/package.py
+++ b/var/spack/packages/SAMRAI/package.py
@@ -38,6 +38,8 @@ class Samrai(Package):
configure(
"--prefix=%s" % prefix,
+ "--with-CXX=%s" % spec[mpi].prefix.bin + "/mpic++",
+ "--with-CC=%s" % spec[mpi].prefix.bin + "/mpicc",
"--with-hdf5=%s" % spec['hdf5'].prefix,
"--with-boost=%s" % spec['boost'].prefix,
"--with-zlib=%s" % spec['zlib'].prefix,
diff --git a/var/spack/packages/cleverleaf/package.py b/var/spack/packages/cleverleaf/package.py
index ddbe57f019..ad843ca412 100644
--- a/var/spack/packages/cleverleaf/package.py
+++ b/var/spack/packages/cleverleaf/package.py
@@ -14,6 +14,8 @@ class Cleverleaf(Package):
version('develop', git='https://github.com/UK-MAC/CleverLeaf_ref.git', branch='develop')
depends_on("SAMRAI@3.8.0")
+ depends_on("hdf5")
+ depends_on("boost")
def install(self, spec, prefix):
cmake(*std_cmake_args)