From 19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 3 Jan 2020 06:16:22 +0900 Subject: 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 --- var/spack/repos/builtin/packages/gromacs/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'var') 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:') -- cgit v1.2.3-70-g09d2