Accepting request 1068316 from home:eeich:branches:network:cluster

+ Fixed GpuFreqDef option. When set in slurm.conf, it will be used if
      --gpu-freq was not explicitly set by the job step.
    + topology/tree - Add new TopologyParam=SwitchAsNodeRank option to reorder
      nodes based on switch layout. This can be useful if the naming convention
      for the nodes does not natually map to the network topology.
    + Removed the default setting for GpuFreqDef. If unset, no attempt to change
      the GPU frequency will be made if --gpu-freq is not set for the step.

OBS-URL: https://build.opensuse.org/request/show/1068316
OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=232
This commit is contained in:
Egbert Eich 2023-02-28 20:30:32 +00:00 committed by Git OBS Bridge
parent ef6d6521aa
commit 18aa012ab9
5 changed files with 18 additions and 38 deletions

View File

@ -1,25 +0,0 @@
From: Egbert Eich <eich@suse.com>
Date: Thu Feb 23 08:08:57 2023 +0100
Subject: Fix test1.99
Patch-mainline: Not yet
Git-commit: 5f3acbf12e58cb8ea8d585ea1040c641e3f00a2e
References:
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
testsuite/expect/test1.99 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/expect/test1.99 b/testsuite/expect/test1.99
index 157a512..f66176d 100755
--- a/testsuite/expect/test1.99
+++ b/testsuite/expect/test1.99
@@ -122,7 +122,7 @@ log_info "---Checking that srun uses correct ports---"
make_bash_script $file_in "
$srun $bin_bash -c \"
-task_id=\\\$($scontrol show step \$SLURM_JOBID\.\$SLURM_STEPID | $bin_grep SrunHost | $bin_awk -F: '{print \\\$3}')
+task_id=\\\$($scontrol show step \\\$SLURM_JOBID\.\\\$SLURM_STEPID | $bin_grep SrunHost | $bin_awk -F: '{print \\\$3}')
lsof -P -p \\\$task_id 2>/dev/null | $bin_grep LISTEN | $bin_awk '{print \\\$9}' | $bin_awk -F: '{print \\\$2}'
\""

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0148044bbf1411ea4532ef0bf8d77dbac8d8712bb3a5e514725e6888efe0d58
size 9878894

3
slurm-23.02.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21b902d24871a57f9074c58be194678b4410e9fccda3553305a008aa2954cea0
size 7258420

View File

@ -87,6 +87,8 @@ Mon Feb 20 20:45:59 UTC 2023 - Egbert Eich <eich@suse.com>
by ':'. by ':'.
+ New command scrun has been added. scrun acts as an Open Container + New command scrun has been added. scrun acts as an Open Container
Initiative (OCI) runtime proxy to run containers seamlessly via Slurm. Initiative (OCI) runtime proxy to run containers seamlessly via Slurm.
+ Fixed GpuFreqDef option. When set in slurm.conf, it will be used if
--gpu-freq was not explicitly set by the job step.
* Configuration Changes * Configuration Changes
+ job_container.conf - Added "Dirs" option to list desired private mount + job_container.conf - Added "Dirs" option to list desired private mount
points. points.
@ -140,6 +142,11 @@ Mon Feb 20 20:45:59 UTC 2023 - Egbert Eich <eich@suse.com>
ReconfigFlags=KeepPowerSaveSettings. ReconfigFlags=KeepPowerSaveSettings.
+ slurmdbd.conf - Add new AllResourcesAbsolute to force all new resources + slurmdbd.conf - Add new AllResourcesAbsolute to force all new resources
to be created with the Absolute flag. to be created with the Absolute flag.
+ topology/tree - Add new TopologyParam=SwitchAsNodeRank option to reorder
nodes based on switch layout. This can be useful if the naming convention
for the nodes does not natually map to the network topology.
+ Removed the default setting for GpuFreqDef. If unset, no attempt to change
the GPU frequency will be made if --gpu-freq is not set for the step.
* Command Changes * Command Changes
+ sacctmgr - no longer force updates to the AdminComment, Comment, or + sacctmgr - no longer force updates to the AdminComment, Comment, or
SystemComment to lower-case. SystemComment to lower-case.

View File

