diff --git a/slurm-20.02.6.tar.bz2 b/slurm-20.02.6.tar.bz2 deleted file mode 100644 index 1ba1f39..0000000 --- a/slurm-20.02.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:019ccdee6f9cd794ba1417ee4db04aa3780b66e5495a1275c3d278eb9f34274a -size 6361077 diff --git a/slurm-20.11.0.tar.bz2 b/slurm-20.11.0.tar.bz2 new file mode 100644 index 0000000..272d683 --- /dev/null +++ b/slurm-20.11.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:647d44e82bdc97da2600908de705e6dfdc1daa428dcdc2374b08f4fd63a6f23f +size 6475238 diff --git a/slurm.changes b/slurm.changes index 1b7ba99..2144987 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon Nov 30 20:48:01 UTC 2020 - Egbert Eich + +- Update to version 20.11.0 + Slurm 20.11 includes a number of new features including: + * Overhaul of the job step management and launch code, alongside improved + GPU task placement support. + * A new "Interactive Step" mode of operation for salloc. + * A new "scrontab" command that can be used to submit and manage + periodically repeating jobs. + * IPv6 support. + * Changes to the reservation logic, with new options allowing users + to delete reservations, allowing admins to skip the next occurance of a + repeated reservation, and allowing for a job to be submitted and eligible + to run within multiple reservations. + * Dynamic Future Nodes - automatically associate a dynamically + provisioned (or "cloud") node against a NodeName definition with matching + hardware. + * An experimental new RPC queuing mode for slurmctld to reduce thread + contention on heavily loaded clusters. + * SlurmDBD integration with the Slurm REST API. + Also check + https://github.com/SchedMD/slurm/blob/slurm-20-11-0-1/RELEASE_NOTES + ------------------------------------------------------------------- Wed Nov 18 08:40:59 UTC 2020 - Ana Guerrero Lopez diff --git a/slurm.spec b/slurm.spec index eaef17f..b453e5a 100644 --- a/slurm.spec +++ b/slurm.spec @@ -17,14 +17,15 @@ # Check file META in sources: update so_version to (API_CURRENT - API_AGE) -%define so_version 35 -%define ver 20.02.6 -%define _ver _20_02 +%define so_version 36 +%define ver 20.11.0 +%define _ver _20_11 %define dl_ver %{ver} # so-version is 0 and seems to be stable %define pmi_so 0 %define nss_so 2 %define pmix_so 2 +%define ver_major %(ver=%{version}; echo ${ver%.*}) %define pname slurm @@ -32,6 +33,9 @@ ExclusiveArch: do_not_build %endif +%if 0%{?suse_version} < 1315 +ExclusiveArch: do_not_build +%endif %if 0%{?sle_version} == 120200 %define base_ver 1702 %define nocheck 1 @@ -45,6 +49,9 @@ ExclusiveArch: do_not_build %if 0%{?sle_version} == 150200 %define base_ver 2002 %endif +%if 0%{?sle_version} == 150300 +%define base_ver 2011 +%endif %if 0%{?base_ver} > 0 && 0%{?base_ver} < %(echo %{_ver} | tr -d _) %define upgrade 1 @@ -76,6 +83,10 @@ ExclusiveArch: do_not_build %define have_http_parser 1 %endif +%if 0%{?have_http_parser} && 0%{?have_json_c} +%define build_slurmrestd 1 +%endif + %if 0 %define have_netloc 1 %endif @@ -109,6 +120,7 @@ ExclusiveArch: do_not_build %endif %define libslurm libslurm%{so_version} +%{!?_rundir:%define _rundir /var/run} Name: %{pname}%{?upgrade:%{_ver}} Version: %{ver} @@ -240,7 +252,9 @@ through Perl. # therefore no need for a version string for Leap/SLE upgrade packages Summary: Libraries for SLURM Group: System/Libraries -Requires: %{name}-config = %{version} +Requires: %{name}-config +Conflicts: %{name}-config < %{ver_major} +Conflicts: %{name}-config > %{ver_major}.99 Provides: libslurm = %{version} Conflicts: libslurm @@ -550,7 +564,7 @@ export CPPFLAGS=-DPMIX_SO=%{pmix_so} --without-rpath \ --without-datawarp \ --with-shared-libslurm \ -%if 0%{?have_http_parser} && 0%{?have_json_c} +%if 0%{?build_slurmrestd} --enable-slurmrestd \ %endif %{!?have_netloc:--without-netloc} \ @@ -575,7 +589,7 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcslurmctld install -d -m 0755 %{buildroot}/%{_tmpfilesdir}/ cat <<-EOF > %{buildroot}/%{_tmpfilesdir}/%{pname}.conf # Create a directory with permissions 0700 owned by user slurm, group slurm - d /var/run/slurm 0700 slurm slurm + d %{_rundir}/slurm 0700 slurm slurm EOF chmod 0644 %{buildroot}/%{_tmpfilesdir}/%{pname}.conf %else @@ -587,9 +601,6 @@ ln -sf %{_initrddir}/slurmdbd %{buildroot}%{_sbindir}/rcslurmdbd mkdir -p %{buildroot}%{_localstatedir}/spool/slurm install -D -m644 etc/cgroup.conf.example %{buildroot}/%{_sysconfdir}/%{pname}/cgroup.conf -install -D -m644 etc/layouts.d.power.conf.example %{buildroot}/%{_sysconfdir}/%{pname}/layouts.d/power.conf.example -install -D -m644 etc/layouts.d.power_cpufreq.conf.example %{buildroot}/%{_sysconfdir}/%{pname}/layouts.d/power_cpufreq.conf.example -install -D -m644 etc/layouts.d.unit.conf.example %{buildroot}/%{_sysconfdir}/%{pname}/layouts.d/unit.conf.example install -D -m644 etc/slurm.conf.example %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf.example install -D -m600 etc/slurmdbd.conf.example %{buildroot}/%{_sysconfdir}/%{pname}/slurmdbd.conf install -D -m600 etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{pname}/slurmdbd.conf.example @@ -650,10 +661,6 @@ rm -f %{buildroot}/%{_sbindir}/capmc_suspend \ %{buildroot}%{_bindir}/sjobexitmod --roff > %{buildroot}/%{_mandir}/man1/sjobexitmod.1 %{buildroot}%{_bindir}/sjstat --roff > %{buildroot}/%{_mandir}/man1/sjstat.1 -# rpmlint reports wrong end of line for those files -#sed -i 's/\r$//' %{buildroot}/%{_bindir}/qrerun -#sed -i 's/\r$//' %{buildroot}/%{_bindir}/qalter - # avoid conflicts with other packages, make wrapper unique mv %{buildroot}/%{_bindir}/mpiexec %{buildroot}/%{_bindir}/mpiexec.slurm @@ -719,7 +726,7 @@ cat > %{buildroot}/%{_sysconfdir}/%{pname}/nss_slurm.conf < 1310 @@ -1162,7 +1174,7 @@ exit 0 /%_lib/security/pam_slurm.so /%_lib/security/pam_slurm_adopt.so -%if 0%{?have_http_parser} && 0%{?have_json_c} +%if 0%{?build_slurmrestd} %files rest %{?comp_at} %{_sbindir}/slurmrestd @@ -1189,13 +1201,9 @@ exit 0 %files config %{?comp_at} %dir %{_sysconfdir}/%{pname} -%dir %{_sysconfdir}/%{pname}/layouts.d %config(noreplace) %{_sysconfdir}/%{pname}/slurm.conf %config %{_sysconfdir}/%{pname}/slurm.conf.example %config(noreplace) %{_sysconfdir}/%{pname}/cgroup.conf -%config(noreplace) %{_sysconfdir}/%{pname}/layouts.d/power.conf.example -%config(noreplace) %{_sysconfdir}/%{pname}/layouts.d/power_cpufreq.conf.example -%config(noreplace) %{_sysconfdir}/%{pname}/layouts.d/unit.conf.example %attr(0755, %slurm_u, %slurm_g) %_localstatedir/lib/slurm %{?with_systemd:%{_tmpfilesdir}/%{pname}.conf} %{?_rundir:%ghost %{_rundir}/slurm} @@ -1225,7 +1233,6 @@ exit 0 %{?comp_at} # do not remove cray sepcific packages from SLES update # Only for Cray -%{_libdir}/slurm/acct_gather_energy_cray_aries.so %{_libdir}/slurm/core_spec_cray_aries.so %{_libdir}/slurm/job_submit_cray_aries.so %{_libdir}/slurm/select_cray_aries.so