2018-02-11 00:12:58 +00:00
|
|
|
# Upstream tarballs use an additional release number
|
2019-01-31 19:21:16 +00:00
|
|
|
%global ups_rel 2
|
2018-02-11 00:12:58 +00:00
|
|
|
|
|
|
|
%if "%{ups_rel}" == "1"
|
|
|
|
%global name_version %{name}-%{version}
|
|
|
|
%else
|
|
|
|
%global name_version %{name}-%{version}-%{ups_rel}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Allow linkage with undefined symbols (disable -z,defs)
|
|
|
|
%undefine _strict_symbol_defs_build
|
|
|
|
|
2017-09-15 22:05:40 +00:00
|
|
|
Name: slurm
|
2019-02-01 01:03:46 +00:00
|
|
|
Version: 18.08.5
|
|
|
|
Release: 1%{?dist}
|
2017-09-15 22:05:40 +00:00
|
|
|
Summary: Simple Linux Utility for Resource Management
|
|
|
|
License: GPLv2 and BSD
|
|
|
|
URL: https://slurm.schedmd.com/
|
2018-02-11 00:12:58 +00:00
|
|
|
Source0: http://www.schedmd.com/download/latest/%{name_version}.tar.bz2
|
2017-09-15 22:05:40 +00:00
|
|
|
Source1: slurm.conf
|
|
|
|
Source2: slurmdbd.conf
|
|
|
|
Source3: slurm-sview.desktop
|
|
|
|
Source4: slurm-128x128.png
|
2017-11-16 19:24:37 +00:00
|
|
|
Source5: slurm-setuser.in
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# Upstream bug #4449: release-style versioning of libslurmfull
|
|
|
|
Patch0: slurm_libslurmfull_version.patch
|
2019-02-01 01:03:46 +00:00
|
|
|
# Upstream bug #6442 xhash_init signature change breaks xhash_test.c
|
|
|
|
Patch1: slurm_testsuite_xhash.patch
|
2017-11-16 19:24:37 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# Build-related patches
|
2017-11-16 19:24:37 +00:00
|
|
|
Patch10: slurm_perlapi_rpaths.patch
|
|
|
|
Patch11: slurm_html_doc_path.patch
|
|
|
|
Patch12: slurm_doc_fix.patch
|
2018-05-12 21:52:02 +00:00
|
|
|
Patch13: slurm_do_not_build_cray.patch
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# Fedora-related patches
|
2018-02-11 00:12:58 +00:00
|
|
|
Patch20: slurm_pmix_soname.patch
|
|
|
|
Patch21: slurm_service_files.patch
|
2018-03-04 01:52:28 +00:00
|
|
|
Patch22: slurm_to_python3.patch
|
2018-02-11 00:12:58 +00:00
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: environment(modules)
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gcc
|
2018-03-04 01:52:28 +00:00
|
|
|
BuildRequires: perl-devel
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: perl-ExtUtils-MakeMaker
|
2018-02-15 23:37:15 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: perl-podlators
|
|
|
|
BuildRequires: pkgconf
|
|
|
|
BuildRequires: pkgconfig(check)
|
2018-03-04 01:52:28 +00:00
|
|
|
BuildRequires: python3
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: systemd
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
BuildRequires: hdf5-devel
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2017-09-15 22:05:40 +00:00
|
|
|
BuildRequires: pkgconfig(hwloc)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2018-05-12 21:52:02 +00:00
|
|
|
BuildRequires: pkgconfig(libfreeipmi)
|
|
|
|
BuildRequires: pkgconfig(liblz4)
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: pkgconfig(librrd)
|
|
|
|
BuildRequires: pkgconfig(libssh2)
|
2017-09-15 22:05:40 +00:00
|
|
|
BuildRequires: pkgconfig(lua)
|
|
|
|
BuildRequires: pkgconfig(mariadb)
|
|
|
|
BuildRequires: pkgconfig(munge)
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: pkgconfig(pmix) >= 2.0.0
|
2017-09-15 22:05:40 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2018-02-11 00:12:58 +00:00
|
|
|
BuildRequires: readline-devel
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# follow arch exclusions for these devel packages
|
|
|
|
%ifnarch s390 s390x %{arm}
|
2018-05-12 21:52:02 +00:00
|
|
|
BuildRequires: rdma-core-devel
|
2017-09-15 22:05:40 +00:00
|
|
|
BuildRequires: numactl-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: munge
|
2018-02-11 00:12:58 +00:00
|
|
|
Requires: pmix >= 2.0.0
|
2018-05-12 21:52:02 +00:00
|
|
|
%{?systemd_requires}
|
2018-02-11 00:12:58 +00:00
|
|
|
|
2017-09-15 22:05:40 +00:00
|
|
|
%description
|
|
|
|
Slurm is an open source, fault-tolerant, and highly scalable
|
2018-05-12 21:52:02 +00:00
|
|
|
cluster management and job scheduling system for Linux clusters.
|
|
|
|
Components include machine status, partition management,
|
|
|
|
job management, scheduling and accounting modules.
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# -------------
|
|
|
|
# Base Packages
|
|
|
|
# -------------
|
|
|
|
|
|
|
|
%package devel
|
2018-05-12 21:52:02 +00:00
|
|
|
Summary: Development package for Slurm
|
2017-09-15 22:05:40 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
2018-05-12 21:52:02 +00:00
|
|
|
Development package for Slurm. This package includes the header files
|
|
|
|
and libraries for the Slurm API.
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Slurm documentation
|
|
|
|
%description doc
|
|
|
|
Documentation package for Slurm. Includes documentation and
|
|
|
|
html-based configuration tools for Slurm.
|
|
|
|
|
|
|
|
%package gui
|
|
|
|
Summary: Slurm gui and visual tools
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description gui
|
|
|
|
This package contains the Slurm visual tools smap and sview
|
|
|
|
and their respective man pages.
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: Slurm shared libraries
|
2018-02-11 00:12:58 +00:00
|
|
|
Provides: pmi
|
|
|
|
Requires: environment(modules)
|
2017-09-15 22:05:40 +00:00
|
|
|
%description libs
|
|
|
|
Slurm shared libraries.
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%package rrdtool
|
2017-09-15 22:05:40 +00:00
|
|
|
Summary: Slurm rrdtool external sensor plugin
|
2018-02-11 00:12:58 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description rrdtool
|
2017-09-15 22:05:40 +00:00
|
|
|
Slurm external sensor plugin for rrdtool. This package is separated from
|
|
|
|
the base plugins package due to gui dependencies which are unneeded if not
|
|
|
|
using this plugin.
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%package slurmctld
|
|
|
|
Summary: Slurm controller daemon
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description slurmctld
|
|
|
|
Slurm controller daemon. Used to manage the job queue, schedule jobs,
|
|
|
|
and dispatch RPC messages to the slurmd processon the compute nodes
|
|
|
|
to launch jobs.
|
|
|
|
|
|
|
|
%package slurmd
|
|
|
|
Summary: Slurm compute node daemon
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description slurmd
|
|
|
|
Slurm compute node daemon. Used to launch jobs on compute nodes
|
|
|
|
|
2017-09-15 22:05:40 +00:00
|
|
|
%package slurmdbd
|
|
|
|
Summary: Slurm database daemon
|
2018-02-11 00:12:58 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2017-09-15 22:05:40 +00:00
|
|
|
%description slurmdbd
|
|
|
|
Slurm database daemon. Used to accept and process database RPCs and upload
|
|
|
|
database changes to slurmctld daemons on each cluster.
|
|
|
|
|
|
|
|
# -----------------
|
|
|
|
# Contribs Packages
|
|
|
|
# -----------------
|
|
|
|
|
|
|
|
%package contribs
|
|
|
|
Summary: Perl tools to print Slurm job state information
|
|
|
|
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
|
|
|
|
%description contribs
|
|
|
|
Slurm contribution package which includes the programs seff,
|
|
|
|
sjobexitmod, sjstat and smail. See their respective man pages
|
|
|
|
for more information.
|
|
|
|
|
|
|
|
%package openlava
|
|
|
|
Summary: Openlava/LSF wrappers for transition from OpenLava/LSF to Slurm
|
|
|
|
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
|
|
|
|
%description openlava
|
|
|
|
OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm.
|
|
|
|
|
|
|
|
%package perlapi
|
|
|
|
Summary: Perl API to Slurm
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
%description perlapi
|
|
|
|
Perl API package for Slurm. This package includes the perl API to provide a
|
|
|
|
helpful interface to Slurm through Perl.
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%package pam_slurm
|
2018-05-12 21:52:02 +00:00
|
|
|
Summary: PAM module for restricting access to compute nodes via Slurm
|
2017-09-15 22:05:40 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2018-02-11 00:12:58 +00:00
|
|
|
%description pam_slurm
|
2018-05-12 21:52:02 +00:00
|
|
|
This module restricts access to compute nodes in a cluster where Slurm
|
|
|
|
is in use. Access is granted to root, any user with a Slurm-launched job
|
|
|
|
currently running on the node, or any user who has allocated resources
|
|
|
|
on the node according to Slurm.
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
%package torque
|
|
|
|
Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm
|
2018-02-11 00:12:58 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2017-09-15 22:05:40 +00:00
|
|
|
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
|
|
|
|
%description torque
|
|
|
|
Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm.
|
|
|
|
|
|
|
|
%prep
|
2018-02-11 00:12:58 +00:00
|
|
|
%setup -q -n %{name_version}
|
2017-11-16 19:24:37 +00:00
|
|
|
%patch0 -p1
|
2019-02-01 01:03:46 +00:00
|
|
|
%patch1 -p1
|
2017-11-16 19:24:37 +00:00
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
2018-05-12 21:52:02 +00:00
|
|
|
%patch13 -p1
|
2017-11-16 19:24:37 +00:00
|
|
|
%patch20 -p1
|
2018-02-11 00:12:58 +00:00
|
|
|
%patch21 -p1
|
2018-03-04 01:52:28 +00:00
|
|
|
%patch22 -p1
|
2017-09-15 22:05:40 +00:00
|
|
|
cp %SOURCE1 etc/slurm.conf
|
|
|
|
cp %SOURCE1 etc/slurm.conf.example
|
|
|
|
cp %SOURCE2 etc/slurmdbd.conf
|
|
|
|
cp %SOURCE2 etc/slurmdbd.conf.example
|
|
|
|
mkdir -p share/applications
|
|
|
|
mkdir -p share/icons/hicolor/128x128/apps
|
|
|
|
cp %SOURCE3 share/applications/%{name}-sview.desktop
|
|
|
|
cp %SOURCE4 share/icons/hicolor/128x128/apps/%{name}.png
|
|
|
|
mkdir -p extras
|
2018-02-11 00:12:58 +00:00
|
|
|
cp %SOURCE5 extras/%{name}-setuser.in
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
%build
|
2017-10-25 21:57:09 +00:00
|
|
|
%{__aclocal} -I auxdir
|
|
|
|
%{__autoconf}
|
|
|
|
%{__automake} --no-force
|
2018-03-04 01:52:28 +00:00
|
|
|
# use -z lazy to allow dlopen with unresolved symbols
|
2017-09-15 22:05:40 +00:00
|
|
|
%configure \
|
2018-03-04 01:52:28 +00:00
|
|
|
LDFLAGS="$LDFLAGS -Wl,-z,lazy" \
|
2017-09-15 22:05:40 +00:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--sysconfdir=%{_sysconfdir}/%{name} \
|
|
|
|
--with-pam_dir=%{_libdir}/security \
|
2018-02-11 00:12:58 +00:00
|
|
|
--with-pmix \
|
2017-09-15 22:05:40 +00:00
|
|
|
--enable-shared \
|
2018-02-11 00:12:58 +00:00
|
|
|
--enable-x11 \
|
2017-09-15 22:05:40 +00:00
|
|
|
--disable-static \
|
|
|
|
--disable-debug \
|
|
|
|
--disable-developer \
|
|
|
|
--disable-salloc-background \
|
|
|
|
--disable-multiple-slurmd \
|
|
|
|
--disable-partial_attach \
|
2018-02-11 00:12:58 +00:00
|
|
|
--with-shared-libslurm \
|
|
|
|
--without-rpath
|
2017-09-15 22:05:40 +00:00
|
|
|
# patch libtool to remove rpaths
|
|
|
|
sed -i 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
|
2018-02-11 00:12:58 +00:00
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# configure extras/slurm-setuser script
|
2017-09-15 22:05:40 +00:00
|
|
|
sed -r '
|
|
|
|
s|^dir_conf=.*|dir_conf="%{_sysconfdir}/%{name}"|g;
|
|
|
|
s|^dir_log=.*|dir_log="%{_var}/log/%{name}"|g;
|
|
|
|
s|^dir_run=.*|dir_run="%{_rundir}/%{name}"|g;
|
|
|
|
s|^dir_spool=.*|dir_spool="%{_var}/spool/%{name}"|g;
|
|
|
|
s|^dir_tmpfiles_d=.*|dir_tmpfiles_d="%{_tmpfilesdir}"|g;' \
|
2018-02-11 00:12:58 +00:00
|
|
|
extras/%{name}-setuser.in > extras/%{name}-setuser
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# build base packages
|
2017-10-25 21:57:09 +00:00
|
|
|
%make_build V=1
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# build contribs packages
|
|
|
|
# INSTALLDIRS=vendor so perlapi goes to vendor_perl directory
|
2017-10-25 21:57:09 +00:00
|
|
|
PERL_MM_PARAMS="INSTALLDIRS=vendor" %make_build contrib V=1
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
%check
|
2018-02-11 00:12:58 +00:00
|
|
|
# The test binaries need LD_LIBRARY_PATH to find the compiled slurm library
|
|
|
|
# in the build tree.
|
|
|
|
LD_LIBRARY_PATH="%{buildroot}%{_libdir};%{_libdir}" %{__make} check
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%{__make} install-contrib DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/layouts.d
|
|
|
|
install -d -m 0755 %{buildroot}%{_unitdir}
|
|
|
|
install -m 0644 -p etc/cgroup.conf.example \
|
|
|
|
%{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -m 0644 -p etc/cgroup.conf.example \
|
|
|
|
%{buildroot}%{_sysconfdir}/%{name}/cgroup.conf
|
|
|
|
install -m 0644 -p etc/layouts.d.power.conf.example \
|
|
|
|
%{buildroot}%{_sysconfdir}/%{name}/layouts.d/power.conf.example
|
|
|
|
install -m 0644 -p etc/layouts.d.power_cpufreq.conf.example \
|
|
|
|
%{buildroot}%{_sysconfdir}/%{name}/layouts.d/power_cpufreq.conf.example
|
|
|
|
install -m 0644 -p etc/layouts.d.unit.conf.example \
|
|
|
|
%{buildroot}%{_sysconfdir}/%{name}/layouts.d/unit.conf.example
|
|
|
|
install -m 0644 -p etc/slurm.conf %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -m 0644 -p etc/slurm.conf.example %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -m 0644 -p etc/slurmdbd.conf %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -m 0644 -p etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -m 0644 -p etc/slurmctld.service %{buildroot}%{_unitdir}
|
|
|
|
install -m 0644 -p etc/slurmd.service %{buildroot}%{_unitdir}
|
|
|
|
install -m 0644 -p etc/slurmdbd.service %{buildroot}%{_unitdir}
|
|
|
|
|
|
|
|
# tmpfiles.d file for creating /run/slurm dir after reboot
|
|
|
|
install -d -m 0755 %{buildroot}%{_tmpfilesdir}
|
2018-02-11 00:12:58 +00:00
|
|
|
cat >%{buildroot}%{_tmpfilesdir}/%{name}.conf <<EOF
|
2017-09-15 22:05:40 +00:00
|
|
|
D %{_rundir}/%{name} 0755 root root -
|
|
|
|
EOF
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# logrotate.d file for /var/log/slurm logging
|
2017-09-15 22:05:40 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_var}/log/%{name}
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
|
|
|
|
cat >%{buildroot}%{_sysconfdir}/logrotate.d/%{name} <<EOF
|
|
|
|
%{_var}/log/%{name}/* {
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
copytruncate
|
|
|
|
rotate 5
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# /var/run/slurm, /var/spool/slurm dirs, (ghost) pid files
|
|
|
|
install -d -m 0755 %{buildroot}%{_rundir}/%{name}
|
|
|
|
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/ctld
|
|
|
|
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/d
|
|
|
|
touch %{buildroot}%{_rundir}/%{name}/slurmctld.pid
|
|
|
|
touch %{buildroot}%{_rundir}/%{name}/slurmd.pid
|
|
|
|
touch %{buildroot}%{_rundir}/%{name}/slurmdbd.pid
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# install pmi/slurm environment module file
|
|
|
|
install -d -m 0755 %{buildroot}%{_modulesdir}/pmi
|
|
|
|
cat >%{buildroot}%{_modulesdir}/pmi/%{name}-%{_arch} <<EOF
|
|
|
|
#%%Module 1.0
|
|
|
|
#
|
|
|
|
# pmi/slurm module for use with 'environment-modules' package:
|
|
|
|
#
|
|
|
|
conflict pmi
|
|
|
|
prepend-path LD_LIBRARY_PATH %{_libdir}/%{name}/lib
|
|
|
|
prepend-path PKG_CONFIG_PATH %{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# install pkgconfig file slurm.pc
|
2017-09-15 22:05:40 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
|
2018-02-11 00:12:58 +00:00
|
|
|
cat >%{buildroot}%{_libdir}/pkgconfig/%{name}.pc <<EOF
|
|
|
|
includedir=%{_includedir}/%{name}
|
2017-09-15 22:05:40 +00:00
|
|
|
libdir=%{_libdir}
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Description: Slurm development library
|
2017-09-15 22:05:40 +00:00
|
|
|
Cflags: -I\${includedir}
|
|
|
|
Libs: -L\${libdir} -lslurm
|
2018-02-11 00:12:58 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
# install pkgconfig file pmi.pc for environment module usage
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi.pc <<EOF
|
|
|
|
includedir=%{_includedir}/%{name}
|
|
|
|
libdir=%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
Name: pmi
|
2017-09-15 22:05:40 +00:00
|
|
|
Version: %{version}
|
2018-02-11 00:12:58 +00:00
|
|
|
Description: Slurm PMI development library
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
Libs: -L\${libdir} -lpmi
|
2017-09-15 22:05:40 +00:00
|
|
|
EOF
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# install pkgconfig file pmi2.pc for environment module usage
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi2.pc <<EOF
|
|
|
|
includedir=%{_includedir}/%{name}
|
|
|
|
libdir=%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
Name: pmi2
|
|
|
|
Version: %{version}
|
|
|
|
Description: Slurm PMI2 development library
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
Libs: -L\${libdir} -lpmi2
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# install desktop file for sview GTK+ program
|
2017-09-15 22:05:40 +00:00
|
|
|
desktop-file-install \
|
|
|
|
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
|
share/applications/%{name}-sview.desktop
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# install desktop icon for sview GTK+ program
|
2017-09-15 22:05:40 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
|
|
|
install -m 0644 share/icons/hicolor/128x128/apps/%{name}.png \
|
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
|
|
|
|
2017-11-16 19:24:37 +00:00
|
|
|
# install the extras/slurm-setuser script
|
2018-02-11 00:12:58 +00:00
|
|
|
install -m 0755 extras/%{name}-setuser \
|
|
|
|
%{buildroot}%{_bindir}/%{name}-setuser
|
|
|
|
|
|
|
|
# move libpmi/libpmi2 to pmi/slurm environment module location
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
mv %{buildroot}%{_libdir}/libpmi.so* %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
mv %{buildroot}%{_libdir}/libpmi2.so* %{buildroot}%{_libdir}/%{name}/lib
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
install -m 0755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
|
|
|
|
|
|
|
|
# fix perms on these files so debug info is extracted without error
|
|
|
|
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurm/Slurm.so
|
|
|
|
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
|
|
|
|
|
|
|
|
# build man pages for contribs perl scripts
|
|
|
|
for prog in sjobexitmod sjstat mpiexec pbsnodes qalter qdel qhold qrerun qrls \
|
|
|
|
qstat qsub bjobs bkill bsub lsid
|
|
|
|
do
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/${prog}.1
|
|
|
|
pod2man %{buildroot}%{_bindir}/${prog} > %{buildroot}%{_mandir}/man1/${prog}.1
|
|
|
|
done
|
|
|
|
|
|
|
|
# contribs docs
|
|
|
|
install -d -m 0755 %{buildroot}%{_docdir}/%{name}/contribs/lua
|
|
|
|
install -m 0644 contribs/README %{buildroot}%{_docdir}/%{name}/contribs
|
|
|
|
install -m 0644 contribs/lua/proctrack.lua %{buildroot}%{_docdir}/%{name}/contribs/lua
|
|
|
|
|
|
|
|
# remove libtool archives
|
|
|
|
find %{buildroot} -name \*.a -o -name \*.la | xargs rm -f
|
2018-02-11 00:12:58 +00:00
|
|
|
# remove libslurmfull symlink (non-development, internal library)
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libslurmfull.so
|
|
|
|
# remove auth_none plugin
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/auth_none.so
|
2017-09-15 22:05:40 +00:00
|
|
|
# remove example plugins
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_defaults.so
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_logging.so
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_partition.so
|
|
|
|
# remove bluegene files
|
2017-11-16 19:24:37 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/select_bluegene.so
|
2017-09-15 22:05:40 +00:00
|
|
|
rm -f %{buildroot}%{_mandir}/man5/bluegene*
|
|
|
|
# remove cray files
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/acct_gather_energy_cray.so
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/core_spec_cray.so
|
2017-11-16 19:24:37 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/job_container_cncu.so
|
2017-09-15 22:05:40 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_cray.so
|
2017-11-16 19:24:37 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/select_alps.so
|
2017-09-15 22:05:40 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/select_cray.so
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/switch_cray.so
|
|
|
|
rm -f %{buildroot}%{_libdir}/%{name}/task_cray.so
|
|
|
|
rm -f %{buildroot}%{_mandir}/man5/cray*
|
|
|
|
# remove perl cruft
|
|
|
|
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/.packlist
|
|
|
|
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/Slurm*.bs
|
|
|
|
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
|
|
|
|
2018-03-04 01:52:28 +00:00
|
|
|
%ldconfig_scriptlets devel
|
|
|
|
%ldconfig_scriptlets libs
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# -----
|
|
|
|
# Slurm
|
|
|
|
# -----
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc CONTRIBUTING.md DISCLAIMER META NEWS README.rst RELEASE_NOTES
|
|
|
|
%license COPYING LICENSE.OpenSSL
|
2018-02-11 00:12:58 +00:00
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_rundir}/%{name}
|
2017-09-15 22:05:40 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%dir %{_sysconfdir}/%{name}/layouts.d
|
2018-02-11 00:12:58 +00:00
|
|
|
%dir %{_var}/log/%{name}
|
|
|
|
%dir %{_var}/spool/%{name}
|
|
|
|
%dir %{_var}/spool/%{name}/ctld
|
|
|
|
%dir %{_var}/spool/%{name}/d
|
2019-02-01 01:03:46 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
|
2017-09-15 22:05:40 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
|
|
|
|
%{_bindir}/{sacct,sacctmgr,salloc,sattach,sbatch,sbcast}
|
|
|
|
%{_bindir}/{scancel,scontrol,sdiag,sh5util,sinfo,sprio}
|
|
|
|
%{_bindir}/{squeue,sreport,srun,sshare,sstat,strigger}
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_bindir}/%{name}-setuser
|
|
|
|
%{_libdir}/%{name}/accounting_storage_{filetxt,none,slurmdbd}.so
|
2019-02-01 01:03:46 +00:00
|
|
|
%{_libdir}/%{name}/acct_gather_energy_{ibmaem,ipmi,none,rapl,xcc}.so
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_libdir}/%{name}/acct_gather_filesystem_{lustre,none}.so
|
|
|
|
%{_libdir}/%{name}/acct_gather_interconnect_{none,ofed}.so
|
2019-02-01 01:03:46 +00:00
|
|
|
%{_libdir}/%{name}/acct_gather_profile_{hdf5,influxdb,none}.so
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_libdir}/%{name}/auth_munge.so
|
|
|
|
%{_libdir}/%{name}/burst_buffer_generic.so
|
|
|
|
%{_libdir}/%{name}/checkpoint_{none,ompi}.so
|
|
|
|
%{_libdir}/%{name}/core_spec_none.so
|
|
|
|
%{_libdir}/%{name}/crypto_munge.so
|
|
|
|
%{_libdir}/%{name}/crypto_openssl.so
|
|
|
|
%{_libdir}/%{name}/ext_sensors_none.so
|
|
|
|
%{_libdir}/%{name}/gres_{gpu,mic,nic}.so
|
|
|
|
%{_libdir}/%{name}/job_container_none.so
|
|
|
|
%{_libdir}/%{name}/job_submit_all_partitions.so
|
|
|
|
%{_libdir}/%{name}/job_submit_lua.so
|
|
|
|
%{_libdir}/%{name}/job_submit_require_timelimit.so
|
|
|
|
%{_libdir}/%{name}/job_submit_throttle.so
|
|
|
|
%{_libdir}/%{name}/jobacct_gather_{cgroup,linux,none}.so
|
|
|
|
%{_libdir}/%{name}/jobcomp_{elasticsearch,filetxt,mysql,none,script}.so
|
|
|
|
%{_libdir}/%{name}/launch_slurm.so
|
|
|
|
%{_libdir}/%{name}/layouts_power_{cpufreq,default}.so
|
|
|
|
%{_libdir}/%{name}/layouts_unit_default.so
|
|
|
|
%{_libdir}/%{name}/mcs_{account,group,none,user}.so
|
|
|
|
%{_libdir}/%{name}/mpi_{none,openmpi,pmi2,pmix*}.so
|
|
|
|
%{_libdir}/%{name}/node_features_knl_generic.so
|
|
|
|
%{_libdir}/%{name}/power_none.so
|
|
|
|
%{_libdir}/%{name}/preempt_{job_prio,none,partition_prio,qos}.so
|
|
|
|
%{_libdir}/%{name}/priority_{basic,multifactor}.so
|
|
|
|
%{_libdir}/%{name}/proctrack_{cgroup,linuxproc,lua,pgid}.so
|
|
|
|
%{_libdir}/%{name}/route_{default,topology}.so
|
|
|
|
%{_libdir}/%{name}/sched_{backfill,builtin,hold}.so
|
|
|
|
%{_libdir}/%{name}/select_{cons_res,linear,serial}.so
|
|
|
|
%{_libdir}/%{name}/slurmctld_nonstop.so
|
|
|
|
%{_libdir}/%{name}/switch_{generic,none}.so
|
|
|
|
%{_libdir}/%{name}/task_{affinity,cgroup,none}.so
|
|
|
|
%{_libdir}/%{name}/topology_{3d_torus,hypercube,node_rank,none,tree}.so
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_mandir}/man1/{sacct,sacctmgr,salloc,sattach,sbatch,sbcast}.1*
|
|
|
|
%{_mandir}/man1/{scancel,scontrol,sdiag,sh5util,sinfo,sprio}.1*
|
|
|
|
%{_mandir}/man1/{squeue,sreport,srun,sshare,sstat,strigger}.1*
|
|
|
|
%{_mandir}/man1/slurm.1*
|
|
|
|
%{_mandir}/man5/acct_gather.conf.5*
|
|
|
|
%{_mandir}/man5/burst_buffer.conf.5*
|
|
|
|
%{_mandir}/man5/cgroup.conf.5*
|
|
|
|
%{_mandir}/man5/ext_sensors.conf.5*
|
|
|
|
%{_mandir}/man5/gres.conf.5*
|
|
|
|
%{_mandir}/man5/knl.conf.5*
|
|
|
|
%{_mandir}/man5/nonstop.conf.5*
|
|
|
|
%{_mandir}/man5/slurm.conf.5*
|
|
|
|
%{_mandir}/man5/topology.conf.5*
|
|
|
|
%{_mandir}/man8/spank.8*
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_sysconfdir}/logrotate.d/%{name}
|
|
|
|
%{_sysconfdir}/%{name}/cgroup*.conf.example
|
|
|
|
%{_sysconfdir}/%{name}/layouts.d/*.example
|
|
|
|
%{_sysconfdir}/%{name}/slurm.conf.example
|
|
|
|
%{_tmpfilesdir}/slurm.conf
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# -----------
|
|
|
|
# Slurm-devel
|
|
|
|
# -----------
|
|
|
|
|
|
|
|
%files devel
|
2018-02-11 00:12:58 +00:00
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/lib/pkgconfig
|
2017-09-15 22:05:40 +00:00
|
|
|
%dir %{_libdir}/%{name}/src
|
|
|
|
%dir %{_libdir}/%{name}/src/sattach
|
|
|
|
%dir %{_libdir}/%{name}/src/srun
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_includedir}/%{name}/pmi*.h
|
|
|
|
%{_includedir}/%{name}/slurm.h
|
|
|
|
%{_includedir}/%{name}/slurm_errno.h
|
|
|
|
%{_includedir}/%{name}/slurmdb.h
|
|
|
|
%{_includedir}/%{name}/smd_ns.h
|
|
|
|
%{_includedir}/%{name}/spank.h
|
|
|
|
%{_libdir}/lib{slurm,slurmdb}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_libdir}/%{name}/lib/libpmi*.so
|
|
|
|
%{_libdir}/%{name}/lib/pkgconfig/*.pc
|
|
|
|
%{_libdir}/%{name}/src/sattach/sattach.wrapper.c
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_libdir}/%{name}/src/srun/srun.wrapper.c
|
|
|
|
%{_mandir}/man3/*.3.*
|
|
|
|
|
|
|
|
# ---------
|
|
|
|
# Slurm-doc
|
|
|
|
# ---------
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%dir %{_docdir}/%{name}/html
|
|
|
|
%{_docdir}/%{name}/html/*
|
|
|
|
|
|
|
|
# ---------
|
|
|
|
# Slurm-gui
|
|
|
|
# ---------
|
|
|
|
|
|
|
|
%files gui
|
|
|
|
%{_bindir}/smap
|
|
|
|
%{_bindir}/sview
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
%{_mandir}/man1/smap.1*
|
|
|
|
%{_mandir}/man1/sview.1*
|
|
|
|
|
|
|
|
# ----------
|
|
|
|
# Slurm-libs
|
|
|
|
# ----------
|
|
|
|
|
|
|
|
%files libs
|
2018-02-11 00:12:58 +00:00
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/lib
|
|
|
|
%dir %{_modulesdir}/pmi
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_libdir}/libslurm.so.*
|
|
|
|
%{_libdir}/libslurmdb.so.*
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_libdir}/libslurmfull-*.so
|
|
|
|
%{_libdir}/%{name}/lib/libpmi*.so.*
|
|
|
|
%{_modulesdir}/pmi/*
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# -------------
|
2018-02-11 00:12:58 +00:00
|
|
|
# Slurm-rrdtool
|
2017-09-15 22:05:40 +00:00
|
|
|
# -------------
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%files rrdtool
|
|
|
|
%{_libdir}/%{name}/ext_sensors_rrd.so
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# ---------
|
|
|
|
# Slurmctld
|
|
|
|
# ---------
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%files slurmctld
|
|
|
|
%{_mandir}/man8/slurmctld.8*
|
|
|
|
%{_sbindir}/slurmctld
|
|
|
|
%{_unitdir}/slurmctld.service
|
|
|
|
%ghost %{_rundir}/%{name}/slurmctld.pid
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
# ------
|
|
|
|
# Slurmd
|
|
|
|
# ------
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%files slurmd
|
|
|
|
%{_mandir}/man8/slurmd.8*
|
|
|
|
%{_mandir}/man8/slurmstepd.8*
|
|
|
|
%{_sbindir}/slurmd
|
|
|
|
%{_sbindir}/slurmstepd
|
|
|
|
%{_unitdir}/slurmd.service
|
|
|
|
%ghost %{_rundir}/%{name}/slurmd.pid
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# --------
|
|
|
|
# Slurmdbd
|
|
|
|
# --------
|
|
|
|
|
|
|
|
%files slurmdbd
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/slurmdbd.conf
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_libdir}/%{name}/accounting_storage_mysql.so
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_mandir}/man5/slurmdbd.conf.5*
|
|
|
|
%{_mandir}/man8/slurmdbd.8*
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_sbindir}/slurmdbd
|
|
|
|
%{_sysconfdir}/%{name}/slurmdbd.conf.example
|
|
|
|
%{_unitdir}/slurmdbd.service
|
|
|
|
%ghost %{_rundir}/%{name}/slurmdbd.pid
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
# --------------
|
|
|
|
# Slurm-contribs
|
|
|
|
# --------------
|
|
|
|
|
|
|
|
%files contribs
|
2018-02-11 00:12:58 +00:00
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%dir %{_docdir}/%{name}/contribs
|
|
|
|
%dir %{_docdir}/%{name}/contribs/lua
|
|
|
|
%{_docdir}/%{name}/contribs/README
|
|
|
|
%{_docdir}/%{name}/contribs/lua/proctrack.lua
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_bindir}/seff
|
|
|
|
%{_bindir}/sgather
|
|
|
|
%{_bindir}/sjobexitmod
|
|
|
|
%{_bindir}/sjstat
|
|
|
|
%{_bindir}/smail
|
|
|
|
%{_mandir}/man1/sgather.1*
|
|
|
|
%{_mandir}/man1/sjobexitmod.1*
|
|
|
|
%{_mandir}/man1/sjstat.1*
|
|
|
|
|
|
|
|
# --------------
|
|
|
|
# Slurm-openlava
|
|
|
|
# --------------
|
|
|
|
|
|
|
|
%files openlava
|
|
|
|
%{_bindir}/bjobs
|
|
|
|
%{_bindir}/bkill
|
|
|
|
%{_bindir}/bsub
|
|
|
|
%{_bindir}/lsid
|
|
|
|
%{_mandir}/man1/bjobs.1*
|
|
|
|
%{_mandir}/man1/bkill.1*
|
|
|
|
%{_mandir}/man1/bsub.1*
|
|
|
|
%{_mandir}/man1/lsid.1*
|
|
|
|
|
|
|
|
# -------------
|
|
|
|
# Slurm-perlapi
|
|
|
|
# -------------
|
|
|
|
|
|
|
|
%files perlapi
|
|
|
|
%dir %{perl_vendorarch}/Slurm
|
2018-02-11 00:12:58 +00:00
|
|
|
%dir %{perl_vendorarch}/auto/Slurm
|
|
|
|
%dir %{perl_vendorarch}/auto/Slurmdb
|
|
|
|
%{_mandir}/man3/Slurm*.3pm*
|
|
|
|
%{perl_vendorarch}/Slurm.pm
|
2017-09-15 22:05:40 +00:00
|
|
|
%{perl_vendorarch}/Slurm/*.pm
|
|
|
|
%{perl_vendorarch}/Slurmdb.pm
|
|
|
|
%{perl_vendorarch}/auto/Slurm/Slurm.so
|
|
|
|
%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
|
|
|
|
%{perl_vendorarch}/auto/Slurmdb/autosplit.ix
|
|
|
|
|
|
|
|
# ---------------
|
|
|
|
# Slurm-pam_slurm
|
|
|
|
# ---------------
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%files pam_slurm
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_libdir}/security/pam_slurm.so
|
|
|
|
%{_libdir}/security/pam_slurm_adopt.so
|
|
|
|
|
|
|
|
# ------------
|
|
|
|
# Slurm-torque
|
|
|
|
# ------------
|
|
|
|
|
|
|
|
%files torque
|
|
|
|
%{_bindir}/generate_pbs_nodefile
|
|
|
|
%{_bindir}/mpiexec
|
|
|
|
%{_bindir}/pbsnodes
|
|
|
|
%{_bindir}/qalter
|
|
|
|
%{_bindir}/qdel
|
|
|
|
%{_bindir}/qhold
|
|
|
|
%{_bindir}/qrerun
|
|
|
|
%{_bindir}/qrls
|
|
|
|
%{_bindir}/qstat
|
|
|
|
%{_bindir}/qsub
|
2018-02-11 00:12:58 +00:00
|
|
|
%{_libdir}/%{name}/job_submit_pbs.so
|
|
|
|
%{_libdir}/%{name}/spank_pbs.so
|
2017-09-15 22:05:40 +00:00
|
|
|
%{_mandir}/man1/pbsnodes.1*
|
|
|
|
%{_mandir}/man1/qalter.1*
|
|
|
|
%{_mandir}/man1/qdel.1*
|
|
|
|
%{_mandir}/man1/qhold.1*
|
|
|
|
%{_mandir}/man1/qrerun.1*
|
|
|
|
%{_mandir}/man1/qrls.1*
|
|
|
|
%{_mandir}/man1/qstat.1*
|
|
|
|
%{_mandir}/man1/qsub.1*
|
|
|
|
%{_mandir}/man1/mpiexec.1*
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%post slurmctld
|
2017-09-15 22:05:40 +00:00
|
|
|
%systemd_post slurmctld.service
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%preun slurmctld
|
2017-09-15 22:05:40 +00:00
|
|
|
%systemd_preun slurmctld.service
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%postun slurmctld
|
2018-03-20 16:49:48 +00:00
|
|
|
%systemd_postun_with_restart slurmctld.service
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%post slurmd
|
|
|
|
%systemd_post slurmd.service
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%preun slurmd
|
|
|
|
%systemd_preun slurmd.service
|
2017-09-15 22:05:40 +00:00
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
%postun slurmd
|
|
|
|
%systemd_postun_with_restart slurmd.service
|
2017-09-15 22:05:40 +00:00
|
|
|
|
|
|
|
%post slurmdbd
|
|
|
|
%systemd_post slurmdbd.service
|
|
|
|
|
|
|
|
%preun slurmdbd
|
|
|
|
%systemd_preun slurmdbd.service
|
|
|
|
|
|
|
|
%postun slurmdbd
|
|
|
|
%systemd_postun_with_restart slurmdbd.service
|
|
|
|
|
|
|
|
%changelog
|
2019-02-01 01:03:46 +00:00
|
|
|
* Thu Jan 31 2019 Philip Kovacs <pkdevel@yahoo.com> - 18.08.5-1
|
|
|
|
- Release of 18.08.5
|
|
|
|
|
2019-01-31 19:21:16 +00:00
|
|
|
* Thu Jan 31 2019 Philip Kovacs <pkdevel@yahoo.com> - 17.11.13-2
|
|
|
|
- Fix build issue on 32-bit architectures
|
|
|
|
|
2019-01-31 03:43:19 +00:00
|
|
|
* Wed Jan 30 2019 Philip Kovacs <pkdevel@yahoo.com> - 17.11.13-1
|
|
|
|
- Release of 17.11.13
|
|
|
|
- Closes security issue CVE-2019-6438
|
|
|
|
|
2018-10-24 20:50:19 +00:00
|
|
|
* Wed Oct 24 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.12-1
|
|
|
|
- Release of 17.11.12
|
|
|
|
|
|
|
|
* Sat Oct 20 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.11-1
|
2018-10-20 22:52:50 +00:00
|
|
|
- Release of 17.11.11
|
2018-10-10 20:44:42 +00:00
|
|
|
|
2018-10-20 22:56:42 +00:00
|
|
|
* Thu Oct 11 2018 Yu Watanabe <watanabe.yu@gmail.com> - 17.11.10-1
|
|
|
|
- Release of 17.11.10
|
|
|
|
|
2018-09-28 22:45:29 +00:00
|
|
|
* Fri Sep 28 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.9-2
|
|
|
|
- Release of 17.11.9-2 (new upstream tarball)
|
|
|
|
|
2018-08-10 13:06:38 +00:00
|
|
|
* Fri Aug 10 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.9-1
|
|
|
|
- Release of 17.11.9
|
|
|
|
|
2018-07-20 21:48:50 +00:00
|
|
|
* Fri Jul 20 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.8-1
|
|
|
|
- Release of 17.11.8
|
|
|
|
|
2018-07-14 06:18:24 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.11.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-27 20:10:29 +00:00
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 17.11.7-2
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-06-01 05:11:27 +00:00
|
|
|
* Fri Jun 1 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.7-1
|
|
|
|
- Release of 17.11.7
|
|
|
|
- Closes security issue CVE-2018-10995
|
|
|
|
|
2018-05-12 21:52:02 +00:00
|
|
|
* Sat May 12 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.6-1
|
|
|
|
- Release of 17.11.6
|
|
|
|
- Added patch to avoid building contribs/cray (Yu Watanabe)
|
|
|
|
- Added lz4 support via new BuildRequires (Yu Watanabe)
|
|
|
|
- Replaced obsolete packages libibmad-devel and libibumad-devel
|
|
|
|
with rdma-core-devel (Yu Watanabe)
|
|
|
|
- Updated package descriptions (Yu Watanabe)
|
2018-03-20 16:49:48 +00:00
|
|
|
|
2018-03-17 02:08:39 +00:00
|
|
|
* Fri Mar 16 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.5-1
|
|
|
|
- Release of 17.11.5
|
|
|
|
- Closes security issue CVE-2018-7033
|
|
|
|
|
2018-03-04 01:52:28 +00:00
|
|
|
* Sat Mar 3 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.4-1
|
|
|
|
- Release of 17.11.4
|
|
|
|
- Add perl-devel, python3 to build requirements
|
|
|
|
- Add patch to convert python references to python3
|
|
|
|
- Use LDFLAGS to disable -z now instaed of _hardened_ldflags
|
|
|
|
|
2018-02-15 23:37:15 +00:00
|
|
|
* Thu Feb 15 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.3-3
|
|
|
|
- Add perl-interpreter to BuildRequires
|
|
|
|
|
2018-02-15 23:21:38 +00:00
|
|
|
* Thu Feb 15 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.3-2
|
|
|
|
- Rebuild for libevent soname bump
|
|
|
|
|
2018-02-11 00:12:58 +00:00
|
|
|
* Sat Feb 10 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.3-1
|
|
|
|
- Release of 17.11 series
|
|
|
|
- Re-aligned rpm packaging to be closer to upstream
|
|
|
|
- Enabled new slurm native X11 support using ssh2
|
|
|
|
- Enabled new shared libslurm for smaller code size
|
|
|
|
- Enabled `check` unit testing via check-devel
|
|
|
|
- Added environment module support for pmi/slurm
|
|
|
|
- Add dependency to pmix
|
|
|
|
- Removed gtk-update-icon-cache scriptlets
|
|
|
|
- Use new ldconfig_scriptlets macro
|
|
|
|
|
2018-02-09 17:01:50 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.02.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-16 19:24:37 +00:00
|
|
|
* Thu Nov 16 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-3
|
2018-02-11 00:12:58 +00:00
|
|
|
- Added patch to enable full relro builds and operation
|
|
|
|
- Added patch to link knl_generic plugin to libnuma if available
|
|
|
|
- Remove the following cray or bluegene-only plugins
|
|
|
|
- job_container/cncu, select/alps, select/bluegene
|
|
|
|
- Rename slurm_setuser to slurm-setuser
|
|
|
|
- Minor corrections to slurm.conf
|
2017-11-16 19:24:37 +00:00
|
|
|
|
2017-11-02 00:57:06 +00:00
|
|
|
* Wed Nov 1 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-2
|
2018-02-11 00:12:58 +00:00
|
|
|
- Correct desktop categories for rpmgrill.desktop-lint
|
2017-11-02 00:57:06 +00:00
|
|
|
|
2017-11-01 22:31:54 +00:00
|
|
|
* Wed Nov 1 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-1
|
2018-02-11 00:12:58 +00:00
|
|
|
- Version bump to close CVE-2017-15566
|
|
|
|
- Adjusted patches per closure of upstream bug #3942
|
|
|
|
- Added desktop categories per rpmgrill.desktop-lint
|
2017-11-01 22:31:54 +00:00
|
|
|
|
2017-10-25 21:57:09 +00:00
|
|
|
* Wed Oct 25 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.8-1
|
2018-02-11 00:12:58 +00:00
|
|
|
- Version bump, patches adjusted
|
2017-10-25 21:57:09 +00:00
|
|
|
|
2017-10-05 18:22:05 +00:00
|
|
|
* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-4
|
|
|
|
- Patch changes per resolution of upstream bug #4101:
|
2018-02-11 00:12:58 +00:00
|
|
|
- salloc/sbatch/srun: must be root to use --uid/--gid options
|
|
|
|
- salloc: supplemental groups dropped after setuid
|
2017-10-05 18:22:05 +00:00
|
|
|
|
2017-10-05 04:43:02 +00:00
|
|
|
* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-3
|
2018-02-11 00:12:58 +00:00
|
|
|
- Added BuildRequires gcc and minor packaging conformance items
|
2017-10-05 04:43:02 +00:00
|
|
|
|
2017-09-16 17:39:32 +00:00
|
|
|
* Sat Sep 16 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-2
|
2018-02-11 00:12:58 +00:00
|
|
|
- Removed unneeded Requires(pre)
|
2017-09-16 17:39:32 +00:00
|
|
|
|
2017-09-15 22:05:40 +00:00
|
|
|
* Thu Sep 14 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-1
|
2018-02-11 00:12:58 +00:00
|
|
|
- Packaging for Fedora
|