hcoll: ucx version requirements (#38665)

This commit is contained in:
Carlos Bederián 2023-07-05 04:48:58 -03:00 committed by GitHub
parent 1ce6feef94
commit a90200528f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,23 @@ class Hcoll(Package):
homepage = "https://www.mellanox.com/products/fca" homepage = "https://www.mellanox.com/products/fca"
has_code = False 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") 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 # HCOLL needs to be added as an external package to SPACK. For this, the
# config file packages.yaml needs to be adjusted: # config file packages.yaml needs to be adjusted:
# #