From 52046053d5d5be93fc78e819b0b3911ba4faf97c6023e794a8982ea7affaf478 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 24 Oct 2022 05:31:40 +0000 Subject: [PATCH] Accepting request 1030610 from home:eeich:branches:network:cluster - Update README_Testsuite.md. - Make hdf5 package optional for test suite. - Clean up left over files when de-installing test suite. - set environment variable SUSE_ZNOW to 0 in %build to avoid module load failures due to unresolved symbols as module take advantage of lazy bindings (bsc#1200030). OBS-URL: https://build.opensuse.org/request/show/1030610 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=222 --- README_Testsuite.md | 39 +++++++++++++++++++-------------------- slurm.changes | 10 ++++++++++ slurm.spec | 6 ++++-- 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/README_Testsuite.md b/README_Testsuite.md index d32da13..4f0d668 100644 --- a/README_Testsuite.md +++ b/README_Testsuite.md @@ -23,11 +23,7 @@ For tests involving MPI this test suite currently uses OpenMPI version 4. ## Install and set up the Base System 1. Prepare image with a minimal minimal text mode installation. -2. Add NFS kernel server support: - ``` - # zypper install nfs-kernel-server - ``` -3. Install, enable and start sshd and make sure root is able to log in +2. Install, enable and start sshd and make sure root is able to log in without password across all nodes. ``` # zypper install openssh-server openssh-clients @@ -35,18 +31,18 @@ For tests involving MPI this test suite currently uses OpenMPI version 4. # ssh-keygen -t rsa -f .ssh/id_rsa -N # cat .ssh/id_rsa.pub >> .ssh/authorized_keys ``` -4. Create a test user 'auser' allow ssh from/to root: +3. Create a test user 'auser' allow ssh from/to root: ``` # useradd -m auser # cp -r /root/.ssh /home/auser ``` -5. Set up a persistent network if to obtain the network address and +4. Set up a persistent network if to obtain the network address and hostname thru DHCP: ``` # echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", '\ 'ATTR{address}=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="1",'\ - ' KERNEL=="?*", NAME="lan0" - # cat > root/etc/sysconfig/network/ifcfg-lan0 <> /etc/udev/rules.d/70-persistent-net.rules + # cat > /etc/sysconfig/network/ifcfg-lan0 < + +- Update README_Testsuite.md. +- Make hdf5 package optional for test suite. +- Clean up left over files when de-installing test suite. + ------------------------------------------------------------------- Fri Oct 14 08:49:24 UTC 2022 - Christian Goll @@ -106,6 +113,9 @@ Tue May 31 12:56:05 UTC 2022 - Christian Goll "bf_licenses" option in SchedulerParameters. - removed file slurm-2.4.4-init.patch as sysvinit is now realy deprecated - removed file load-pmix-major-version.patch as fixed upstream +- set environment variable SUSE_ZNOW to 0 in %build to avoid module load + failures due to unresolved symbols as module take advantage of lazy + bindings (bsc#1200030). ------------------------------------------------------------------- Tue May 10 10:26:02 UTC 2022 - Egbert Eich diff --git a/slurm.spec b/slurm.spec index 7d8b008..d6cf1eb 100644 --- a/slurm.spec +++ b/slurm.spec @@ -583,7 +583,7 @@ Requires: %{name} = %version Requires: %{name}-auth-none = %version Requires: %{name}-cray = %version Requires: %{name}-devel = %version -Requires: %{name}-hdf5 = %version +Recommends: %{name}-hdf5 = %version Requires: %{name}-lua = %version Requires: %{name}-munge = %version Requires: %{name}-node = %version @@ -1055,7 +1055,9 @@ rm -rf /srv/slurm-testsuite/src /srv/slurm-testsuite/testsuite /srv/slurm-testsu runuser -u %slurm_u -- tar --same-owner -C /srv/slurm-testsuite -xjf %{_datadir}/%{name}/slurmtest.tar.bz2 %preun testsuite -rm -rf /srv/slurm-testsuite/src /srv/slurm-testsuite/testsuite /srv/slurm-testsuite/config.h +rm -rf /srv/slurm-testsuite/src /srv/slurm-testsuite/testsuite \ + /srv/slurm-testsuite/slurm /srv/slurm-testsuite/shared \ + /srv/slurm-testsuite/config.h %{!?nil: # On update the %%postun code of the old package restarts the