|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
# Base Packages
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
# slurm
|
|
Philip Kovacs |
9be8f2 |
# slurm-devel
|
|
Philip Kovacs |
9be8f2 |
# slurm-doc
|
|
Philip Kovacs |
9be8f2 |
# slurm-gui
|
|
Philip Kovacs |
9be8f2 |
# slurm-libs
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-auth_none
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-lua
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-munge
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-mysql
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-pbs
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-rrdtool
|
|
Philip Kovacs |
9be8f2 |
# slurm-slurmdbd
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
# Contribs Packages
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
# slurm-contribs
|
|
Philip Kovacs |
9be8f2 |
# slurm-openlava
|
|
Philip Kovacs |
9be8f2 |
# slurm-perlapi
|
|
Philip Kovacs |
9be8f2 |
# slurm-plugins-pam_slurm
|
|
Philip Kovacs |
9be8f2 |
# slurm-torque
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
Name: slurm
|
|
Philip Kovacs |
0a53fa |
Version: 17.02.9
|
|
Philip Kovacs |
db5c17 |
Release: 1%{?dist}
|
|
Philip Kovacs |
9be8f2 |
Summary: Simple Linux Utility for Resource Management
|
|
Philip Kovacs |
9be8f2 |
License: GPLv2 and BSD
|
|
Philip Kovacs |
9be8f2 |
URL: https://slurm.schedmd.com/
|
|
Philip Kovacs |
9be8f2 |
Source0: http://www.schedmd.com/download/latest/%{name}-%{version}.tar.bz2
|
|
Philip Kovacs |
9be8f2 |
Source1: slurm.conf
|
|
Philip Kovacs |
9be8f2 |
Source2: slurmdbd.conf
|
|
Philip Kovacs |
9be8f2 |
Source3: slurm-sview.desktop
|
|
Philip Kovacs |
9be8f2 |
Source4: slurm-128x128.png
|
|
Philip Kovacs |
9be8f2 |
Source5: slurm_setuser.in
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# build-related patches
|
|
Philip Kovacs |
db5c17 |
Patch1: slurm_perlapi_rpaths.patch
|
|
Philip Kovacs |
db5c17 |
Patch2: slurm_html_doc_path.patch
|
|
Philip Kovacs |
db5c17 |
Patch3: slurm_doc_fix.patch
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# Fedora-related patches
|
|
Philip Kovacs |
db5c17 |
Patch4: slurm_service_files.patch
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
db5c17 |
BuildRequires: autoconf
|
|
Philip Kovacs |
db5c17 |
BuildRequires: automake
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: hdf5-devel
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(hwloc)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(libfreeipmi)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(libcurl)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(lua)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(mariadb)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(munge)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(ncurses)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(openssl)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pam-devel
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pmix-devel
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: readline-devel
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(librrd)
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconfig(zlib)
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# follow arch exclusions for these devel packages
|
|
Philip Kovacs |
9be8f2 |
%ifnarch s390 s390x %{arm}
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: libibmad-devel
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: libibumad-devel
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: numactl-devel
|
|
Philip Kovacs |
9be8f2 |
%endif
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: desktop-file-utils
|
|
Philip Kovacs |
7245d5 |
BuildRequires: gcc
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: perl-ExtUtils-MakeMaker
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: perl-podlators
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: pkgconf
|
|
Philip Kovacs |
9be8f2 |
%{?systemd_requires}
|
|
Philip Kovacs |
9be8f2 |
BuildRequires: systemd
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-plugins-munge%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
Requires: munge
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%description
|
|
Philip Kovacs |
9be8f2 |
Slurm is an open source, fault-tolerant, and highly scalable
|
|
Philip Kovacs |
9be8f2 |
cluster management and job scheduling system for large and
|
|
Philip Kovacs |
9be8f2 |
small Linux clusters.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
# Base Packages
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package devel
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm development
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description devel
|
|
Philip Kovacs |
9be8f2 |
Development package for Slurm. Includes headers, libraries
|
|
Philip Kovacs |
9be8f2 |
and man pages for using the Slurm API.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package doc
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm documentation
|
|
Philip Kovacs |
9be8f2 |
%description doc
|
|
Philip Kovacs |
9be8f2 |
Documentation package for Slurm. Includes documentation and
|
|
Philip Kovacs |
9be8f2 |
html-based configuration tools for Slurm.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package gui
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm gui and visual tools
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description gui
|
|
Philip Kovacs |
9be8f2 |
This package contains the Slurm visual tools smap and sview
|
|
Philip Kovacs |
9be8f2 |
and their respective man pages.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package libs
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm shared libraries
|
|
Philip Kovacs |
9be8f2 |
%description libs
|
|
Philip Kovacs |
9be8f2 |
Slurm shared libraries.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm plugins (loadable shared objects)
|
|
Philip Kovacs |
9be8f2 |
%description plugins
|
|
Philip Kovacs |
9be8f2 |
Slurm plugins (loadable shared objects) supporting a wide variety of
|
|
Philip Kovacs |
9be8f2 |
architectures and behaviors. These basically provide the building blocks
|
|
Philip Kovacs |
9be8f2 |
with which Slurm can be configured. Note that some system specific plugins
|
|
Philip Kovacs |
9be8f2 |
are in other packages.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-auth_none
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm auth null implementation (no authentication)
|
|
Philip Kovacs |
9be8f2 |
%description plugins-auth_none
|
|
Philip Kovacs |
9be8f2 |
Slurm null authentication plugin.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-lua
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm lua plugins
|
|
Philip Kovacs |
9be8f2 |
%description plugins-lua
|
|
Philip Kovacs |
9be8f2 |
Slurm proctrack/lua and job_submit/lua plugins.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-munge
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm authentication and crypto plugins using Munge
|
|
Philip Kovacs |
9be8f2 |
%description plugins-munge
|
|
Philip Kovacs |
9be8f2 |
Slurm authentication and crypto implementation using Munge. Used to
|
|
Philip Kovacs |
9be8f2 |
authenticate user originating an RPC, digitally sign and/or encrypt messages.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-mysql
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm MySQL/MariaDb support
|
|
Philip Kovacs |
9be8f2 |
%description plugins-mysql
|
|
Philip Kovacs |
9be8f2 |
Slurm MySQL/MariaDb support plugins implementing interfaces to those
|
|
Philip Kovacs |
9be8f2 |
databases for accounting storage and job completion.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-pbs
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm torque (PBS) support
|
|
Philip Kovacs |
9be8f2 |
%description plugins-pbs
|
|
Philip Kovacs |
9be8f2 |
Slurm torque (PBS) support plugins.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-rrdtool
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm rrdtool external sensor plugin
|
|
Philip Kovacs |
9be8f2 |
%description plugins-rrdtool
|
|
Philip Kovacs |
9be8f2 |
Slurm external sensor plugin for rrdtool. This package is separated from
|
|
Philip Kovacs |
9be8f2 |
the base plugins package due to gui dependencies which are unneeded if not
|
|
Philip Kovacs |
9be8f2 |
using this plugin.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package slurmdbd
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm database daemon
|
|
Philip Kovacs |
9be8f2 |
# Use with auth_none or munge plugins for authentication
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-plugins-munge%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-plugins-mysql%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
Requires: munge
|
|
Philip Kovacs |
9be8f2 |
%description slurmdbd
|
|
Philip Kovacs |
9be8f2 |
Slurm database daemon. Used to accept and process database RPCs and upload
|
|
Philip Kovacs |
9be8f2 |
database changes to slurmctld daemons on each cluster.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
# Contribs Packages
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package contribs
|
|
Philip Kovacs |
9be8f2 |
Summary: Perl tools to print Slurm job state information
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description contribs
|
|
Philip Kovacs |
9be8f2 |
Slurm contribution package which includes the programs seff,
|
|
Philip Kovacs |
9be8f2 |
sjobexitmod, sjstat and smail. See their respective man pages
|
|
Philip Kovacs |
9be8f2 |
for more information.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package openlava
|
|
Philip Kovacs |
9be8f2 |
Summary: Openlava/LSF wrappers for transition from OpenLava/LSF to Slurm
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description openlava
|
|
Philip Kovacs |
9be8f2 |
OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package perlapi
|
|
Philip Kovacs |
9be8f2 |
Summary: Perl API to Slurm
|
|
Philip Kovacs |
9be8f2 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description perlapi
|
|
Philip Kovacs |
9be8f2 |
Perl API package for Slurm. This package includes the perl API to provide a
|
|
Philip Kovacs |
9be8f2 |
helpful interface to Slurm through Perl.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package plugins-pam_slurm
|
|
Philip Kovacs |
9be8f2 |
Summary: Slurm pam modules
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description plugins-pam_slurm
|
|
Philip Kovacs |
9be8f2 |
The pam_slurm module restricts access to compute nodes in a cluster where Slurm
|
|
Philip Kovacs |
9be8f2 |
is in use. Also includes the pam_slurm_adopt plugin for "adopting" connections
|
|
Philip Kovacs |
9be8f2 |
into slurm jobs.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%package torque
|
|
Philip Kovacs |
9be8f2 |
Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
Requires: %{name}-plugins-pbs%{?_isa} = %{version}-%{release}
|
|
Philip Kovacs |
9be8f2 |
%description torque
|
|
Philip Kovacs |
9be8f2 |
Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm.
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%prep
|
|
Philip Kovacs |
9be8f2 |
%setup -q -n %{name}-%{version}
|
|
Philip Kovacs |
9be8f2 |
%patch1 -p1
|
|
Philip Kovacs |
9be8f2 |
%patch2 -p1
|
|
Philip Kovacs |
9be8f2 |
%patch3 -p1
|
|
Philip Kovacs |
9be8f2 |
%patch4 -p1
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE1 etc/slurm.conf
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE1 etc/slurm.conf.example
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE2 etc/slurmdbd.conf
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE2 etc/slurmdbd.conf.example
|
|
Philip Kovacs |
9be8f2 |
mkdir -p share/applications
|
|
Philip Kovacs |
9be8f2 |
mkdir -p share/icons/hicolor/128x128/apps
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE3 share/applications/%{name}-sview.desktop
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE4 share/icons/hicolor/128x128/apps/%{name}.png
|
|
Philip Kovacs |
9be8f2 |
mkdir -p extras
|
|
Philip Kovacs |
9be8f2 |
cp %SOURCE5 extras/slurm_setuser.in
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%build
|
|
Philip Kovacs |
db5c17 |
%{__aclocal} -I auxdir
|
|
Philip Kovacs |
db5c17 |
%{__autoconf}
|
|
Philip Kovacs |
db5c17 |
%{__automake} --no-force
|
|
Philip Kovacs |
9be8f2 |
# upstream bug #2443. need to force lazy linkage since plugins contain
|
|
Philip Kovacs |
9be8f2 |
# undefined symbols not used in every context, i.e. slurmctld vs slurmd.
|
|
Philip Kovacs |
9be8f2 |
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
|
|
Philip Kovacs |
9be8f2 |
CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
|
|
Philip Kovacs |
9be8f2 |
# --enable-debug (auxdir/x_ac_debug.m4) breaks fortification (-O0)
|
|
Philip Kovacs |
9be8f2 |
%configure \
|
|
Philip Kovacs |
9be8f2 |
--prefix=%{_prefix} \
|
|
Philip Kovacs |
9be8f2 |
--sysconfdir=%{_sysconfdir}/%{name} \
|
|
Philip Kovacs |
9be8f2 |
--with-pam_dir=%{_libdir}/security \
|
|
Philip Kovacs |
9be8f2 |
--enable-shared \
|
|
Philip Kovacs |
9be8f2 |
--disable-static \
|
|
Philip Kovacs |
9be8f2 |
--disable-debug \
|
|
Philip Kovacs |
9be8f2 |
--disable-developer \
|
|
Philip Kovacs |
9be8f2 |
--disable-bluegene \
|
|
Philip Kovacs |
9be8f2 |
--disable-native-cray \
|
|
Philip Kovacs |
9be8f2 |
--disable-cray-network \
|
|
Philip Kovacs |
9be8f2 |
--disable-salloc-background \
|
|
Philip Kovacs |
9be8f2 |
--disable-multiple-slurmd \
|
|
Philip Kovacs |
9be8f2 |
--disable-partial_attach \
|
|
Philip Kovacs |
9be8f2 |
--without-rpath \
|
|
Philip Kovacs |
9be8f2 |
# patch libtool to remove rpaths
|
|
Philip Kovacs |
9be8f2 |
sed -i 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# configure the extras/slurm_setuser script
|
|
Philip Kovacs |
9be8f2 |
sed -r '
|
|
Philip Kovacs |
9be8f2 |
s|^dir_conf=.*|dir_conf="%{_sysconfdir}/%{name}"|g;
|
|
Philip Kovacs |
9be8f2 |
s|^dir_log=.*|dir_log="%{_var}/log/%{name}"|g;
|
|
Philip Kovacs |
9be8f2 |
s|^dir_run=.*|dir_run="%{_rundir}/%{name}"|g;
|
|
Philip Kovacs |
9be8f2 |
s|^dir_spool=.*|dir_spool="%{_var}/spool/%{name}"|g;
|
|
Philip Kovacs |
9be8f2 |
s|^dir_tmpfiles_d=.*|dir_tmpfiles_d="%{_tmpfilesdir}"|g;' \
|
|
Philip Kovacs |
9be8f2 |
extras/slurm_setuser.in > extras/slurm_setuser
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# build base packages
|
|
Philip Kovacs |
db5c17 |
%make_build V=1
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# build contribs packages
|
|
Philip Kovacs |
9be8f2 |
# INSTALLDIRS=vendor so perlapi goes to vendor_perl directory
|
|
Philip Kovacs |
db5c17 |
PERL_MM_PARAMS="INSTALLDIRS=vendor" %make_build contrib V=1
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%check
|
|
Philip Kovacs |
7245d5 |
%{__make} check
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%install
|
|
Philip Kovacs |
9be8f2 |
%make_install
|
|
Philip Kovacs |
9be8f2 |
%{__make} install-contrib DESTDIR=%{buildroot}
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/layouts.d
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_unitdir}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/cgroup.conf.example \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/cgroup.conf.example \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_sysconfdir}/%{name}/cgroup.conf
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/cgroup_allowed_devices_file.conf.example \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/layouts.d.power.conf.example \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_sysconfdir}/%{name}/layouts.d/power.conf.example
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/layouts.d.power_cpufreq.conf.example \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_sysconfdir}/%{name}/layouts.d/power_cpufreq.conf.example
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/layouts.d.unit.conf.example \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_sysconfdir}/%{name}/layouts.d/unit.conf.example
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurm.conf %{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurm.conf.example %{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurmdbd.conf %{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurm.epilog.clean %{buildroot}%{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurmctld.service %{buildroot}%{_unitdir}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurmd.service %{buildroot}%{_unitdir}
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 -p etc/slurmdbd.service %{buildroot}%{_unitdir}
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# tmpfiles.d file for creating /run/slurm dir after reboot
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_tmpfilesdir}
|
|
Philip Kovacs |
9be8f2 |
cat >%{buildroot}%{_tmpfilesdir}/slurm.conf <
|
|
Philip Kovacs |
9be8f2 |
D %{_rundir}/%{name} 0755 root root -
|
|
Philip Kovacs |
9be8f2 |
EOF
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# logrotate.d file for /var/log/slurm logging possibilities
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_var}/log/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
|
|
Philip Kovacs |
9be8f2 |
cat >%{buildroot}%{_sysconfdir}/logrotate.d/%{name} <
|
|
Philip Kovacs |
9be8f2 |
%{_var}/log/%{name}/* {
|
|
Philip Kovacs |
9be8f2 |
missingok
|
|
Philip Kovacs |
9be8f2 |
notifempty
|
|
Philip Kovacs |
9be8f2 |
copytruncate
|
|
Philip Kovacs |
9be8f2 |
rotate 5
|
|
Philip Kovacs |
9be8f2 |
}
|
|
Philip Kovacs |
9be8f2 |
EOF
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# /var/run/slurm, /var/spool/slurm dirs, (ghost) pid files
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_rundir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/ctld
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/d
|
|
Philip Kovacs |
9be8f2 |
touch %{buildroot}%{_rundir}/%{name}/slurmctld.pid
|
|
Philip Kovacs |
9be8f2 |
touch %{buildroot}%{_rundir}/%{name}/slurmd.pid
|
|
Philip Kovacs |
9be8f2 |
touch %{buildroot}%{_rundir}/%{name}/slurmdbd.pid
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# pkgconfig file
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
|
|
Philip Kovacs |
9be8f2 |
cat >%{buildroot}%{_libdir}/pkgconfig/slurm.pc <
|
|
Philip Kovacs |
9be8f2 |
includedir=%{_prefix}/include
|
|
Philip Kovacs |
9be8f2 |
libdir=%{_libdir}
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
Cflags: -I\${includedir}
|
|
Philip Kovacs |
9be8f2 |
Libs: -L\${libdir} -lslurm
|
|
Philip Kovacs |
9be8f2 |
Description: Slurm API
|
|
Philip Kovacs |
9be8f2 |
Name: %{name}
|
|
Philip Kovacs |
9be8f2 |
Version: %{version}
|
|
Philip Kovacs |
9be8f2 |
EOF
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# desktop file for sview GTK+ program
|
|
Philip Kovacs |
9be8f2 |
desktop-file-install \
|
|
Philip Kovacs |
9be8f2 |
--dir=%{buildroot}%{_datadir}/applications \
|
|
Philip Kovacs |
9be8f2 |
share/applications/%{name}-sview.desktop
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# desktop icon for sview GTK+ program
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 share/icons/hicolor/128x128/apps/%{name}.png \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# install the extras/slurm_setuser script
|
|
Philip Kovacs |
9be8f2 |
install -m 0755 extras/slurm_setuser \
|
|
Philip Kovacs |
9be8f2 |
%{buildroot}%{_bindir}/slurm_setuser
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
install -m 0755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# fix perms on these files so debug info is extracted without error
|
|
Philip Kovacs |
9be8f2 |
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurm/Slurm.so
|
|
Philip Kovacs |
9be8f2 |
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# build man pages for contribs perl scripts
|
|
Philip Kovacs |
9be8f2 |
for prog in sjobexitmod sjstat mpiexec pbsnodes qalter qdel qhold qrerun qrls \
|
|
Philip Kovacs |
9be8f2 |
qstat qsub bjobs bkill bsub lsid
|
|
Philip Kovacs |
9be8f2 |
do
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_mandir}/man1/${prog}.1
|
|
Philip Kovacs |
9be8f2 |
pod2man %{buildroot}%{_bindir}/${prog} > %{buildroot}%{_mandir}/man1/${prog}.1
|
|
Philip Kovacs |
9be8f2 |
done
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# contribs docs
|
|
Philip Kovacs |
9be8f2 |
install -d -m 0755 %{buildroot}%{_docdir}/%{name}/contribs/lua
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 contribs/README %{buildroot}%{_docdir}/%{name}/contribs
|
|
Philip Kovacs |
9be8f2 |
install -m 0644 contribs/lua/proctrack.lua %{buildroot}%{_docdir}/%{name}/contribs/lua
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# remove libtool archives
|
|
Philip Kovacs |
9be8f2 |
find %{buildroot} -name \*.a -o -name \*.la | xargs rm -f
|
|
Philip Kovacs |
9be8f2 |
# remove example plugins
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_defaults.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_logging.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_partition.so
|
|
Philip Kovacs |
9be8f2 |
# remove bluegene files
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/libsched_if.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/libsched_if64.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/runjob_plugin.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_mandir}/man5/bluegene*
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_sbindir}/sfree
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_sbindir}/slurm_epilog
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_sbindir}/slurm_prolog
|
|
Philip Kovacs |
9be8f2 |
# remove cray files
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/acct_gather_energy_cray.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/core_spec_cray.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_cray.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/select_cray.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/switch_cray.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/task_cray.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_mandir}/man5/cray*
|
|
Philip Kovacs |
9be8f2 |
# remove percs files
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/launch_poe.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/libpermapi.so
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{_libdir}/%{name}/switch_nrt.so
|
|
Philip Kovacs |
9be8f2 |
# remove perl cruft
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/.packlist
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/Slurm*.bs
|
|
Philip Kovacs |
9be8f2 |
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
7245d5 |
# filter unneeded dependencies
|
|
Philip Kovacs |
7245d5 |
%global __requires_exclude ^libpmix.so|libevent
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----
|
|
Philip Kovacs |
9be8f2 |
# Slurm
|
|
Philip Kovacs |
9be8f2 |
# -----
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files
|
|
Philip Kovacs |
9be8f2 |
%doc CONTRIBUTING.md DISCLAIMER META NEWS README.rst RELEASE_NOTES
|
|
Philip Kovacs |
9be8f2 |
%license COPYING LICENSE.OpenSSL
|
|
Philip Kovacs |
9be8f2 |
%dir %{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%dir %{_sysconfdir}/%{name}/layouts.d
|
|
Philip Kovacs |
9be8f2 |
%{_sysconfdir}/logrotate.d/%{name}
|
|
Philip Kovacs |
9be8f2 |
%config(noreplace) %{_sysconfdir}/%{name}/cgroup*.conf
|
|
Philip Kovacs |
9be8f2 |
%{_sysconfdir}/%{name}/cgroup*.conf.example
|
|
Philip Kovacs |
9be8f2 |
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
|
|
Philip Kovacs |
9be8f2 |
%{_sysconfdir}/%{name}/slurm.conf.example
|
|
Philip Kovacs |
9be8f2 |
%{_sysconfdir}/%{name}/layouts.d/*.example
|
|
Philip Kovacs |
9be8f2 |
%attr(0755,root,root) %{_sysconfdir}/%{name}/slurm.epilog.clean
|
|
Philip Kovacs |
9be8f2 |
%dir %{_rundir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%ghost %{_rundir}/%{name}/slurmctld.pid
|
|
Philip Kovacs |
9be8f2 |
%ghost %{_rundir}/%{name}/slurmd.pid
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/{sacct,sacctmgr,salloc,sattach,sbatch,sbcast}
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/{scancel,scontrol,sdiag,sh5util,sinfo,sprio}
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/{squeue,sreport,srun,sshare,sstat,strigger}
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/slurm_setuser
|
|
Philip Kovacs |
9be8f2 |
%{_unitdir}/slurmctld.service
|
|
Philip Kovacs |
9be8f2 |
%{_unitdir}/slurmd.service
|
|
Philip Kovacs |
9be8f2 |
%{_tmpfilesdir}/slurm.conf
|
|
Philip Kovacs |
9be8f2 |
%{_sbindir}/slurmctld
|
|
Philip Kovacs |
9be8f2 |
%{_sbindir}/slurmd
|
|
Philip Kovacs |
9be8f2 |
%{_sbindir}/slurmstepd
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/{sacct,sacctmgr,salloc,sattach,sbatch,sbcast}.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/{scancel,scontrol,sdiag,sh5util,sinfo,sprio}.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/{squeue,sreport,srun,sshare,sstat,strigger}.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/slurm.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/acct_gather.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/burst_buffer.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/cgroup.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/ext_sensors.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/gres.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/knl.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/nonstop.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/slurm.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/topology.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man8/slurmctld.8*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man8/slurmd.8*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man8/slurmstepd.8*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man8/spank.8*
|
|
Philip Kovacs |
9be8f2 |
%dir %{_var}/log/%{name}
|
|
Philip Kovacs |
9be8f2 |
%dir %{_var}/spool/%{name}
|
|
Philip Kovacs |
9be8f2 |
%dir %{_var}/spool/%{name}/ctld
|
|
Philip Kovacs |
9be8f2 |
%dir %{_var}/spool/%{name}/d
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-devel
|
|
Philip Kovacs |
9be8f2 |
# -----------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files devel
|
|
Philip Kovacs |
9be8f2 |
%dir %{_prefix}/include/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_prefix}/include/%{name}/pmi*.h
|
|
Philip Kovacs |
9be8f2 |
%{_prefix}/include/%{name}/slurm.h
|
|
Philip Kovacs |
9be8f2 |
%{_prefix}/include/%{name}/slurm_errno.h
|
|
Philip Kovacs |
9be8f2 |
%{_prefix}/include/%{name}/slurmdb.h
|
|
Philip Kovacs |
9be8f2 |
%{_prefix}/include/%{name}/smd_ns.h
|
|
Philip Kovacs |
9be8f2 |
%{_prefix}/include/%{name}/spank.h
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/libpmi*.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/libslurm.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/libslurmdb.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}/src
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}/src/sattach
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/src/sattach/sattach.wrapper.c
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}/src/srun
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/src/srun/srun.wrapper.c
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man3/*.3.*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# ---------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-doc
|
|
Philip Kovacs |
9be8f2 |
# ---------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files doc
|
|
Philip Kovacs |
9be8f2 |
%dir %{_docdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%dir %{_docdir}/%{name}/html
|
|
Philip Kovacs |
9be8f2 |
%{_docdir}/%{name}/html/*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# ---------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-gui
|
|
Philip Kovacs |
9be8f2 |
# ---------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files gui
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/smap
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/sview
|
|
Philip Kovacs |
9be8f2 |
%{_datadir}/applications/*.desktop
|
|
Philip Kovacs |
9be8f2 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/smap.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/sview.1*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# ----------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-libs
|
|
Philip Kovacs |
9be8f2 |
# ----------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files libs
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/libpmi*.so.*
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/libslurm.so.*
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/libslurmdb.so.*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/accounting_storage_{filetxt,none,slurmdbd}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/acct_gather_energy_{ibmaem,ipmi,none,rapl}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/acct_gather_filesystem_{lustre,none}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/acct_gather_infiniband_{none,ofed}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/acct_gather_profile_{hdf5,none}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/burst_buffer_generic.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/checkpoint_{none,ompi}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/core_spec_none.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/crypto_openssl.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/ext_sensors_none.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/gres_{gpu,mic,nic}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/job_container_{cncu,none}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/job_submit_all_partitions.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/job_submit_require_timelimit.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/job_submit_throttle.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/jobacct_gather_{cgroup,linux,none}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/jobcomp_{elasticsearch,filetxt,none,script}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/launch_slurm.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/layouts_power_{cpufreq,default}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/layouts_unit_default.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/mcs_{account,group,none,user}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/mpi_{lam,mpich1_p4,mpich1_shmem,mpichgm,mpichmx}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/mpi_{mvapich,none,openmpi,pmi2,pmix,pmix_v1}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/node_features_knl_generic.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/power_none.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/preempt_{job_prio,none,partition_prio,qos}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/priority_{basic,multifactor}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/proctrack_{cgroup,linuxproc,pgid}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/route_{default,topology}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/sched_{backfill,builtin,hold}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/select_{alps,bluegene,cons_res,linear,serial}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/slurmctld_nonstop.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/switch_{generic,none}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/task_{affinity,cgroup,none}.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/topology_{3d_torus,hypercube,node_rank,none,tree}.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----------------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins-auth_none
|
|
Philip Kovacs |
9be8f2 |
# -----------------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-auth_none
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/auth_none.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins-lua
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-lua
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/job_submit_lua.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/proctrack_lua.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -------------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins-munge
|
|
Philip Kovacs |
9be8f2 |
# -------------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-munge
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/auth_munge.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/crypto_munge.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -------------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins-mysql
|
|
Philip Kovacs |
9be8f2 |
# -------------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-mysql
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/accounting_storage_mysql.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/jobcomp_mysql.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins-pbs
|
|
Philip Kovacs |
9be8f2 |
# -----------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-pbs
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/job_submit_pbs.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/spank_pbs.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# ---------------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-plugins-rrdtool
|
|
Philip Kovacs |
9be8f2 |
# ---------------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-rrdtool
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/%{name}/ext_sensors_rrd.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# --------
|
|
Philip Kovacs |
9be8f2 |
# Slurmdbd
|
|
Philip Kovacs |
9be8f2 |
# --------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files slurmdbd
|
|
Philip Kovacs |
9be8f2 |
%dir %{_sysconfdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%config(noreplace) %{_sysconfdir}/%{name}/slurmdbd.conf
|
|
Philip Kovacs |
9be8f2 |
%{_sysconfdir}/%{name}/slurmdbd.conf.example
|
|
Philip Kovacs |
9be8f2 |
%dir %{_rundir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%ghost %{_rundir}/%{name}/slurmdbd.pid
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/slurm_setuser
|
|
Philip Kovacs |
9be8f2 |
%{_unitdir}/slurmdbd.service
|
|
Philip Kovacs |
9be8f2 |
%{_tmpfilesdir}/slurm.conf
|
|
Philip Kovacs |
9be8f2 |
%{_sbindir}/slurmdbd
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man5/slurmdbd.conf.5*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man8/slurmdbd.8*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# --------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-contribs
|
|
Philip Kovacs |
9be8f2 |
# --------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files contribs
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/seff
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/sgather
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/sjobexitmod
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/sjstat
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/smail
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/sgather.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/sjobexitmod.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/sjstat.1*
|
|
Philip Kovacs |
9be8f2 |
%dir %{_docdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%dir %{_docdir}/%{name}/contribs
|
|
Philip Kovacs |
9be8f2 |
%{_docdir}/%{name}/contribs/README
|
|
Philip Kovacs |
9be8f2 |
%dir %{_docdir}/%{name}/contribs/lua
|
|
Philip Kovacs |
9be8f2 |
%{_docdir}/%{name}/contribs/lua/proctrack.lua
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# --------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-openlava
|
|
Philip Kovacs |
9be8f2 |
# --------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files openlava
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/bjobs
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/bkill
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/bsub
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/lsid
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/bjobs.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/bkill.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/bsub.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/lsid.1*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-perlapi
|
|
Philip Kovacs |
9be8f2 |
# -------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files perlapi
|
|
Philip Kovacs |
9be8f2 |
%{perl_vendorarch}/Slurm.pm
|
|
Philip Kovacs |
9be8f2 |
%dir %{perl_vendorarch}/Slurm
|
|
Philip Kovacs |
9be8f2 |
%{perl_vendorarch}/Slurm/*.pm
|
|
Philip Kovacs |
9be8f2 |
%{perl_vendorarch}/Slurmdb.pm
|
|
Philip Kovacs |
9be8f2 |
%dir %{perl_vendorarch}/auto/Slurm
|
|
Philip Kovacs |
9be8f2 |
%{perl_vendorarch}/auto/Slurm/Slurm.so
|
|
Philip Kovacs |
9be8f2 |
%dir %{perl_vendorarch}/auto/Slurmdb
|
|
Philip Kovacs |
9be8f2 |
%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
|
|
Philip Kovacs |
9be8f2 |
%{perl_vendorarch}/auto/Slurmdb/autosplit.ix
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man3/Slurm*.3pm*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# ---------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-pam_slurm
|
|
Philip Kovacs |
9be8f2 |
# ---------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files plugins-pam_slurm
|
|
Philip Kovacs |
9be8f2 |
%dir %{_libdir}/%{name}
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/security/pam_slurm.so
|
|
Philip Kovacs |
9be8f2 |
%{_libdir}/security/pam_slurm_adopt.so
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
# ------------
|
|
Philip Kovacs |
9be8f2 |
# Slurm-torque
|
|
Philip Kovacs |
9be8f2 |
# ------------
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%files torque
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/generate_pbs_nodefile
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/mpiexec
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/pbsnodes
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qalter
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qdel
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qhold
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qrerun
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qrls
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qstat
|
|
Philip Kovacs |
9be8f2 |
%{_bindir}/qsub
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/pbsnodes.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qalter.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qdel.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qhold.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qrerun.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qrls.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qstat.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/qsub.1*
|
|
Philip Kovacs |
9be8f2 |
%{_mandir}/man1/mpiexec.1*
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%post
|
|
Philip Kovacs |
9be8f2 |
%systemd_post slurmd.service
|
|
Philip Kovacs |
9be8f2 |
%systemd_post slurmctld.service
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%preun
|
|
Philip Kovacs |
9be8f2 |
%systemd_preun slurmd.service
|
|
Philip Kovacs |
9be8f2 |
%systemd_preun slurmctld.service
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%postun
|
|
Philip Kovacs |
9be8f2 |
%systemd_postun_with_restart slurmd.service
|
|
Philip Kovacs |
9be8f2 |
%systemd_postun_with_restart slurmctld.service
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%post devel -p /sbin/ldconfig
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%postun devel -p /sbin/ldconfig
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%post gui
|
|
Philip Kovacs |
9be8f2 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%postun gui
|
|
Philip Kovacs |
9be8f2 |
if [ $1 -eq 0 ] ; then
|
|
Philip Kovacs |
9be8f2 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Philip Kovacs |
9be8f2 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Philip Kovacs |
9be8f2 |
fi
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%posttrans gui
|
|
Philip Kovacs |
9be8f2 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%post libs -p /sbin/ldconfig
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%postun libs -p /sbin/ldconfig
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%post slurmdbd
|
|
Philip Kovacs |
9be8f2 |
%systemd_post slurmdbd.service
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%preun slurmdbd
|
|
Philip Kovacs |
9be8f2 |
%systemd_preun slurmdbd.service
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%postun slurmdbd
|
|
Philip Kovacs |
9be8f2 |
%systemd_postun_with_restart slurmdbd.service
|
|
Philip Kovacs |
9be8f2 |
|
|
Philip Kovacs |
9be8f2 |
%changelog
|
|
Philip Kovacs |
0a53fa |
* Wed Nov 1 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-1
|
|
Philip Kovacs |
0a53fa |
- Version bump to close CVE-2017-15566.
|
|
Philip Kovacs |
0a53fa |
- Adjusted patches per closure of upstream bug #3942.
|
|
Philip Kovacs |
0a53fa |
- Added desktop categories per rpmgrill.desktop-lint.
|
|
Philip Kovacs |
0a53fa |
|
|
Philip Kovacs |
db5c17 |
* Wed Oct 25 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.8-1
|
|
Philip Kovacs |
db5c17 |
- Version bump, patches adjusted.
|
|
Philip Kovacs |
db5c17 |
|
|
Philip Kovacs |
f7f253 |
* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-4
|
|
Philip Kovacs |
f7f253 |
- Patch changes per resolution of upstream bug #4101:
|
|
Philip Kovacs |
f7f253 |
- salloc/sbatch/srun: must be root to use --uid/--gid options.
|
|
Philip Kovacs |
f7f253 |
- salloc: supplemental groups dropped after setuid.
|
|
Philip Kovacs |
f7f253 |
|
|
Philip Kovacs |
7245d5 |
* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-3
|
|
Philip Kovacs |
7245d5 |
- Added BuildRequires gcc and minor packaging conformance items.
|
|
Philip Kovacs |
7245d5 |
|
|
Philip Kovacs |
bafc13 |
* Sat Sep 16 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-2
|
|
Philip Kovacs |
bafc13 |
- Removed unneeded Requires(pre).
|
|
Philip Kovacs |
bafc13 |
|
|
Philip Kovacs |
9be8f2 |
* Thu Sep 14 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-1
|
|
Philip Kovacs |
9be8f2 |
- Packaging for Fedora.
|