diff options
author | Carlos Bederián <4043375+zzzoom@users.noreply.github.com> | 2024-02-16 18:37:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 22:37:00 +0100 |
commit | 34aba94148ef9838200dafa541d80b5fb3a3102c (patch) | |
tree | 2db41c0d53b22f6c494b6384972b23452875cee0 | |
parent | 43c909e19c11de948f21224521fa44a451d61049 (diff) | |
download | spack-34aba94148ef9838200dafa541d80b5fb3a3102c.tar.gz spack-34aba94148ef9838200dafa541d80b5fb3a3102c.tar.bz2 spack-34aba94148ef9838200dafa541d80b5fb3a3102c.tar.xz spack-34aba94148ef9838200dafa541d80b5fb3a3102c.zip |
openmpi: add ucc to fabrics (#41889)
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index a05b6ed11e..b076fec15e 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -443,6 +443,7 @@ class Openmpi(AutotoolsPackage, CudaPackage): "ofi", "fca", "hcoll", + "ucc", "xpmem", "cma", "knem", @@ -573,6 +574,7 @@ class Openmpi(AutotoolsPackage, CudaPackage): depends_on("libfabric", when="fabrics=ofi") depends_on("fca", when="fabrics=fca") depends_on("hcoll", when="fabrics=hcoll") + depends_on("ucc", when="fabrics=ucc") depends_on("xpmem", when="fabrics=xpmem") depends_on("knem", when="fabrics=knem") @@ -614,6 +616,8 @@ class Openmpi(AutotoolsPackage, CudaPackage): conflicts("fabrics=fca", when="@:1.4,5:") # hcoll support was added in 1.7.3: conflicts("fabrics=hcoll", when="@:1.7.2") + # ucc support was added in 4.1.4: + conflicts("fabrics=ucc", when="@:4.1.3") # xpmem support was added in 1.7 conflicts("fabrics=xpmem", when="@:1.6") # cma support was added in 1.7 @@ -907,6 +911,11 @@ class Openmpi(AutotoolsPackage, CudaPackage): return "--without-hcoll" return "--with-hcoll={0}".format(self.spec["hcoll"].prefix) + def with_or_without_ucc(self, activated): + if not activated: + return "--without-ucc" + return "--with-ucc={0}".format(self.spec["ucc"].prefix) + def with_or_without_xpmem(self, activated): if not activated: return "--without-xpmem" |