Skip to content
Snippets Groups Projects
Commit ba22af0d authored by Howard Pritchard's avatar Howard Pritchard Committed by Adam J. Stewart
Browse files

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: default avatarHoward Pritchard <howardp@lanl.gov>
parent d8b4bee0
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,8 @@ class Openmpi(AutotoolsPackage): ...@@ -75,6 +75,8 @@ class Openmpi(AutotoolsPackage):
list_url = "http://www.open-mpi.org/software/ompi/" list_url = "http://www.open-mpi.org/software/ompi/"
git = "https://github.com/open-mpi/ompi.git" git = "https://github.com/open-mpi/ompi.git"
maintainers = ['hppritcha']
version('develop', branch='master') version('develop', branch='master')
# Current # Current
...@@ -427,6 +429,10 @@ def configure_args(self): ...@@ -427,6 +429,10 @@ def configure_args(self):
if spec.satisfies('@3.0.0:', strict=True): if spec.satisfies('@3.0.0:', strict=True):
config_args.append('--with-zlib={0}'.format(spec['zlib'].prefix)) 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 # some scientific packages ignore deprecated/remove symbols. Re-enable
# them for now, for discussion see # them for now, for discussion see
# https://github.com/open-mpi/ompi/issues/6114#issuecomment-446279495 # https://github.com/open-mpi/ompi/issues/6114#issuecomment-446279495
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment