summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Gouaillardet <ggouaillardet@users.noreply.github.com>2020-01-03 06:16:22 +0900
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-02 15:16:22 -0600
commit19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8 (patch)
treee886b61829ae656dd882325b223db2abbf42ba63
parente26f517dafe0686b329cfd880e0b3400a1803e85 (diff)
downloadspack-19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8.tar.gz
spack-19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8.tar.bz2
spack-19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8.tar.xz
spack-19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8.zip
gromacs: depend on hwloc v1 (#14343)
Because of a bug in the current concretizer, spack install gromacs fails because gromacs depends on hwloc (default is v2), and Open MPI (the default MPI library) depends on hwloc v1. As discussed in https://github.com/spack/spack/issues/14339, this workaround should be removed once the concretizer is fixed Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index 3aef75f4fb..7a9816d06c 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -80,7 +80,9 @@ class Gromacs(CMakePackage):
depends_on('cmake@2.8.8:3.99.99', type='build')
depends_on('cmake@3.4.3:3.99.99', type='build', when='@2018:')
depends_on('cuda', when='+cuda')
- depends_on('hwloc', when='+hwloc')
+
+ # TODO: openmpi constraint; remove when concretizer is fixed
+ depends_on('hwloc@:1.999', when='+hwloc')
patch('gmxDetectCpu-cmake-3.14.patch', when='@2018:2019.3^cmake@3.14.0:')
patch('gmxDetectSimd-cmake-3.14.patch', when='@:2017.99^cmake@3.14.0:')