@ -20,9 +20,9 @@
%define so_version 39 %define so_version 39
%define ver 23.02.0 %define ver 23.02.0
%define _ver _23_02 %define _ver _23_02
%define rc_v 0rc1 #%%define rc_v 0rc1
#%%define dl_ver %{ver} %define dl_ver %{ver}
%define dl_ver 23-02-0%{?rc_v:-%rc_v} #%%define dl_ver 23-02-0%{?rc_v:-%rc_v}
# so-version is 0 and seems to be stable # so-version is 0 and seems to be stable
%define pmi_so 0 %define pmi_so 0
%define nss_so 2 %define nss_so 2
@ -152,8 +152,8 @@ Summary: Simple Linux Utility for Resource Management
License: SUSE-GPL-2.0-with-openssl-exception License: SUSE-GPL-2.0-with-openssl-exception
Group: Productivity/Clustering/Computing Group: Productivity/Clustering/Computing
URL: https://www.schedmd.com URL: https://www.schedmd.com
#Source: https://download.schedmd.com/slurm/%{pname}-%{dl_ver}.tar.bz2 Source: https://download.schedmd.com/slurm/%{pname}-%{dl_ver}.tar.bz2
Source: https://github.com/SchedMD/slurm/archive/refs/tags/%{pname}-%{dl_ver}.tar.gz #Source: https://github.com/SchedMD/slurm/archive/refs/tags/%{pname}-%{dl_ver}.tar.gz
Source1: slurm-rpmlintrc Source1: slurm-rpmlintrc
Source10: https://raw.githubusercontent.com/openSUSE/hpc/10c105e/files/slurm/slurmd.xml Source10: https://raw.githubusercontent.com/openSUSE/hpc/10c105e/files/slurm/slurmd.xml
Source11: https://raw.githubusercontent.com/openSUSE/hpc/10c105e/files/slurm/slurmctld.xml Source11: https://raw.githubusercontent.com/openSUSE/hpc/10c105e/files/slurm/slurmctld.xml
@ -169,7 +169,6 @@ Patch12: Fix-test-32.8.patch
Patch13: Fix-test-3.13.patch Patch13: Fix-test-3.13.patch
Patch14: Keep-logs-of-skipped-test-when-running-test-cases-sequentially.patch Patch14: Keep-logs-of-skipped-test-when-running-test-cases-sequentially.patch
Patch15: Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch Patch15: Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch
Patch16: Fix-test-1.99.patch
%{?upgrade:Provides: %{pname} = %{version}} %{?upgrade:Provides: %{pname} = %{version}}
%{?upgrade:Conflicts: %{pname}} %{?upgrade:Conflicts: %{pname}}
@ -644,7 +643,7 @@ configuration. This test package is meant for internal purposes.
Do not run test suite and file bug reports for each failed test! Do not run test suite and file bug reports for each failed test!
%prep %prep
%setup -q -n %{pname}-%{pname}-%{dl_ver} %setup -q -n %{pname}-%{dl_ver}
%patch0 -p1 %patch0 -p1
%patch2 -p1 %patch2 -p1
%patch10 -p1 %patch10 -p1
@ -653,7 +652,6 @@ Do not run test suite and file bug reports for each failed test!
%patch13 -p1 %patch13 -p1
%patch14 -p1 %patch14 -p1
%patch15 -p1 %patch15 -p1
%patch16 -p1
%if 0%{?python_ver} < 3 %if 0%{?python_ver} < 3
# Workaround for wrongly flagged python3 to keep SLE-11-SP4 building # Workaround for wrongly flagged python3 to keep SLE-11-SP4 building
@ -1448,9 +1446,9 @@ rm -rf /srv/slurm-testsuite/src /srv/slurm-testsuite/testsuite \
%{?comp_at} %{?comp_at}
%{_sbindir}/slurmd %{_sbindir}/slurmd
%{_sbindir}/slurmstepd %{_sbindir}/slurmstepd
%{_sbindir}/scrun
# bsc#1153095 # bsc#1153095
%{_bindir}/srun %{_bindir}/srun
%{_bindir}/scrun
%{_mandir}/man1/srun.1* %{_mandir}/man1/srun.1*
%{_mandir}/man1/scrun.1* %{_mandir}/man1/scrun.1*
%{_mandir}/man8/slurmd.* %{_mandir}/man8/slurmd.*
@ -1526,7 +1524,7 @@ rm -rf /srv/slurm-testsuite/src /srv/slurm-testsuite/testsuite \
%dir %attr(-, %slurm_u, %slurm_u) /srv/slurm-testsuite %dir %attr(-, %slurm_u, %slurm_u) /srv/slurm-testsuite
%attr(-, root, root) %{_datadir}/%{name} %attr(-, root, root) %{_datadir}/%{name}
%if 0%{?sle_version} == 120200 || 0%{?suse_version} >= 1550 %if 0%{?sle_version} == 120200 || 0%{?suse_version} >= 1550
%dir %{_pam_secconfdir}/limits.d %dir %attr(-, root, root) %{_pam_secconfdir}/limits.d
%endif %endif
%doc testsuite/expect/README %doc testsuite/expect/README
%doc %{basename: %{S:21}} %doc %{basename: %{S:21}}