summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Bederián <carlos.bederian@unc.edu.ar>2023-07-05 04:48:58 -0300
committerGitHub <noreply@github.com>2023-07-05 09:48:58 +0200
commita90200528fc8fefbd1d04b62f64db1e925596b8f (patch)
tree36ce4458a102d57c1f93896ae4827b7c49270525
parent1ce6feef94f6b0377b2a5e03ebcfe04c734c1e83 (diff)
downloadspack-a90200528fc8fefbd1d04b62f64db1e925596b8f.tar.gz
spack-a90200528fc8fefbd1d04b62f64db1e925596b8f.tar.bz2
spack-a90200528fc8fefbd1d04b62f64db1e925596b8f.tar.xz
spack-a90200528fc8fefbd1d04b62f64db1e925596b8f.zip
hcoll: ucx version requirements (#38665)
-rw-r--r--var/spack/repos/builtin/packages/hcoll/package.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hcoll/package.py b/var/spack/repos/builtin/packages/hcoll/package.py
index e11d738e22..b9f666c56e 100644
--- a/var/spack/repos/builtin/packages/hcoll/package.py
+++ b/var/spack/repos/builtin/packages/hcoll/package.py
@@ -14,8 +14,23 @@ class Hcoll(Package):
homepage = "https://www.mellanox.com/products/fca"
has_code = False
+ # To get the version number
+ # grep HCOLL_VERNO_STRING path/include/hcoll/api/hcoll_version.h
+ version("4.8.3221") # HPC-X 2.14/2.15, UCX 1.15
+ version("4.8.3220") # HPC-X 2.13, UCX 1.14
+ version("4.8.3217") # HPC-X 2.12, UCX 1.14
+ version("4.7.3208") # HPC-X 2.11, UCX 1.13
+ version("4.7.3202") # HPC-X 2.10, UCX 1.12
+ version("4.7.3199") # HPC-X 2.9, UCX 1.11
version("3.9.1927")
+ # ucx throws warnings when running alongside the wrong version of hcoll
+ requires("ucx@1.15", when="@4.8.3221")
+ requires("ucx@1.14", when="@4.8.3217:4.8.3220")
+ requires("ucx@1.13", when="@4.7.3208")
+ requires("ucx@1.12", when="@4.7.3202")
+ requires("ucx@1.11", when="@4.7.3199")
+
# HCOLL needs to be added as an external package to SPACK. For this, the
# config file packages.yaml needs to be adjusted:
#