Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
slurm.31097
slurm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slurm.spec of Package slurm.31097
# # spec file for package slurm # # Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # Check file META in sources: update so_version to (API_CURRENT - API_AGE) %define so_version 33 %define ver 18.08.9 %define _ver _18_08 %define dl_ver %{ver} # so-version is 0 and seems to be stable %define pmi_so 0 %define pname slurm %define slurm_testsuite 1 %if 0%{?sle_version} == 120200 %define base_ver 1702 %endif %if 0%{?sle_version} == 150000 %define base_ver 1711 %endif %if 0%{?sle_version} == 150100 %define base_ver 1808 %endif %if 0%{?base_ver} > 0 && 0%{?base_ver} < %{lua:x=string.gsub(rpm.expand("%_ver"),"_","");print(x)} %define upgrade 1 %endif # for product build || keep factory-auto happy %if 0%{?sle_version} > 150100 || 0%{!?suse_version:1} %define upgrade 1 %endif # Build with PMIx only for SLE >= 15.2 and TW %if 0%{?sle_version} >= 150200 || 0%{suse_version} >= 1550 %{bcond_without pmix} %else %{bcond_with pmix} %endif # For anything newer than Leap 42.1 and SLE-12-SP1 build compatible to OpenHPC. %if 0%{suse_version} > 1320 || 0%{?sle_version} >= 120200 %define OHPC_BUILD 1 %endif %if 0%{?suse_version} >= 1220 || 0%{?sle_version} >= 120000 %define with_systemd 1 %endif %if 0%{?suse_version:1} && 0%{?suse_version} <= 1140 %define comp_at %defattr(-,root,root) %else %define have_json_c 1 %if 0%{?sle_version} >= 150000 || 0%{?is_opensuse} %define have_apache_rpm_macros 1 %endif %endif %if 0 %define have_netloc 1 %endif %if 0%{?is_opensuse} && 0%{!?sle_version:1} %define is_factory 1 %endif %if 0%{?is_factory} || 0%{?sle_version} >= 150000 %define have_hdf5 1 %define have_boolean_deps 1 %define have_lz4 1 %endif %ifarch x86_64 %define have_libnuma 1 %else %ifarch %{ix86} %if 0%{?sle_version} >= 120200 %define have_libnuma 1 %endif %endif %endif %if 0%{?with_systemd} %define slurm_u %pname %define slurm_g %pname %else %define slurm_u daemon %define slurm_g root %endif %define libslurm libslurm%{so_version} %if 0%{!?_pam_secconfdir:1} %define _pam_secconfdir %{_sysconfdir}/security %endif Name: %{pname}%{?upgrade:%{_ver}} Version: %{ver} Release: 0 Summary: Simple Linux Utility for Resource Management License: SUSE-GPL-2.0-with-openssl-exception Group: Productivity/Clustering/Computing URL: https://www.schedmd.com Source: %{pname}-%{dl_ver}.tar.bz2 Source1: slurm-rpmlintrc # create: tar --owner=nobody --group=nogroup --exclude=*~ -cvzf test_setup.tar.gz test_setup Source20: test_setup.tar.gz Source21: README_Testsuite.md Patch0: slurm-2.4.4-rpath.patch Patch1: slurm-2.4.4-init.patch Patch2: pam_slurm-Initialize-arrays-and-pass-sizes.patch Patch3: split-xdaemon-in-xdaemon_init-and-xdaemon_finish-for.patch Patch4: slurmctld-uses-xdaemon_-for-systemd.patch Patch5: slurmd-uses-xdaemon_-for-systemd.patch Patch6: slurmdbd-uses-xdaemon_-for-systemd.patch Patch7: slurmsmwd-uses-xdaemon_-for-systemd.patch Patch8: removed-deprecated-xdaemon.patch Patch9: slurmctld-rerun-agent_init-when-backup-controller-takes-over.patch Patch10: pam_slurm_adopt-avoid-running-outside-of-the-sshd-PA.patch Patch11: pam_slurm_adopt-send_user_msg-don-t-copy-undefined-d.patch Patch12: pam_slurm_adopt-use-uid-to-determine-whether-root-is.patch Patch13: Fix-Authentication-Bypass-when-Message-Aggregation-is-enabled-CVE-2020-12693.patch Patch14: PMIx-fix-potential-buffer-overflows-from-use-of-unpackmen_CVE-2020-27745.patch Patch15: X11-forwarding-avoid-unsafe-use-of-magic-cookie_CVE-2020-27746.patch Patch16: Fix-security-issue-in-Prolog-Epilog-Slurmctld-by-always-prepending-SPANK_.patch Patch17: Prevent_abuse_of_REQUEST_FORWARD_DATA.patch Patch18: Prevent_credential_abuse.patch Patch20: U_01-Remove-unused-pmixp_fixrights.patch Patch21: U_02-Move-file-permission-handling-into-pmixp_mkdir.patch Patch22: U_03-Restrict-PMIx-temp-directory-permissions-to-0700.patch Patch23: U_04-Remove-problematic-chmod.patch Patch24: U_05-Rework-to-avoid-problematic-chown.patch Patch25: U_06-Add-rmdir_recursive.patch #EmptyPatch26: U_07-Use-rmdir_recursive.patch Patch27: U_08-Use-rmdir_recursive.patch Patch28: U_09-Use-rmdir_recursive.patch #EmptyPatch29: U_10-Use-rmdir_recursive.patch #EmptyPatch30: U_11-Switch-creat-to-open-with-O_EXCL.patch Patch31: U_12-Swap-chown-for-lchown.patch Patch32: U_13-acct_gather_profile-hdf5-Avoid-TOCTOU-abuse-when-creating-directories.patch Patch33: U_14-Drop-reclaim-privileges-to-prevent-security-issue-with-H5Fcreate.patch Patch34: U_15-Remove-previously-vulnerable-chown-chmod.patch #EmptyPatch35: U_16-Use-lchown.patch Patch36: U_17-Expose-drop_privileges-reclaim_privileges.patch #EmptyPatch37: U_18-Run-setup_container-as-the-user.patch Patch38: U_19-Add-NEWS-for-CVE-2023-41914.patch %{?upgrade:Provides: %{pname} = %{version}} %{?upgrade:Obsoletes: %{pname} < %{version}} %{?upgrade:Conflicts: %{pname}} Requires: %{name}-config = %{version} %if 0%{?have_boolean_deps} Recommends: (%{name}-munge = %version if munge) %else Recommends: %{name}-munge = %version %endif Requires(pre): %{name}-node = %{version} Recommends: %{name}-doc = %{version} Recommends: %{name}-config-man = %{version} BuildRequires: coreutils BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gtk2-devel %if 0%{?have_hdf5} BuildRequires: hdf5-devel %endif BuildRequires: libbitmask-devel BuildRequires: libcpuset-devel BuildRequires: python %if 0%{?have_libnuma} BuildRequires: libnuma-devel %endif BuildRequires: mysql-devel >= 5.0.0 BuildRequires: ncurses-devel %{?with_pmix:BuildRequires: pmix-devel} BuildRequires: openssl-devel >= 0.9.6 BuildRequires: pkgconfig BuildRequires: readline-devel %if 0%{?suse_version} > 1310 || 0%{?sle_version} %if 0%{?sle_version} >= 120400 && 0%{?sle_version} < 150000 BuildRequires: infiniband-diags-devel %else BuildRequires: libibmad-devel %endif BuildRequires: libibumad-devel %endif %if 0%{?suse_version} > 1140 BuildRequires: libhwloc-devel %ifarch %{ix86} x86_64 BuildRequires: freeipmi-devel %endif %endif BuildRequires: libcurl-devel %if 0%{?have_json_c} BuildRequires: libjson-c-devel %endif %if 0%{?have_lz4} BuildRequires: liblz4-devel %endif BuildRequires: libssh2-devel BuildRequires: rrdtool-devel %if 0%{?with_systemd} %{?systemd_requires} BuildRequires: pkgconfig(systemd) %else Requires(post): %insserv_prereq %fillup_prereq %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: slurm-sched-wiki < %{version} Obsoletes: slurmdb-direct < %{version} %description SLURM is a fault-tolerant scalable cluster management and job scheduling system for Linux clusters containing up to 65,536 nodes. Components include machine status, partition management, job management, scheduling and accounting modules. %package doc Summary: Documentation for SLURM Group: Documentation/HTML %{?upgrade:Provides: %{pname}-doc = %{version}} %{?upgrade:Obsoletes: %{pname}-doc < %{version}} %{?upgrade:Conflicts: %{pname}-doc} %package webdoc Summary: Set up SLURM Documentation Server Group: Productivity/Clustering/Computing %if 0%{?have_apache_rpm_macros} BuildRequires: apache-rpm-macros %else %define apache_sysconfdir /etc/apache2 %endif Requires: slurm-doc = %{version} Requires(pre): apache2 %{?upgrade:Provides: %{pname}-webdoc = %{version}} %{?upgrade:Obsoletes: %{pname}-webdoc < %{version}} %{?upgrade:Conflicts: %{pname}-webdoc} %description webdoc Set up HTTP server for SLURM configuration. %description doc Documentation (HTML) for the SLURM cluster managment software. %package -n perl-%{name} Summary: Perl API to SLURM Group: Development/Languages/Perl Requires: %{name} = %{version} %if 0%{?suse_version} < 1140 Requires: perl = %{perl_version} %else %{libperl_requires} %{perl_requires} %endif %{?upgrade:Provides: perl-%{pname} = %{version}} %{?upgrade:Obsoletes: perl-%{pname} < %{version}} %{?upgrade:Conflicts: perl-%{pname}} %description -n perl-%{name} This package includes the Perl API to provide an interface to SLURM through Perl. %package -n %{libslurm} Summary: Libraries for SLURM Group: System/Libraries Requires: %{name}-config = %{version} %description -n %{libslurm} This package contains the library needed to run programs dynamically linked with SLURM. %package -n libpmi%{pmi_so}%{?upgrade:%{_ver}} Summary: SLURM PMI Library Group: System/Libraries %{?upgrade:Provides: libpmi%{pmi_so} = %{version}} %{?upgrade:Obsoletes: libpmi%{pmi_so} < %{version}} %{?upgrade:Conflicts: libpmi%{pmi_so}} %description -n libpmi%{pmi_so}%{?upgrade:%{_ver}} This package contains the library needed to run programs dynamically linked with SLURM. %package devel Summary: Development package for SLURM Group: Development/Libraries/C and C++ Requires: %{libslurm} = %{version} Requires: %{name} = %{version} Requires: libpmi%{pmi_so}%{?upgrade:%{_ver}} = %{version} %{?upgrade:Provides: %{pname}-devel = %{version}} %{?upgrade:Obsoletes: %{pname}-devel < %{version}} %{?upgrade:Conflicts: %{pname}-devel} %description devel This package includes the header files for the SLURM API. %package auth-none Summary: SLURM auth NULL implementation (no authentication) Group: Productivity/Clustering/Computing Requires: %{name} = %{version} %{?upgrade:Provides: %{pname}-auth-none = %{version}} %{?upgrade:Obsoletes: %{pname}-auth-none < %{version}} %{?upgrade:Conflicts: %{pname}-auth-none} %description auth-none This package cobtains the SLURM NULL authentication module. %package munge Summary: SLURM authentication and crypto implementation using Munge Group: Productivity/Clustering/Computing Requires: %{name}-plugins = %{version} Requires: munge BuildRequires: munge-devel Obsoletes: %{name}-auth-munge < %{version} Provides: %{name}-auth-munge = %{version} %{?upgrade:Provides: %{pname}-munge = %{version}} %{?upgrade:Obsoletes: %{pname}-munge < %{version}} %{?upgrade:Conflicts: %{pname}-munge} %description munge This package contains the SLURM authentication module for Chris Dunlap's Munge. %package sview Summary: SLURM graphical interface Group: Productivity/Clustering/Computing %{?upgrade:Provides: %{pname}-sview = %{version}} %{?upgrade:Obsoletes: %{pname}-sview < %{version}} %{?upgrade:Conflicts: %{pname}-sview} %description sview sview is a graphical user interface to get and update state information for jobs, partitions, and nodes managed by SLURM. %package slurmdbd Summary: SLURM database daemon Group: Productivity/Clustering/Computing Requires: %{name}-config = %{version} Requires: %{name}-plugins = %{version} Requires: %{name}-sql = %{version} %if 0%{?suse_version} > 1310 Recommends: mariadb %endif %if 0%{?have_boolean_deps} Recommends: (%{name}-munge = %version if munge) %else Recommends: %{name}-munge = %version %endif %if 0%{?with_systemd} %{?systemd_requires} %else Requires(post): %insserv_prereq %fillup_prereq %endif Obsoletes: slurm-sched-wiki < %{version} Obsoletes: slurmdb-direct < %{version} %{?upgrade:Provides: %{pname}-slurmdbd = %{version}} %{?upgrade:Obsoletes: %{pname}-slurmdbd < %{version}} %{?upgrade:Conflicts: %{pname}-slurmdbd} %description slurmdbd The SLURM database daemon provides accounting of jobs in a database. %package sql Summary: Slurm SQL support Group: Productivity/Clustering/Computing %{?upgrade:Provides: %{pname}-sql = %{version}} %{?upgrade:Obsoletes: %{pname}-sql < %{version}} %{?upgrade:Conflicts: %{pname}-sql} %description sql Contains interfaces to MySQL for use by SLURM. %package plugins Summary: SLURM plugins (loadable shared objects) Group: Productivity/Clustering/Computing %{?upgrade:Provides: %{pname}-plugins = %{version}} %{?upgrade:Obsoletes: %{pname}-plugins < %{version}} %{?upgrade:Conflicts: %{pname}-plugins} %description plugins This package contains the SLURM plugins (loadable shared objects) %package torque Summary: Wrappers for transitition from Torque/PBS to SLURM Group: Productivity/Clustering/Computing Requires: perl-%{name} = %{version} Requires: perl-Switch Provides: torque-client %{?upgrade:Provides: %{pname}-torque = %{version}} %{?upgrade:Obsoletes: %{pname}-torque < %{version}} %{?upgrade:Conflicts: %{pname}-torque} %description torque Wrapper scripts for aiding migration from Torque/PBS to SLURM. %package openlava Summary: Wrappers for transitition from OpenLava/LSF to Slurm Group: Productivity/Clustering/Computing Requires: perl-%{name} = %{version} %{?upgrade:Provides: %{pname}-openlava = %{version}} %{?upgrade:Obsoletes: %{pname}-openlava < %{version}} %{?upgrade:Conflicts: %{pname}-openlava} %description openlava Wrapper scripts for aiding migration from OpenLava/LSF to Slurm %package seff Summary: Mail tool that includes job statistics in user notification email Group: Productivity/Clustering/Computing Requires: perl-%{name} = %{version} %{?upgrade:Provides: %{pname}-seff = %{version}} %{?upgrade:Obsoletes: %{pname}-seff < %{version}} %{?upgrade:Conflicts: %{pname}-seff} %description seff Mail program used directly by the SLURM daemons. On completion of a job, it waits for accounting information to be available and includes that information in the email body. %package sjstat Summary: Perl tool to print SLURM job state information Group: Productivity/Clustering/Computing Requires: %{name} = %{version} %{?upgrade:Provides: %{pname}-sjstat = %{version}} %{?upgrade:Obsoletes: %{pname}-sjstat < %{version}} %{?upgrade:Conflicts: %{pname}-sjstat} %if 0%{?suse_version} < 1140 Requires: perl = %{perl_version} %else %{perl_requires} %endif %description sjstat This package contains a Perl tool to print SLURM job state information. %package pam_slurm Summary: PAM module for restricting access to compute nodes via SLURM Group: Productivity/Clustering/Computing Requires: %{name}-node = %{version} %{?upgrade:Provides: %{pname}-pam_slurm = %{version}} %{?upgrade:Obsoletes: %{pname}-pam_slurm < %{version}} %{?upgrade:Conflicts: %{pname}-pam_slurm} BuildRequires: pam-devel %description pam_slurm This module restricts access to compute nodes in a cluster where the Simple Linux Utility for Resource Managment (SLURM) is in use. Access is granted to root, any user with an SLURM-launched job currently running on the node, or any user who has allocated resources on the node according to the SLURM. %package lua Summary: Lua API for SLURM Group: Development/Languages/Other Requires: %{name} = %{version} %{?upgrade:Provides: %{pname}-lua = %{version}} %{?upgrade:Obsoletes: %{pname}-lua < %{version}} %{?upgrade:Conflicts: %{pname}-lua} BuildRequires: lua-devel %description lua This package includes the Lua API to provide an interface to SLURM through Lua. %package node Summary: Minimal slurm node Group: Productivity/Clustering/Computing Requires: %{name}-config = %{version} Requires: %{name}-plugins = %{version} %if 0%{?have_boolean_deps} Recommends: (%{name}-munge = %version if munge) %else Recommends: %{name}-munge = %version %endif %if 0%{?with_systemd} %{?systemd_requires} %else Requires(post): %insserv_prereq %fillup_prereq %endif %{?upgrade:Provides: %{pname}-node = %{version}} %{?upgrade:Obsoletes: %{pname}-node < %{version}} %{?upgrade:Conflicts: %{pname}-node} %description node This package contains just the minmal code to run a compute node. %package config Summary: Config files and directories for slurm services Group: Productivity/Clustering/Computing Requires: logrotate %if 0%{?suse_version} <= 1140 Requires(pre): pwdutils %else Requires(pre): shadow %endif %if 0%{?with_systemd} %{?systemd_requires} %endif %{?upgrade:Provides: %{pname}-config = %{version}} %{?upgrade:Obsoletes: %{pname}-config < %{version}} %{?upgrade:Conflicts: %{pname}-config} %description config This package contains the slurm config files necessary direcories for the slurm daemons. %package config-man Summary: Config files and directories for slurm services Group: Documentation/Man %{?upgrade:Provides: %{pname}-config-man = %{version}} %{?upgrade:Obsoletes: %{pname}-config-man < %{version}} %{?upgrade:Conflicts: %{pname}-config-man} %description config-man Man pages for the SLURM cluster managment software config files. %package hdf5 Summary: Store accounting data in hdf5 Group: Productivity/Clustering/Computing %{?upgrade:Conflicts: %{pname}-hdf5} %{?upgrade:Obsoletes: %{pname}-hdf5 < %{version}} %{?upgrade:Provides: %{pname}-hdf5 = %{version}} Requires: %{name}-plugins = %version %description hdf5 Plugin to store accounting in the hdf5 file format. This plugin has to be activated in the slurm configuration. Includes also utility the program sh5utils to merge this hdf5 files or extract data from them. %package cray Summary: Cray specific plugins Group: Productivity/Clustering/Computing %{?upgrade:Conflicts: %{pname}-cray} %{?upgrade:Obsoletes: %{pname}-cray < %{version}} %{?upgrade:Provides: %{pname}-cray = %{version}} %description cray Plugins for specific cray hardware, includes power and knl node management. Contains also cray specific documentation. %package testsuite Summary: Regression tests from Slurm sources Group: Productivity/Clustering/Computing %{?upgrade:Conflicts: %{pname}-testsuite} %{?upgrade:Obsoletes: %{pname}-testsuite < %{version}} %{?upgrade:Provides: %{pname}-testsuite = %{version}} Requires: %{name} = %version Requires: %{name}-auth-none = %version Requires: %{name}-cray = %version Requires: %{name}-devel = %version Recommends: %{name}-hdf5 = %version Requires: %{name}-lua = %version Requires: %{name}-munge = %version Requires: %{name}-node = %version Requires: %{name}-openlava = %version Requires: %{name}-seff = %version Requires: %{name}-sjstat = %version Requires: %{name}-slurmdbd = %version Requires: %{name}-sql = %version Requires: %{name}-torque = %version Requires: mariadb %{?with_pmix:Requires: pmix-devel} Requires: bzip2 Requires: expect Requires: gcc-c++ Requires: libnuma-devel Requires: pdsh Requires: perl-%{name} = %version Requires: sudo Requires: util-linux Requires: tar Requires: config(pam) BuildRequires: sudo %description testsuite NOTE: THIS PACKAGE IS FOR TESTING PURPOSES ONLY. IT REQUIRES A DEDICATED TESTING ENVIRONMENT. DO NOT INSTALL ON A PRODUCTION SYSTEM! Slurm provides a test set implemented as 'expect' scripts. Not all of the tests are expected to pass, some require a modified configuration. This test package is meant for internal purposes. Do not run test suite and file bug reports for each failed test! %prep %setup -q -n %{pname}-%{dl_ver} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 # Drop this fix as it is considered to be resolved by c1a537dbbe6 ##%patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch27 -p1 %patch28 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch36 -p1 %patch38 -p1 %build %define _lto_cflags %{nil} %configure --enable-shared \ --disable-static \ --without-rpath \ --without-datawarp \ --with-shared-libslurm \ %{!?have_netloc:--without-netloc} \ --sysconfdir=%{_sysconfdir}/%{pname} \ %{!?have_hdf5:--without-hdf5} \ %{!?have_lz4:--without-lz4} \ %{!?have_json_c:--without-json} make %{?_smp_mflags} %install %make_install make install-contrib DESTDIR=%{buildroot} PERL_MM_PARAMS="INSTALLDIRS=vendor" %if 0%{?with_systemd} mkdir -p %{buildroot}%{_unitdir} install -p -m644 etc/slurmd.service etc/slurmdbd.service etc/slurmctld.service %{buildroot}%{_unitdir} ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcslurmd ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcslurmdbd 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 EOF chmod 0644 %{buildroot}/%{_tmpfilesdir}/%{pname}.conf %else install -D -m755 etc/init.d.slurm %{buildroot}%{_initrddir}/slurm install -D -m755 etc/init.d.slurmdbd %{buildroot}%{_initrddir}/slurmdbd ln -sf %{_initrddir}/slurm %{buildroot}%{_sbindir}/rcslurm ln -sf %{_initrddir}/slurmdbd %{buildroot}%{_sbindir}/rcslurmdbd %endif mkdir -p %{buildroot}%{_localstatedir}/spool/slurm rm -f contribs/cray/opt_modulefiles_slurm rm -f %{buildroot}%{_sysconfdir}/plugstack.conf.template rm -f %{buildroot}%{_sysconfdir}/slurm.conf.template rm -f %{buildroot}%{_sbindir}/capmc_suspend rm -f %{buildroot}%{_sbindir}/capmc_resume rm -f %{buildroot}%{_sbindir}/slurmconfgen.py 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%{?OHPC_BUILD:.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 install -D -m755 contribs/sjstat %{buildroot}%{_bindir}/sjstat install -D -m755 contribs/sgather/sgather %{buildroot}%{_bindir}/sgather cp contribs/pam_slurm_adopt/README ../README.pam_slurm_adopt cp contribs/pam/README ../README.pam_slurm %if 0%{?OHPC_BUILD} # change slurm.conf for our needs head -n -2 %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf.example | grep -v ReturnToService > %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf sed -i 's#\(StateSaveLocation=\).*#\1%_localstatedir/lib/slurm#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf sed -i 's#^\(SlurmdPidFile=\).*$#\1%{_localstatedir}/run/slurm/slurmd.pid#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf sed -i 's#^\(SlurmctldPidFile=\).*$#\1%{_localstatedir}/run/slurm/slurmctld.pid#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf sed -i 's#^\(SlurmdSpoolDir=\)/.*#\1%{_localstatedir}/spool/slurm#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf %if 0%{?upgrade} || 0%{suse_version} > 1501 sed -i -e '/^ControlMachine=/i# Ordered List of Control Nodes' \ -e 's#ControlMachine=\(.*\)$#SlurmctldHost=\1(10.0.10.20)#' \ -e 's#BackupController=.*#SlurmctldHost=linux1(10.0.10.21)#' \ -e '/.*ControlAddr=.*/d' \ -e '/.*BackupAddr=.*/d' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf %endif cat >>%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf <<EOF # Potential exploit mitigation CVE-2022-29500 # When upgrading from a version without this fix # enable only after all daemons have been upgraded CommunicationParameters=block_null_hash # SUSE default configuration PropagateResourceLimitsExcept=MEMLOCK NodeName=linux State=UNKNOWN PartitionName=normal Nodes=linux Default=YES MaxTime=24:00:00 State=UP EOF # change slurmdbd.conf for our needs sed -i 's@LogFile=/var/log/slurm/slurmdbd.log@LogFile=/var/log/slurmdbd.log@'\ %{buildroot}/%{_sysconfdir}/%{pname}/slurmdbd.conf sed -i -e "s@PidFile=.*@PidFile=%{_localstatedir}/run/slurm/slurmdbd.pid@" \ %{buildroot}/%{_sysconfdir}/%{pname}/slurmdbd.conf # manage local state dir and a remote states save location mkdir -p %{buildroot}/%_localstatedir/lib/slurm sed -i -e "s@PIDFile=.*@PIDFile=%{_localstatedir}/run/slurm/slurmctld.pid@" \ -e "s@After=.*@After=network.target munge.service remote-fs.target@" \ %{buildroot}/%{_unitdir}/slurmctld.service sed -i -e "s@PIDFile=.*@PIDFile=%{_localstatedir}/run/slurm/slurmd.pid@" \ %{buildroot}/%{_unitdir}/slurmd.service sed -i -e "s@PIDFile=.*@PIDFile=%{_localstatedir}/run/slurm/slurmdbd.pid@" \ %{buildroot}/%{_unitdir}/slurmdbd.service %endif # Delete unpackaged files: test -s %{buildroot}/%{_perldir}/auto/Slurm/Slurm.bs || rm -f %{buildroot}/%{_perldir}/auto/Slurm/Slurm.bs test -s %{buildroot}/%{_perldir}/auto/Slurmdb/Slurmdb.bs || rm -f %{buildroot}/%{_perldir}/auto/Slurmdb/Slurmdb.bs rm -rf %{buildroot}/%{_libdir}/slurm/*.{a,la} \ %{buildroot}/%{_libdir}/*.la \ %{buildroot}/%_lib/security/*.la \ %{buildroot}/%{_mandir}/man5/bluegene* rm -f %{buildroot}/%{_mandir}/man1/srun_cr* \ %{buildroot}/%{_bindir}/srun_cr \ %{buildroot}/%{_libexecdir}/slurm/cr_* rm doc/html/shtml2html.py doc/html/Makefile* rm -f %{buildroot}/%{perl_archlib}/perllocal.pod rm -f %{buildroot}/%{perl_vendorarch}/auto/Slurm/.packlist rm -f %{buildroot}/%{perl_vendorarch}/auto/Slurmdb/.packlist # Build man pages that are generated directly by the tools rm -f %{buildroot}/%{_mandir}/man1/sjobexitmod.1 %{buildroot}%{_bindir}/sjobexitmod --roff > %{buildroot}/%{_mandir}/man1/sjobexitmod.1 rm -f %{buildroot}/%{_mandir}/man1/sjstat.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 mkdir -p %{buildroot}/etc/ld.so.conf.d echo '%{_libdir}/slurm' > %{buildroot}/etc/ld.so.conf.d/slurm.conf chmod 644 %{buildroot}/etc/ld.so.conf.d/slurm.conf # Make pkg-config file mkdir -p %{buildroot}/%{_libdir}/pkgconfig cat > %{buildroot}/%{_libdir}/pkgconfig/slurm.pc <<EOF includedir=%{_prefix}/include libdir=%{_libdir} Cflags: -I\${includedir} Libs: -L\${libdir} -lslurm Description: Slurm API Name: %{pname} Version: %{version} EOF # Enable rotation of log files mkdir -p %{buildroot}/%{_sysconfdir}/logrotate.d/ for service in slurmd slurmctld slurmdbd ; do cat <<EOF > %{buildroot}/%{_sysconfdir}/logrotate.d/${service}.conf /var/log/${service}.log { compress dateext missingok nocreate notifempty maxage 365 rotate 99 copytruncate postrotate pgrep ${service} && killall -SIGUSR2 ${service} || exit 0 endscript } EOF done mkdir -p %{buildroot}/%{apache_sysconfdir}/conf.d cat > %{buildroot}/%{apache_sysconfdir}/conf.d/slurm.conf <<EOF Alias /slurm/ "/usr/share/doc/slurm-%{ver}/html/" <Directory "/usr/share/doc/slurm-%{ver}/html/"> AllowOverride None DirectoryIndex slurm.html # Controls who can get stuff from this server. <IfModule !mod_access_compat.c> Require all granted </IfModule> <IfModule mod_access_compat.c> Order allow,deny Allow from all </IfModule> </Directory> EOF # Install testsuite %if 0%{?slurm_testsuite} # bug in testsuite ln -sf %{_libdir}/libslurm.so %{buildroot}%{_libdir}/slurm/libslurm.so mkdir -p %{buildroot}/srv/slurm-testsuite cd testsuite/expect filelist="$(grep '#include' *.c | sed -ne 's/.*:#include *\"\([^\"]*\)\".*/\1/p' | sort | uniq)" while true; do oldfilelist=$filelist; tlist="" for i in $filelist; do nlist=" $(grep '#include' ../../$i | sed -ne 's/#include *\"\([^\"]*\)\".*/\1/p')" tlist+=" $(for j in $nlist; do [ -e ../../$j ] && echo $j || true; done)" done filelist="$(for i in $filelist $tlist; do echo $i; done | sort | uniq)" [ "$filelist" = "$oldfilelist" ] && break done filelist+=" $(grep -Ehor '\{*build_dir\}*[^ ]*\.[oa]' | sed -e "s@{*build_dir}*/@@" | sort | uniq)" cd - newlist="" for i in $filelist; do dir=$(dirname $i) [ -d %{buildroot}/srv/slurm-testsuite/$dir ] || mkdir -p %{buildroot}/srv/slurm-testsuite/$dir cp -a $i %{buildroot}/srv/slurm-testsuite/$dir/ done mkdir -p %{buildroot}/srv/slurm-testsuite/testsuite/expect cp -ax testsuite/expect %{buildroot}/srv/slurm-testsuite/testsuite/ cat > %{buildroot}/srv/slurm-testsuite/testsuite/expect/globals.local <<EOF set slurm_dir "/usr" set build_dir "/srv/slurm-testsuite" set src_dir "/srv/slurm-testsuite" if {[ catch { set mpicc [ exec which mpicc 2>/dev/null ]}]} { set mpicc "" } set testsuite_user "auser" #set testsuite_cleanup_on_failure false EOF mkdir -p %{buildroot}/srv/slurm-testsuite/shared mkdir -p %{buildroot}%_localstatedir/lib/slurm/shared cd %{buildroot}/srv/slurm-testsuite find -type f -name "*.[ao]" -print | while read f; do # drop non-deterministic lto bits from .o files strip -p --discard-locals -R .gnu.lto_* -R .gnu.debuglto_* -N __gnu_lto_v1 $f done %if 0%{?suse_version} >= 1500 %define tar_sort --sort=name %endif tar --group=%slurm_g --owner=%slurm_u \ %{?tar_sort} --mtime="@${SOURCE_DATE_EPOCH:-`date +%%s`}" --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \ -cjf /tmp/slurmtest.tar.bz2 * cd - rm -rf %{buildroot}/srv/slurm-testsuite mkdir -p %{buildroot}/srv/slurm-testsuite mkdir -p %{buildroot}/%{_datadir}/%{name} mv /tmp/slurmtest.tar.bz2 %{buildroot}/%{_datadir}/%{name} mkdir -p %{buildroot}/etc/sudoers.d echo "slurm ALL=(auser) NOPASSWD:ALL" > %{buildroot}/etc/sudoers.d/slurm chmod 0440 %{buildroot}/etc/sudoers.d/slurm SLURMD_SERVICE=%{buildroot}%_sysconfdir/systemd/system/slurmd.service mkdir -p `dirname $SLURMD_SERVICE` cp %{buildroot}/%_unitdir/slurmd.service $SLURMD_SERVICE if grep -qE "^LimitNPROC" $SLURMD_SERVICE; then sed -i -e '/LimitNPROC/s@=.*@=infinity@' $SLURMD_SERVICE else sed -i -e '/LimitSTACK/aLimitNPROC=infinity' $SLURMD_SERVICE fi if grep -qE "^LimitNOFILE" $SLURMD_SERVICE; then sed -i -e '/LimitNOFILE/s@=.*@=131072:infinity@' $SLURMD_SERVICE else sed -i -e '/LimitSTACK/aLimitNOFILE=131072:infinity' $SLURMD_SERVICE fi sed -i -e '/ExecStart/aExecStartPre=/bin/bash -c "for i in 0 1 2 3; do test -e /dev/nvidia$i || mknod /dev/nvidia$i c 10 $((i+2)); done"' $SLURMD_SERVICE tar -xzf %{S:20} mkdir -p %{buildroot}%{_pam_secconfdir}/limits.d mv test_setup/slurm.conf.limits %{buildroot}%_pam_secconfdir/limits.d/slurm.conf mkdir -p %{buildroot}/root mv test_setup/setup-testsuite.sh %{buildroot}/root mkdir -p %{buildroot}/srv/slurm-testsuite/config/plugstack.conf.d cp %{S:21} . %endif %fdupes -s %{buildroot} # For testsuite - do after fdupes! [ -d test_setup -a -d %{buildroot}/srv/slurm-testsuite/config ] && \ mv test_setup/* %{buildroot}/srv/slurm-testsuite/config %define fixperm() [ $1 -eq 1 -a -e %2 ] && /bin/chmod %1 %2 %pre %if 0%{?with_systemd} %service_add_pre slurmctld.service %endif %post %if 0%{?with_systemd} %service_add_post slurmctld.service %else %fillup_and_insserv slurm %endif %preun %if 0%{?with_systemd} %service_del_preun slurmctld.service %endif %postun %if 0%{?with_systemd} %service_del_postun -n slurmctld.service %else %insserv_cleanup %endif %if 0%{?with_systemd} %pre slurmdbd %service_add_pre slurmdbd.service %endif %post slurmdbd %{fixperm 0600 %{_sysconfdir}/%{pname}/slurmdbd.conf} %{fixperm 0600 %{_sysconfdir}/%{pname}/slurmdbd.conf.example} %if 0%{?with_systemd} %service_add_post slurmdbd.service %else %fillup_and_insserv slurmdbd %endif %preun slurmdbd %if 0%{?with_systemd} %service_del_preun slurmdbd.service %else %stop_on_removal slurmdbd %endif %postun slurmdbd %{fixperm 0600 %{_sysconfdir}/%{pname}/slurmdbd.conf} %{fixperm 0600 %{_sysconfdir}/%{pname}/slurmdbd.conf.example} %if 0%{?with_systemd} %service_del_postun -n slurmdbd.service %else %restart_on_update slurmdbd %insserv_cleanup %endif %pre node %if 0%{?with_systemd} %service_add_pre slurmd.service %endif %post node %if 0%{?with_systemd} %service_add_post slurmd.service %endif %preun node %if 0%{?with_systemd} %service_del_preun slurmd.service %else %stop_on_removal slurmd %endif %postun node %if 0%{?with_systemd} %service_del_postun -n slurmd.service %else %restart_on_update slurmd %insserv_cleanup %endif %pre config %define slurmdir %{_sysconfdir}/slurm %define slurmdescr "SLURM workload manager" getent group %slurm_g >/dev/null || groupadd -r %slurm_g getent passwd %slurm_u >/dev/null || useradd -r -g %slurm_g -d %slurmdir -s /bin/false -c %{slurmdescr} %slurm_u [ -d %{_localstatedir}/spool/slurm ] && /bin/chown -h %slurm_u:%slurm_g %{_localstatedir}/spool/slurm exit 0 %post config %if 0%{?with_systemd} %if 0%{?tmpfiles_create:1} %tmpfiles_create slurm.conf %else systemd-tmpfiles --create slurm.conf %endif %endif %post -n %{libslurm} -p /sbin/ldconfig %postun -n %{libslurm} -p /sbin/ldconfig %post -n libpmi%{pmi_so}%{?upgrade:%{_ver}} -p /sbin/ldconfig %postun -n libpmi%{pmi_so}%{?upgrade:%{_ver}} -p /sbin/ldconfig %post testsuite rm -rf /srv/slurm-testsuite/src /srv/slurm-testsuite/testsuite /srv/slurm-testsuite/config.h 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 %{!?nil: # On update the %%postun code of the old package restarts the # service. This breaks in case the ABI between slurm and its # plugins has changed as updates are not atomic. Since we cannot # fix the old scripts we need these macros as a workaround. # They should be removed at some point. # Do pretrans in lua: https://fedoraproject.org/wiki/Packaging:Scriptlets } %define _test_rest() %{?with_systemd: os.remove("/run/%{1}.rst") if os.execute() and os.getenv("YAST_IS_RUNNING") ~= "instsys" then local handle = io.popen("systemctl is-active %{1} 2>&1") local str = handle:read("*a"); handle:close() str = string.gsub(str, '^%%s+', '') str = string.gsub(str, '%%s+$', '') str = string.gsub(str, '[\\n\\r]+', ' ') if str == "active" then local file = io.open("/run/%{1}.rst","w"); file:close() end end } %define _rest() %{?with_systemd:[ -e /run/%{1}.rst ] && { systemctl status %{1} &>/dev/null || systemctl restart %{1}; }; rm -f /run/%{1}.rst;} %{!?nil: # Until a posttrans macro has been added to macros.systemd, we need this # Do NOT delete the line breaks in the macro definition: they help # to cope with different versions of the %%_restart_on_update. } %define _res_update() %{?with_systemd: %{expand:%%_restart_on_update %{?*}} } %pretrans -p <lua> %_test_rest slurmctld %pretrans node -p <lua> %_test_rest slurmd %pretrans slurmdbd -p <lua> %_test_rest slurmdbd %posttrans %_res_update slurmctld %_rest slurmctld %posttrans node %_res_update slurmd %_rest slurmd %posttrans slurmdbd %_res_update slurmdbd.service %_rest slurmdbd %if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320 %define my_license %license %else %define my_license %doc %endif %files %{?comp_at} %doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER %my_license COPYING %{_bindir}/sacct %{_bindir}/sacctmgr %{_bindir}/salloc %{_bindir}/sattach %{_bindir}/sbatch %{_bindir}/sbcast %{_bindir}/scancel %{_bindir}/scontrol %{_bindir}/sdiag %{_bindir}/sgather %{_bindir}/sinfo %{_bindir}/sjobexitmod %{_bindir}/sprio %{_bindir}/squeue %{_bindir}/sreport %{_bindir}/smap %{_bindir}/sshare %{_bindir}/sstat %{_bindir}/strigger %{?have_netloc:%{_bindir}/netloc_to_topology} %{_sbindir}/slurmctld %{_sbindir}/slurmsmwd %dir %{_libdir}/slurm/src %if 0%{?with_systemd} %{_unitdir}/slurmctld.service %{_sbindir}/rcslurmctld %endif %{_mandir}/man1/sacct.1* %{_mandir}/man1/sacctmgr.1* %{_mandir}/man1/salloc.1* %{_mandir}/man1/sattach.1* %{_mandir}/man1/sbatch.1* %{_mandir}/man1/sbcast.1* %{_mandir}/man1/scancel.1* %{_mandir}/man1/scontrol.1* %{_mandir}/man1/sdiag.1.* %{_mandir}/man1/sgather.1.* %{_mandir}/man1/sinfo.1* %{_mandir}/man1/slurm.1* %{_mandir}/man1/smap.1* %{_mandir}/man1/sprio.1* %{_mandir}/man1/squeue.1* %{_mandir}/man1/sreport.1* %{_mandir}/man1/sshare.1* %{_mandir}/man1/sstat.1* %{_mandir}/man1/strigger.1* %{_mandir}/man1/sjobexitmod.1.* %{_mandir}/man1/sjstat.1.* %{_mandir}/man8/slurmctld.* %{_mandir}/man8/spank* %files openlava %{?comp_at} %{_bindir}/bjobs %{_bindir}/bkill %{_bindir}/bsub %{_bindir}/lsid %files seff %{?comp_at} %{_bindir}/seff %{_bindir}/smail %files doc %{?comp_at} %dir %{_datadir}/doc/%{pname}-%{dl_ver} %{_datadir}/doc/%{pname}-%{dl_ver}/* %files webdoc %{?comp_at} %{apache_sysconfdir}/conf.d/slurm.conf %files -n %{libslurm} %{?comp_at} %{_libdir}/libslurm*.so.%{so_version}* %files -n libpmi%{pmi_so}%{?upgrade:%{_ver}} %{?comp_at} %{_libdir}/libpmi*.so.%{pmi_so}* %files devel %{?comp_at} %{_prefix}/include/slurm %{_libdir}/libpmi.so %{_libdir}/libpmi2.so %{_libdir}/libslurm.so %{_libdir}/libslurmdb.so %{_libdir}/slurm/src/* %{_mandir}/man3/slurm_* %{_libdir}/pkgconfig/slurm.pc %files sview %{?comp_at} %{_bindir}/sview %{_mandir}/man1/sview.1* %files auth-none %{?comp_at} %{_libdir}/slurm/auth_none.so %files munge %{?comp_at} %{_libdir}/slurm/auth_munge.so %{_libdir}/slurm/crypto_munge.so %files -n perl-%{name} %{?comp_at} %{perl_vendorarch}/Slurm.pm %{perl_vendorarch}/Slurm %{perl_vendorarch}/auto/Slurm %{perl_vendorarch}/Slurmdb.pm %{perl_vendorarch}/auto/Slurmdb %{_mandir}/man3/Slurm*.3pm.* %files slurmdbd %{?comp_at} %{_sbindir}/slurmdbd %{_mandir}/man5/slurmdbd.* %{_mandir}/man8/slurmdbd.* %config(noreplace) %attr(0600,%slurm_u,%slurm_g) %{_sysconfdir}/%{pname}/slurmdbd.conf %attr(0600,%slurm_u,%slurm_g) %{_sysconfdir}/%{pname}/slurmdbd.conf.example %if 0%{?with_systemd} %{_unitdir}/slurmdbd.service %else %{_initrddir}/slurmdbd %endif %{_sbindir}/rcslurmdbd %files sql %{?comp_at} %dir %{_libdir}/slurm %{_libdir}/slurm/accounting_storage_mysql.so %{_libdir}/slurm/jobcomp_mysql.so %files plugins %{?comp_at} %config %{_sysconfdir}/ld.so.conf.d/slurm.conf %dir %{_libdir}/slurm %{_libdir}/slurm/libslurmfull.so %{_libdir}/slurm/accounting_storage_filetxt.so %{_libdir}/slurm/accounting_storage_none.so %{_libdir}/slurm/accounting_storage_slurmdbd.so %{_libdir}/slurm/acct_gather_energy_ibmaem.so %{_libdir}/slurm/acct_gather_energy_none.so %{_libdir}/slurm/acct_gather_energy_rapl.so %{_libdir}/slurm/acct_gather_filesystem_lustre.so %{_libdir}/slurm/acct_gather_filesystem_none.so %{_libdir}/slurm/acct_gather_interconnect_none.so %{_libdir}/slurm/acct_gather_profile_none.so %{_libdir}/slurm/burst_buffer_generic.so %{_libdir}/slurm/checkpoint_none.so %{_libdir}/slurm/checkpoint_ompi.so %{_libdir}/slurm/core_spec_none.so %{_libdir}/slurm/crypto_openssl.so %{_libdir}/slurm/ext_sensors_none.so %{_libdir}/slurm/gres_gpu.so %{_libdir}/slurm/gres_mic.so %{_libdir}/slurm/gres_nic.so %{_libdir}/slurm/jobacct_gather_cgroup.so %{_libdir}/slurm/jobacct_gather_linux.so %{_libdir}/slurm/jobacct_gather_none.so %{_libdir}/slurm/jobcomp_filetxt.so %{_libdir}/slurm/jobcomp_none.so %{_libdir}/slurm/jobcomp_script.so %{_libdir}/slurm/job_container_cncu.so %{_libdir}/slurm/job_container_none.so %{_libdir}/slurm/job_submit_all_partitions.so %{_libdir}/slurm/job_submit_defaults.so %{_libdir}/slurm/job_submit_logging.so %{_libdir}/slurm/job_submit_partition.so %{_libdir}/slurm/job_submit_require_timelimit.so %{_libdir}/slurm/job_submit_throttle.so %{_libdir}/slurm/launch_slurm.so %{_libdir}/slurm/layouts_power_cpufreq.so %{_libdir}/slurm/layouts_power_default.so %{_libdir}/slurm/layouts_unit_default.so %{_libdir}/slurm/mcs_account.so %{_libdir}/slurm/mcs_group.so %{_libdir}/slurm/mcs_none.so %{_libdir}/slurm/mcs_user.so %{_libdir}/slurm/mpi_none.so %{_libdir}/slurm/mpi_openmpi.so %{_libdir}/slurm/mpi_pmi2.so %if %{with pmix} %{_libdir}/slurm/mpi_pmix.so %{_libdir}/slurm/mpi_pmix_v3.so %endif %{_libdir}/slurm/power_none.so %{_libdir}/slurm/preempt_none.so %{_libdir}/slurm/preempt_partition_prio.so %{_libdir}/slurm/preempt_qos.so %{_libdir}/slurm/priority_basic.so %{_libdir}/slurm/priority_multifactor.so %{_libdir}/slurm/proctrack_cgroup.so %{_libdir}/slurm/proctrack_linuxproc.so %{_libdir}/slurm/proctrack_pgid.so %{_libdir}/slurm/route_default.so %{_libdir}/slurm/route_topology.so %{_libdir}/slurm/sched_backfill.so %{_libdir}/slurm/sched_builtin.so %{_libdir}/slurm/sched_hold.so %{_libdir}/slurm/select_alps.so %{_libdir}/slurm/select_cons_res.so %{_libdir}/slurm/select_linear.so %{_libdir}/slurm/select_serial.so %{_libdir}/slurm/slurmctld_nonstop.so %{_libdir}/slurm/switch_generic.so %{_libdir}/slurm/switch_none.so %{_libdir}/slurm/task_affinity.so %{_libdir}/slurm/task_cgroup.so %{_libdir}/slurm/task_none.so %{_libdir}/slurm/topology_3d_torus.so %{_libdir}/slurm/topology_hypercube.so %{_libdir}/slurm/topology_node_rank.so %{_libdir}/slurm/topology_none.so %{_libdir}/slurm/topology_tree.so %if 0%{?suse_version} > 1310 %{_libdir}/slurm/acct_gather_interconnect_ofed.so %endif %if 0%{?suse_version} > 1140 %ifarch %{ix86} x86_64 %{_libdir}/slurm/acct_gather_energy_ipmi.so %{_libdir}/slurm/acct_gather_energy_xcc.so %endif %endif %{_libdir}/slurm/node_features_knl_generic.so %{_libdir}/slurm/acct_gather_profile_influxdb.so %{_libdir}/slurm/ext_sensors_rrd.so %{_libdir}/slurm/jobcomp_elasticsearch.so %if !0%{?is_opensuse} %{_libdir}/slurm/acct_gather_energy_cray.so %{_libdir}/slurm/core_spec_cray.so %{_libdir}/slurm/job_submit_cray.so %{_libdir}/slurm/select_cray.so %{_libdir}/slurm/switch_cray.so %{_libdir}/slurm/task_cray.so %endif %files lua %{?comp_at} %{_libdir}/slurm/job_submit_lua.so %{_libdir}/slurm/proctrack_lua.so %files torque %{?comp_at} %{_bindir}/pbsnodes %{_bindir}/qalter %{_bindir}/qdel %{_bindir}/qhold %{_bindir}/qrls %{_bindir}/qrerun %{_bindir}/qstat %{_bindir}/qsub %{_bindir}/mpiexec.slurm %{_bindir}/generate_pbs_nodefile %{_libdir}/slurm/job_submit_pbs.so %{_libdir}/slurm/spank_pbs.so %files sjstat %{?comp_at} %{_bindir}/sjstat %files pam_slurm %{?comp_at} %doc ../README.pam_slurm ../README.pam_slurm_adopt /%_lib/security/pam_slurm.so /%_lib/security/pam_slurm_adopt.so %files node %{?comp_at} %{_sbindir}/slurmd %{_sbindir}/slurmstepd # bsc#1153095 %{_bindir}/srun %{_mandir}/man1/srun.1* %{_mandir}/man8/slurmd.* %{_mandir}/man8/slurmstepd* %if 0%{?with_systemd} %{_sbindir}/rcslurmd %{_unitdir}/slurmd.service %else %{_initrddir}/slurm %{_sbindir}/rcslurm %endif %files config %{?comp_at} %dir %{_sysconfdir}/%{pname} %dir %{_sysconfdir}/%{pname}/layouts.d %config(noreplace) %{_sysconfdir}/%{pname}/slurm.conf %{?OHPC_BUILD:%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 %{?OHPC_BUILD:%attr(0755, %slurm_u, %slurm_g) %_localstatedir/lib/slurm} %{?with_systemd:%{_tmpfilesdir}/%{pname}.conf} %dir %attr(0755, %slurm_u, %slurm_g)%{_localstatedir}/spool/slurm %config(noreplace) %{_sysconfdir}/logrotate.d/slurm* %files config-man %{?comp_at} %{_mandir}/man5/acct_gather.conf.* %{_mandir}/man5/burst_buffer.conf.* %{_mandir}/man5/ext_sensors.conf.* %{_mandir}/man5/slurm.* %{_mandir}/man5/cgroup.* %{_mandir}/man5/gres.* %{_mandir}/man5/nonstop.conf.5.* %{_mandir}/man5/topology.* %{_mandir}/man5/knl.conf.5.* %if !0%{?is_opensuse} %{_mandir}/man5/cray.* %endif %if 0%{?have_hdf5} %files hdf5 %{_bindir}/sh5util %{_libdir}/slurm/acct_gather_profile_hdf5.so %{_mandir}/man1/sh5util.1.gz %endif %if 0%{?is_opensuse} || 0%{?have_json_c} %files cray # do not remove cray sepcific packages from SLES update %if 0%{?is_opensuse} %{_libdir}/slurm/acct_gather_energy_cray.so %{_libdir}/slurm/core_spec_cray.so %{_libdir}/slurm/job_submit_cray.so %{_libdir}/slurm/select_cray.so %{_libdir}/slurm/switch_cray.so %{_libdir}/slurm/task_cray.so %{_mandir}/man5/cray.* %endif %if 0%{?have_json_c} %{_libdir}/slurm/burst_buffer_cray.so %{_libdir}/slurm/node_features_knl_cray.so %{_libdir}/slurm/power_cray.so %endif %endif %if 0%{?slurm_testsuite} %files testsuite %defattr(-, %slurm_u, %slurm_u, -) %dir %attr(-, %slurm_u, %slurm_u) /srv/slurm-testsuite %attr(-, root, root) %{_datadir}/%{name} %if 0%{?sle_version} == 120200 %dir %attr(-, root, root) %{_pam_secconfdir}/limits.d %endif %doc testsuite/expect/README %doc %{basename: %{S:21}} %config %attr( -, root, root) %{_sysconfdir}/systemd/system/slurmd.service %config %attr(0440, root, root) %{_sysconfdir}/sudoers.d/slurm %config %attr( -, root, root) %{_pam_secconfdir}/limits.d/slurm.conf %{_libdir}/slurm/libslurm.so %attr(0600, %slurm_u, %slurm_g) /srv/slurm-testsuite/config/slurmdbd.conf /srv/slurm-testsuite/* %dir %attr(-, %slurm_u, %slurm_g) %_localstatedir/lib/slurm/shared %attr( -, root, root) /root/setup-testsuite.sh %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor