summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-03-11 19:14:43 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-03-11 19:14:43 -0700
commitd6c14f40b2c698a3bbf41fb34e3af6ae2fdbba3c (patch)
tree70194dc88ec90b8aa447d2fd01e520cb6ae53c9a
parentf8044e02900bda9ae3cdd3b6eebd161b154264e1 (diff)
downloadspack-d6c14f40b2c698a3bbf41fb34e3af6ae2fdbba3c.tar.gz
spack-d6c14f40b2c698a3bbf41fb34e3af6ae2fdbba3c.tar.bz2
spack-d6c14f40b2c698a3bbf41fb34e3af6ae2fdbba3c.tar.xz
spack-d6c14f40b2c698a3bbf41fb34e3af6ae2fdbba3c.zip
SAMRAI builds on cab with new URL.
-rw-r--r--var/spack/packages/SAMRAI/package.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/var/spack/packages/SAMRAI/package.py b/var/spack/packages/SAMRAI/package.py
index 3c3b06f647..eef041f0d5 100644
--- a/var/spack/packages/SAMRAI/package.py
+++ b/var/spack/packages/SAMRAI/package.py
@@ -11,6 +11,7 @@ class Samrai(Package):
url = "https://computation.llnl.gov/project/SAMRAI/download/SAMRAI-v3.9.1.tar.gz"
list_url = homepage
+ version('3.9.1', '232d04d0c995f5abf20d94350befd0b2')
version('3.7.3', '12d574eacadf8c9a70f1bb4cd1a69df6')
version('3.7.2', 'f6a716f171c9fdbf3cb12f71fa6e2737')
version('3.6.3-beta', 'ef0510bf2893042daedaca434e5ec6ce')
@@ -24,22 +25,25 @@ class Samrai(Package):
depends_on("mpi")
depends_on("zlib")
depends_on("hdf5")
- depends_on("boost@1.52.0")
+ depends_on("boost")
# don't build tools with gcc
patch('no-tool-build.patch', when='%gcc')
# TODO: currently hard-coded to use openmpi - be careful!
def install(self, spec, prefix):
+ mpi = next(m for m in ('openmpi', 'mpich', 'mvapich')
+ if m in spec)
+
configure(
"--prefix=%s" % prefix,
- "--with-CXX=%s" % spec['openmpi'].prefix.bin + "/mpic++",
- "--with-CC=%s" % spec['openmpi'].prefix.bin + "/mpicc",
+ "--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,
- "--disable-blas",
- "--disable-lapack",
+ "--without-blas",
+ "--without-lapack",
"--with-hypre=no",
"--with-petsc=no",
"--enable-opt",