summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAlicia Klinvex <amklinv@sandia.gov>2017-08-01 13:05:15 -0400
committerAdam J. Stewart <ajstewart426@gmail.com>2017-08-01 12:05:15 -0500
commit44653fa4884c754c7925d5e031fdb9b5f2eec232 (patch)
tree5a2120fb6623aa8c86dbfa0e54c89235c30c3417 /var
parent82735deafd8baff0a7e2fd086c5c9fa601992447 (diff)
downloadspack-44653fa4884c754c7925d5e031fdb9b5f2eec232.tar.gz
spack-44653fa4884c754c7925d5e031fdb9b5f2eec232.tar.bz2
spack-44653fa4884c754c7925d5e031fdb9b5f2eec232.tar.xz
spack-44653fa4884c754c7925d5e031fdb9b5f2eec232.zip
Fix xsdk build broken by petsc and trilinos (#4893)
* Fix xsdk build broken by petsc and trilinos See #4891 for details * Fix version conflict in trilinos package Trilinos version 11 may conflict with superlu-dist. The version "xsdk-0.2.0" was conflicting with superlu-dist, even though it shouldn't. I added a lower bound to the comparison to fix this problem. Thanks for the help @davydden!
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xsdk/package.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 8566adc649..f69f5bcecb 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -171,7 +171,7 @@ class Trilinos(CMakePackage):
conflicts('+superlu-dist', when='+superlu')
# For Trilinos v11 we need to force SuperLUDist=OFF, since only the
# deprecated SuperLUDist v3.3 together with an Amesos patch is working.
- conflicts('+superlu-dist', when='@:11.14.3')
+ conflicts('+superlu-dist', when='@11.4.1:11.14.3')
# PnetCDF was only added after v12.10.1
conflicts('+pnetcdf', when='@:12.10.1')
diff --git a/var/spack/repos/builtin/packages/xsdk/package.py b/var/spack/repos/builtin/packages/xsdk/package.py
index 583de80f3a..4d27b5a79f 100644
--- a/var/spack/repos/builtin/packages/xsdk/package.py
+++ b/var/spack/repos/builtin/packages/xsdk/package.py
@@ -53,9 +53,9 @@ class Xsdk(Package):
depends_on('trilinos@develop+xsdkflags+hypre+superlu-dist+metis+hdf5~mumps+boost~suite-sparse~tpetra~ifpack2~zoltan2~amesos2~exodus',
when='@develop')
- depends_on('petsc@xsdk-0.2.0+trilinos+mpi+hypre+superlu-dist+metis+hdf5~mumps~boost',
+ depends_on('petsc@xsdk-0.2.0+trilinos+mpi+hypre+superlu-dist+metis+hdf5~mumps~boost+double~int64',
when='@xsdk-0.2.0')
- depends_on('petsc@develop+trilinos+mpi+hypre+superlu-dist+metis+hdf5~mumps~boost',
+ depends_on('petsc@develop+trilinos+mpi+hypre+superlu-dist+metis+hdf5~mumps~boost+double~int64',
when='@develop')
depends_on('pflotran@xsdk-0.2.0', when='@xsdk-0.2.0')