From 28f749191c4c68eb4df2e7f6f6f8cda6cbd18252 Mon Sep 17 00:00:00 2001 From: Wouter Depypere Date: Wed, 6 Sep 2023 13:44:14 +0200 Subject: [PATCH] fix dependencies for rhel 88 --- bdist_rpm.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bdist_rpm.sh b/bdist_rpm.sh index 4842aedf24b..9cb3e673c2e 100755 --- a/bdist_rpm.sh +++ b/bdist_rpm.sh @@ -37,6 +37,8 @@ if grep "release 7" /etc/redhat-release; then sudo yum install -y ucx-devel-1.5.2-1.el7.x86_64 "pmix-devel > 3.0.0" numactl-devel pmix-pmi-devel hwloc-devel-1.11.8-4.el7.x86_64 elif grep "release 8.6" /etc/redhat-release; then sudo yum install -y ucx-devel-1.11.2-2.el8.x86_64 "pmix-devel > 3.1.4" numactl-devel pmix-pmi-devel hwloc-devel-2.2.0-3.el8.x86_64 +elif grep "release 8.8" /etc/redhat-release; then + sudo yum install -y ucx-devel-1.13.1-2.el8.x86_64 "pmix-devel > 3.1.4" numactl-devel pmix-pmi-devel hwloc-devel-2.2.0-3.el8.x86_64 else sudo yum install -y ucx-devel-1.9.0-1.el8.x86_64 "pmix-devel > 3.0.0" numactl-devel pmix-pmi-devel hwloc-devel-0:1.11.9-3.el8.x86_64 fi @@ -51,8 +53,8 @@ sudo yum install munge-devel mariadb-devel pam-devel readline-devel # TODO: what if more than one cuda is available/installed, then the * thingies will probably not work # pmix-3 as rebuild from github src.rpm includes the devel rpms in the rpm -sudo yum remove -y cuda-nvml-dev-10-1 cuda-nvml-dev-10-2 cuda-nvml-devel-11-6 -sudo yum install -y nvidia-driver-devel nvidia-driver-NVML cuda-nvml-devel-11-6 +sudo yum remove -y cuda-nvml-dev-10-1 cuda-nvml-dev-10-2 cuda-nvml-devel-11-6 cuda-nvml-devel-12-2 +sudo yum install -y nvidia-driver-devel nvidia-driver-NVML cuda-nvml-devel-12-2 # glob expansion in list @@ -77,8 +79,8 @@ echo "BUILDING NON GPU VERSION" # TODO: what if more than one cuda is available/installed, then the * thingies will probably not work # pmix-3 as rebuild from github src.rpm includes the devel rpms in the rpm -sudo yum remove -y nvidia-driver-devel cuda-nvml-dev-10-2 nvidia-driver-NVML cuda-nvml-dev-10-1 -sudo yum remove -y nvidia-driver-devel nvidia-driver-NVML cuda-nvml-devel-11-3-11.3.58-1.x86_64 +sudo yum remove -y nvidia-driver-devel cuda-nvml-dev-10-2 nvidia-driver-NVML cuda-nvml-dev-10-1 cuda-nvml-devel-11-6 cuda-nvml-devel-12-2 +sudo yum remove -y nvidia-driver-NVML cuda-nvml-devel-11-3-11.3.58-1.x86_64 rpmbuild --define "gittag ${GITTAG}" --define "_topdir $PWD" --with pmix --with numa --with hwloc --with mysql --with x11 --with ucx --define "gpu .nogpu" -ba SPECS/slurm.spec