Accepting request 163005 from home:scorot:branches:network:cluster
Simple Linux Utility for Resource Management OBS-URL: https://build.opensuse.org/request/show/163005 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=1
This commit is contained in:
commit
1403874780
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
24
slurm-2.4.4-init.patch
Normal file
24
slurm-2.4.4-init.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -aruN slurm-2.4.4.orig/etc/init.d.slurmdbd.in slurm-2.4.4/etc/init.d.slurmdbd.in
|
||||||
|
--- slurm-2.4.4.orig/etc/init.d.slurmdbd.in 2012-11-02 17:46:12.000000000 +0100
|
||||||
|
+++ slurm-2.4.4/etc/init.d.slurmdbd.in 2012-11-17 19:00:06.079651971 +0100
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
# Required-Stop: $remote_fs $syslog $network munge
|
||||||
|
# Should-Start: $named
|
||||||
|
# Should-Stop: $named
|
||||||
|
-# Default-Start: 2 3 4 5
|
||||||
|
+# Default-Start: 2 3 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: SLURM database daemon
|
||||||
|
# Description: Start slurm to provide database server for SLURM
|
||||||
|
diff -aruN slurm-2.4.4.orig/etc/init.d.slurm.in slurm-2.4.4/etc/init.d.slurm.in
|
||||||
|
--- slurm-2.4.4.orig/etc/init.d.slurm.in 2012-11-02 17:46:12.000000000 +0100
|
||||||
|
+++ slurm-2.4.4/etc/init.d.slurm.in 2012-11-17 18:59:51.799652475 +0100
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
# Required-Stop: $remote_fs $syslog $network munge
|
||||||
|
# Should-Start: $named
|
||||||
|
# Should-Stop: $named
|
||||||
|
-# Default-Start: 2 3 4 5
|
||||||
|
+# Default-Start: 2 3 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: slurm daemon management
|
||||||
|
# Description: Start slurm to provide resource management
|
42
slurm-2.4.4-rpath.patch
Normal file
42
slurm-2.4.4-rpath.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
diff -aruN slurm-2.4.4.orig/contribs/perlapi/libslurm/perl/Makefile.PL.in slurm-2.4.4/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
||||||
|
--- slurm-2.4.4.orig/contribs/perlapi/libslurm/perl/Makefile.PL.in 2012-11-02 17:46:12.000000000 +0100
|
||||||
|
+++ slurm-2.4.4/contribs/perlapi/libslurm/perl/Makefile.PL.in 2012-11-17 17:42:51.919815606 +0100
|
||||||
|
@@ -77,7 +77,7 @@
|
||||||
|
# AIX has problems with not always having the correct
|
||||||
|
# flags so we have to add some :)
|
||||||
|
my $os = lc(`uname`);
|
||||||
|
-my $other_ld_flags = "-Wl,-rpath,@top_builddir@/src/api/.libs -Wl,-rpath,@prefix@/lib";
|
||||||
|
+my $other_ld_flags = " ";
|
||||||
|
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
|
||||||
|
if $os =~ "aix";
|
||||||
|
|
||||||
|
@@ -88,7 +88,7 @@
|
||||||
|
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
||||||
|
(ABSTRACT_FROM => 'lib/Slurm.pm', # retrieve abstract from module
|
||||||
|
AUTHOR => 'Hongjia Cao <hjcao@nudt.edu.cn>') : ()),
|
||||||
|
- LIBS => ["-L@top_builddir@/src/api/.libs -L@prefix@/lib -lslurm"], # e.g., '-lm'
|
||||||
|
+ LIBS => ["-L@prefix@/lib -lslurm"], # e.g., '-lm'
|
||||||
|
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
||||||
|
INC => "-I. -I@top_srcdir@ -I@top_srcdir@/contribs/perlapi/common -I@top_builddir@",
|
||||||
|
# Un-comment this if you add C files to link with later:
|
||||||
|
diff -aruN slurm-2.4.4.orig/contribs/perlapi/libslurmdb/perl/Makefile.PL.in slurm-2.4.4/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
||||||
|
--- slurm-2.4.4.orig/contribs/perlapi/libslurmdb/perl/Makefile.PL.in 2012-11-02 17:46:12.000000000 +0100
|
||||||
|
+++ slurm-2.4.4/contribs/perlapi/libslurmdb/perl/Makefile.PL.in 2012-11-17 17:41:27.163818599 +0100
|
||||||
|
@@ -76,7 +76,7 @@
|
||||||
|
# AIX has problems with not always having the correct
|
||||||
|
# flags so we have to add some :)
|
||||||
|
my $os = lc(`uname`);
|
||||||
|
-my $other_ld_flags = "-Wl,-rpath,@top_builddir@/src/db_api/.libs -Wl,-rpath,@prefix@/lib";
|
||||||
|
+my $other_ld_flags = " ";
|
||||||
|
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
|
||||||
|
if $os =~ "aix";
|
||||||
|
|
||||||
|
@@ -87,7 +87,7 @@
|
||||||
|
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
||||||
|
(ABSTRACT_FROM => 'Slurmdb.pm', # retrieve abstract from module
|
||||||
|
AUTHOR => 'Don Lipari <lipari@llnl.gov>') : ()),
|
||||||
|
- LIBS => ["-L@top_builddir@/src/db_api/.libs -L@prefix@/lib -lslurmdb"], # e.g., '-lm'
|
||||||
|
+ LIBS => ["-L@prefix@/lib -lslurmdb"], # e.g., '-lm'
|
||||||
|
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
||||||
|
INC => "-I. -I@top_srcdir@ -I@top_srcdir@/contribs/perlapi/common -I@top_builddir@",
|
||||||
|
# Un-comment this if you add C files to link with later:
|
3
slurm-2.5.4.tar.bz2
Normal file
3
slurm-2.5.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c713ea74742ce14a27b88b02f1a475bc71cde22ad3a323a4d669530d8b68f09e
|
||||||
|
size 5497719
|
52
slurm.changes
Normal file
52
slurm.changes
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 6 11:13:17 UTC 2013 - scorot@free.fr
|
||||||
|
|
||||||
|
- version 2.5.4
|
||||||
|
* Too many changes since last update. See NEWS file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 17 18:02:16 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- remore runlevel 4 from init script thanks to patch1
|
||||||
|
- fix self obsoletion of slurm-munge package
|
||||||
|
- use fdupes to remove duplicates
|
||||||
|
- spec file reformaing
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 17 17:30:11 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- put perl macro in a better within install section
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 17 17:01:20 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- enable numa on x86_64 arch only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 17 16:54:18 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- add numa and hwloc support
|
||||||
|
- fix rpath with patch0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 16 21:46:49 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- fix perl module files list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 5 21:48:52 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- use perl_process_packlist macro for the perl files cleanup
|
||||||
|
- fix some summaries length
|
||||||
|
- add cgoups directory and example the cgroup.release_common file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 3 18:19:59 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- spec file cleanup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 3 15:57:47 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- first package
|
||||||
|
|
473
slurm.spec
Normal file
473
slurm.spec
Normal file
@ -0,0 +1,473 @@
|
|||||||
|
#
|
||||||
|
# spec file for package slurm
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libslurm libslurm24
|
||||||
|
|
||||||
|
Name: slurm
|
||||||
|
Version: 2.5.4
|
||||||
|
Release: 0
|
||||||
|
Summary: Simple Linux Utility for Resource Management
|
||||||
|
License: GPL-3.0
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Url: https://computing.llnl.gov/linux/slurm/
|
||||||
|
Source: slurm-%{version}.tar.bz2
|
||||||
|
Patch0: slurm-2.4.4-rpath.patch
|
||||||
|
Patch1: slurm-2.4.4-init.patch
|
||||||
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
|
Requires: slurm-plugins = %{version}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gtk2-devel
|
||||||
|
BuildRequires: libbitmask-devel
|
||||||
|
BuildRequires: libcpuset-devel
|
||||||
|
BuildRequires: libhwloc-devel
|
||||||
|
%ifarch x86_64
|
||||||
|
BuildRequires: libnuma-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: mysql-devel >= 5.0.0
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: openssl-devel >= 0.9.6
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: postgresql-devel >= 8.0.0
|
||||||
|
BuildRequires: python
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
SLURM is an open source, fault-tolerant, and highly
|
||||||
|
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 -n perl-slurm
|
||||||
|
Summary: Perl API to SLURM
|
||||||
|
Group: Development/Languages/Perl
|
||||||
|
Requires: slurm = %{version}
|
||||||
|
%if 0%{?suse_version} < 1140
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
%else
|
||||||
|
%{perl_requires}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description -n perl-slurm
|
||||||
|
Perl API package for SLURM. This package includes the perl API to provide a
|
||||||
|
helpful interface to SLURM through Perl.
|
||||||
|
|
||||||
|
%package -n %{libslurm}
|
||||||
|
Summary: Libraries for slurm
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{libslurm}
|
||||||
|
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: slurm = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development package for SLURM. This package includes the header files
|
||||||
|
and libraries for the SLURM API.
|
||||||
|
|
||||||
|
|
||||||
|
%package auth-none
|
||||||
|
Summary: SLURM auth NULL implementation (no authentication)
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Requires: slurm = %{version}
|
||||||
|
|
||||||
|
%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: slurm = %{version}
|
||||||
|
BuildRequires: munge-devel
|
||||||
|
Obsoletes: slurm-auth-munge < %{version}
|
||||||
|
Provides: slurm-auth-munge = %{version}
|
||||||
|
|
||||||
|
%description munge
|
||||||
|
This package contains the SLURM authentication module for Chris Dunlap's Munge.
|
||||||
|
|
||||||
|
%package sview
|
||||||
|
Summary: SLURM graphical interface
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
|
||||||
|
%description sview
|
||||||
|
sview is a graphical user interface to get and update state information for
|
||||||
|
jobs, partitions, and nodes managed by SLURM.
|
||||||
|
|
||||||
|
|
||||||
|
%package sched-wiki
|
||||||
|
Summary: SLURM plugin for the Maui or Moab scheduler wiki interface
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Requires: slurm = %{version}
|
||||||
|
|
||||||
|
%description sched-wiki
|
||||||
|
This package contains the SLURM plugin for the Maui or Moab scheduler wiki interface.
|
||||||
|
|
||||||
|
|
||||||
|
%package slurmdbd
|
||||||
|
Summary: SLURM database daemon
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Requires: slurm-plugins = %{version}
|
||||||
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
|
|
||||||
|
%description slurmdbd
|
||||||
|
The SLURM database daemon provides accounting of jobs in a database.
|
||||||
|
|
||||||
|
|
||||||
|
%package plugins
|
||||||
|
Summary: SLURM plugins (loadable shared objects)
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
|
||||||
|
%description plugins
|
||||||
|
This package contains the SLURM plugins (loadable shared objects)
|
||||||
|
|
||||||
|
%package torque
|
||||||
|
Summary: Torque/PBS wrappers for transitition from Torque/PBS to SLURM
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Requires: perl-slurm = %{version}
|
||||||
|
Provides: torque-client
|
||||||
|
|
||||||
|
%description torque
|
||||||
|
Torque wrapper scripts used for helping migrate from Torque/PBS to SLURM.
|
||||||
|
|
||||||
|
|
||||||
|
%package slurmdb-direct
|
||||||
|
Summary: Wrappers to write directly to the slurmdb
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Requires: perl-slurm = %{version}
|
||||||
|
%if 0%{?suse_version} < 1140
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
%else
|
||||||
|
%{perl_requires}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description slurmdb-direct
|
||||||
|
Wrappers to write directly to the slurmdb.
|
||||||
|
|
||||||
|
|
||||||
|
%package sjstat
|
||||||
|
Summary: Perl tool to print SLURM job state information
|
||||||
|
Group: Productivity/Clustering/Computing
|
||||||
|
Requires: slurm = %{version}
|
||||||
|
|
||||||
|
%description sjstat
|
||||||
|
This package contains the 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: slurm = %{version}
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
chmod 0644 doc/html/*.{gif,jpg}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
--without-rpath \
|
||||||
|
--sysconfdir=%{_sysconfdir}/%{name}
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
make install-contrib DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
install -D -m755 etc/init.d.slurm $RPM_BUILD_ROOT%{_initrddir}/slurm
|
||||||
|
install -D -m755 etc/init.d.slurmdbd $RPM_BUILD_ROOT%{_initrddir}/slurmdbd
|
||||||
|
ln -sf %{_initrddir}/slurm %{buildroot}%{_sbindir}/rcslurm
|
||||||
|
ln -sf %{_initrddir}/slurmdbd %{buildroot}%{_sbindir}/rcslurmdbd
|
||||||
|
|
||||||
|
install -D -m644 etc/slurm.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/slurm.conf
|
||||||
|
install -D -m644 etc/slurmdbd.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/slurmdbd.conf
|
||||||
|
install -D -m644 etc/cgroup.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cgroup.conf
|
||||||
|
install -D -m755 etc/cgroup.release_common.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cgroup/release_common
|
||||||
|
install -D -m644 etc/cgroup_allowed_devices_file.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cgroup_allowed_devices_file.conf
|
||||||
|
install -D -m755 etc/slurm.epilog.clean $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/slurm.epilog.clean
|
||||||
|
install -D -m755 contribs/sjstat $RPM_BUILD_ROOT%{_bindir}/sjstat
|
||||||
|
|
||||||
|
# Delete unpackaged files:
|
||||||
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/slurm/*.{a,la} \
|
||||||
|
$RPM_BUILD_ROOT/%{_libdir}/*.la \
|
||||||
|
$RPM_BUILD_ROOT/%_lib/security/*.la \
|
||||||
|
$RPM_BUILD_ROOT/%{_datadir}/doc/slurm-%{version}/ \
|
||||||
|
$RPM_BUILD_ROOT/%{_mandir}/man5/bluegene*
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/srun_cr* \
|
||||||
|
$RPM_BUILD_ROOT%{_bindir}/srun_cr \
|
||||||
|
$RPM_BUILD_ROOT%{_libexecdir}/slurm/cr_*
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{perl_vendorarch}
|
||||||
|
mv $RPM_BUILD_ROOT%{perl_sitearch}/* $RPM_BUILD_ROOT%{perl_vendorarch}
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
rm doc/html/shtml2html.py doc/html/Makefile*
|
||||||
|
|
||||||
|
%fdupes -s $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
%fillup_and_insserv slurm
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%stop_on_removal slurm
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%restart_on_update slurm
|
||||||
|
%insserv_cleanup
|
||||||
|
|
||||||
|
%post slurmdbd
|
||||||
|
%fillup_and_insserv slurmdbd
|
||||||
|
|
||||||
|
%preun slurmdbd
|
||||||
|
%stop_on_removal slurmdbd
|
||||||
|
|
||||||
|
%postun slurmdbd
|
||||||
|
%restart_on_update slurmdbd
|
||||||
|
%insserv_cleanup
|
||||||
|
|
||||||
|
%post -n %{libslurm} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{libslurm} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER COPYING
|
||||||
|
%doc doc/html
|
||||||
|
%{_bindir}/sacct
|
||||||
|
%{_bindir}/sacctmgr
|
||||||
|
%{_bindir}/salloc
|
||||||
|
%{_bindir}/sattach
|
||||||
|
%{_bindir}/sbatch
|
||||||
|
%{_bindir}/sbcast
|
||||||
|
%{_bindir}/scancel
|
||||||
|
%{_bindir}/scontrol
|
||||||
|
%{_bindir}/sdiag
|
||||||
|
%{_bindir}/sinfo
|
||||||
|
%{_bindir}/sjobexitmod
|
||||||
|
%{_bindir}/sprio
|
||||||
|
%{_bindir}/squeue
|
||||||
|
%{_bindir}/sreport
|
||||||
|
%{_bindir}/srun
|
||||||
|
%{_bindir}/smap
|
||||||
|
%{_bindir}/sshare
|
||||||
|
%{_bindir}/sstat
|
||||||
|
%{_bindir}/strigger
|
||||||
|
%{_sbindir}/slurmctld
|
||||||
|
%{_sbindir}/slurmd
|
||||||
|
%{_sbindir}/slurmstepd
|
||||||
|
%{_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/sinfo.1*
|
||||||
|
%{_mandir}/man1/slurm.1*
|
||||||
|
%{_mandir}/man1/smap.1*
|
||||||
|
%{_mandir}/man1/sprio.1*
|
||||||
|
%{_mandir}/man1/squeue.1*
|
||||||
|
%{_mandir}/man1/sreport.1*
|
||||||
|
%{_mandir}/man1/srun.1*
|
||||||
|
%{_mandir}/man1/sshare.1*
|
||||||
|
%{_mandir}/man1/sstat.1*
|
||||||
|
%{_mandir}/man1/strigger.1*
|
||||||
|
%{_mandir}/man5/slurm.*
|
||||||
|
%{_mandir}/man5/cgroup.*
|
||||||
|
%{_mandir}/man5/cray.*
|
||||||
|
%{_mandir}/man5/gres.*
|
||||||
|
%{_mandir}/man5/topology.*
|
||||||
|
%{_mandir}/man8/slurmctld.*
|
||||||
|
%{_mandir}/man8/slurmd.*
|
||||||
|
%{_mandir}/man8/slurmstepd*
|
||||||
|
%{_mandir}/man8/spank*
|
||||||
|
%dir %{_libdir}/slurm/src
|
||||||
|
%dir %{_sysconfdir}/%{name}
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/cgroup_allowed_devices_file.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/slurm.epilog.clean
|
||||||
|
%dir %{_sysconfdir}/%{name}/cgroup
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/cgroup/release_common
|
||||||
|
%{_initrddir}/slurm
|
||||||
|
%{_sbindir}/rcslurm
|
||||||
|
|
||||||
|
%files -n %{libslurm}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_prefix}/include/slurm
|
||||||
|
%{_libdir}/libpmi.so
|
||||||
|
%{_libdir}/libslurm.so
|
||||||
|
%{_libdir}/libslurmdb.so
|
||||||
|
%{_libdir}/slurm/src/*
|
||||||
|
%{_mandir}/man3/slurm_*
|
||||||
|
|
||||||
|
%files sview
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/sview
|
||||||
|
%{_mandir}/man1/sview.1*
|
||||||
|
|
||||||
|
%files sched-wiki
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/slurm/sched_wiki*.so
|
||||||
|
%{_mandir}/man5/wiki.*
|
||||||
|
|
||||||
|
%files auth-none
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/slurm/auth_none.so
|
||||||
|
|
||||||
|
%files munge
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/slurm/auth_munge.so
|
||||||
|
%{_libdir}/slurm/crypto_munge.so
|
||||||
|
|
||||||
|
%files -n perl-slurm
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorarch}/Slurm.pm
|
||||||
|
%{perl_vendorarch}/Slurm
|
||||||
|
%{perl_vendorarch}/auto/Slurm
|
||||||
|
%{perl_vendorarch}/Slurmdb.pm
|
||||||
|
%{perl_vendorarch}/auto/Slurmdb
|
||||||
|
%{_mandir}/man3/Slurm*.3pm.*
|
||||||
|
%if 0%{?suse_version} <= 1110
|
||||||
|
/var/adm/perl-modules/slurm
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files slurmdbd
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_sbindir}/slurmdbd
|
||||||
|
%{_mandir}/man5/slurmdbd.*
|
||||||
|
%{_mandir}/man8/slurmdbd.*
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/slurmdbd.conf
|
||||||
|
%{_initrddir}/slurmdbd
|
||||||
|
%{_sbindir}/rcslurmdbd
|
||||||
|
|
||||||
|
%files plugins
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_libdir}/slurm
|
||||||
|
%{_libdir}/slurm/accounting_storage_filetxt.so
|
||||||
|
%{_libdir}/slurm/accounting_storage_none.so
|
||||||
|
%{_libdir}/slurm/accounting_storage_slurmdbd.so
|
||||||
|
%{_libdir}/slurm/acct_gather_energy_ipmi.so
|
||||||
|
%{_libdir}/slurm/acct_gather_energy_none.so
|
||||||
|
%{_libdir}/slurm/acct_gather_energy_rapl.so
|
||||||
|
%{_libdir}/slurm/checkpoint_none.so
|
||||||
|
%{_libdir}/slurm/checkpoint_ompi.so
|
||||||
|
%{_libdir}/slurm/jobacct_gather_aix.so
|
||||||
|
%{_libdir}/slurm/jobacct_gather_linux.so
|
||||||
|
%{_libdir}/slurm/jobacct_gather_none.so
|
||||||
|
%{_libdir}/slurm/jobcomp_none.so
|
||||||
|
%{_libdir}/slurm/jobcomp_filetxt.so
|
||||||
|
%{_libdir}/slurm/jobcomp_script.so
|
||||||
|
%{_libdir}/slurm/mpi_lam.so
|
||||||
|
%{_libdir}/slurm/mpi_mpich1_p4.so
|
||||||
|
%{_libdir}/slurm/mpi_mpich1_shmem.so
|
||||||
|
%{_libdir}/slurm/mpi_mpichgm.so
|
||||||
|
%{_libdir}/slurm/mpi_mpichmx.so
|
||||||
|
%{_libdir}/slurm/mpi_mvapich.so
|
||||||
|
%{_libdir}/slurm/mpi_none.so
|
||||||
|
%{_libdir}/slurm/mpi_openmpi.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_pgid.so
|
||||||
|
%{_libdir}/slurm/proctrack_linuxproc.so
|
||||||
|
%{_libdir}/slurm/sched_backfill.so
|
||||||
|
%{_libdir}/slurm/sched_builtin.so
|
||||||
|
%{_libdir}/slurm/sched_hold.so
|
||||||
|
%{_libdir}/slurm/select_cons_res.so
|
||||||
|
%{_libdir}/slurm/select_linear.so
|
||||||
|
%{_libdir}/slurm/switch_none.so
|
||||||
|
%{_libdir}/slurm/task_none.so
|
||||||
|
%{_libdir}/slurm/topology_3d_torus.so
|
||||||
|
%{_libdir}/slurm/topology_none.so
|
||||||
|
%{_libdir}/slurm/topology_tree.so
|
||||||
|
%{_libdir}/slurm/accounting_storage_mysql.so
|
||||||
|
%{_libdir}/slurm/accounting_storage_pgsql.so
|
||||||
|
%{_libdir}/slurm/crypto_openssl.so
|
||||||
|
%{_libdir}/slurm/jobcomp_mysql.so
|
||||||
|
%{_libdir}/slurm/jobcomp_pgsql.so
|
||||||
|
%{_libdir}/slurm/task_affinity.so
|
||||||
|
%{_libdir}/slurm/gres_gpu.so
|
||||||
|
%{_libdir}/slurm/gres_mic.so
|
||||||
|
%{_libdir}/slurm/gres_nic.so
|
||||||
|
%{_libdir}/slurm/job_submit_all_partitions.so
|
||||||
|
%{_libdir}/slurm/job_submit_cnode.so
|
||||||
|
%{_libdir}/slurm/job_submit_defaults.so
|
||||||
|
%{_libdir}/slurm/job_submit_logging.so
|
||||||
|
%{_libdir}/slurm/job_submit_partition.so
|
||||||
|
%{_libdir}/slurm/jobacct_gather_cgroup.so
|
||||||
|
%{_libdir}/slurm/launch_slurm.so
|
||||||
|
%{_libdir}/slurm/mpi_pmi2.so
|
||||||
|
%{_libdir}/slurm/proctrack_cgroup.so
|
||||||
|
%{_libdir}/slurm/priority_multifactor2.so
|
||||||
|
%{_libdir}/slurm/select_bluegene.so
|
||||||
|
%{_libdir}/slurm/select_cray.so
|
||||||
|
%{_libdir}/slurm/select_serial.so
|
||||||
|
%{_libdir}/slurm/task_cgroup.so
|
||||||
|
%{_libdir}/slurm/topology_node_rank.so
|
||||||
|
|
||||||
|
%files torque
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/pbsnodes
|
||||||
|
%{_bindir}/qdel
|
||||||
|
%{_bindir}/qhold
|
||||||
|
%{_bindir}/qrls
|
||||||
|
%{_bindir}/qstat
|
||||||
|
%{_bindir}/qsub
|
||||||
|
%{_bindir}/mpiexec
|
||||||
|
|
||||||
|
%files slurmdb-direct
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config (noreplace) %{perl_vendorarch}/config.slurmdb.pl
|
||||||
|
%{_sbindir}/moab_2_slurmdb
|
||||||
|
|
||||||
|
%files sjstat
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/sjstat
|
||||||
|
|
||||||
|
%files pam_slurm
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/%_lib/security/pam_slurm.so
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user