summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHoward Pritchard <howardp@lanl.gov>2020-01-18 12:52:26 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-18 13:52:26 -0600
commitba22af0de027055c50963e458b0eee259999c613 (patch)
tree63a47494cdb7999f90823f8437bf65f27a01dcd8 /var
parentd8b4bee0cd806c01cc18a080610bd7dfc46c2129 (diff)
downloadspack-ba22af0de027055c50963e458b0eee259999c613.tar.gz
spack-ba22af0de027055c50963e458b0eee259999c613.tar.bz2
spack-ba22af0de027055c50963e458b0eee259999c613.tar.xz
spack-ba22af0de027055c50963e458b0eee259999c613.zip
openmpi: swat btl/uct ucx 1.7 bug (#14522)
Unfortunately UCX 1.7.0 is appearing in RPMS before it's officially released. There's a problem with Open MPI 4.0.x where x < 3 and this version of UCX, namely that the UCT BTL fails to compile. See https://github.com/open-mpi/ompi/issues/7128 This patch works around the problem by disabling the build of the UCT BTL for releases 4.0.0 to 4.0.2. add hppritcha (me) as maintainer Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index 1f94009753..aac0c4c60b 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -75,6 +75,8 @@ class Openmpi(AutotoolsPackage):
list_url = "http://www.open-mpi.org/software/ompi/"
git = "https://github.com/open-mpi/ompi.git"
+ maintainers = ['hppritcha']
+
version('develop', branch='master')
# Current
@@ -427,6 +429,10 @@ class Openmpi(AutotoolsPackage):
if spec.satisfies('@3.0.0:', strict=True):
config_args.append('--with-zlib={0}'.format(spec['zlib'].prefix))
+ if spec.satisfies('@4.0.0:4.0.2'):
+ # uct btl doesn't work with some UCX versions so just disable
+ config_args.append('--enable-mca-no-build=btl-uct')
+
# some scientific packages ignore deprecated/remove symbols. Re-enable
# them for now, for discussion see
# https://github.com/open-mpi/ompi/issues/6114#issuecomment-446279495