Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
4afd04a7
Commit
4afd04a7
authored
22 years ago
by
Mark Grondona
Browse files
Options
Downloads
Patches
Plain Diff
o do not stop/start slurm services at an upgrade
parent
8e3ab353
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slurm.spec.in
+22
-22
22 additions, 22 deletions
slurm.spec.in
with
22 additions
and
22 deletions
slurm.spec.in
+
22
−
22
View file @
4afd04a7
...
@@ -23,17 +23,16 @@ Requires: slurm
...
@@ -23,17 +23,16 @@ Requires: slurm
%description
%description
The common slurm package, which includes the base libraries, client
SLURM is a simple resource management system which manages
utilitues for SLURM, slurmd, and slurmctld. Slurmd is the compute node
exclusive access to a set of compute resources and distrubutes
daemon of Slurm. It monitors all tasks running on the compute node ,
work to those resources. Included in this package are the SLURM
accepts work (tasks), launches tasks, and kills running tasks upon
controller, compute node daemon, and all clients necessary to
request. Slurmctld is the central management daemon of Slurm. It
access SLURM functionality.
monitors all other Slurm daemons and resources, accepts work (jobs),
and allocates resources to those jobs.
%description devel
%description devel
Development package for SLURM. This package includes the header files
Development package for SLURM. This package includes the header files
and static libraries.
and static libraries
for the SLURM API
.
%prep
%prep
...
@@ -73,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
...
@@ -73,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
%doc README
%doc README
%doc DISCLAIMER
%doc DISCLAIMER
%doc COPYING
%doc COPYING
%doc etc/slurm.conf.example
%{_bindir}/*
%{_bindir}/*
%{_sbindir}/*
%{_sbindir}/*
%{_libdir}/*.so*
%{_libdir}/*.so*
...
@@ -89,28 +89,28 @@ rm -rf $RPM_BUILD_ROOT
...
@@ -89,28 +89,28 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libslurm.la
%{_libdir}/libslurm.la
%{_mandir}/man3/*
%{_mandir}/man3/*
%pre
#
%pre
if [ -x /etc/rc.d/init.d/slurm ]; then
#
if [ -x /etc/rc.d/init.d/slurm ]; then
if /etc/rc.d/init.d/slurm status | grep running >/dev/null 2>&1; then
#
if /etc/rc.d/init.d/slurm status | grep running >/dev/null 2>&1; then
/etc/rc.d/init.d/slurm stop
#
/etc/rc.d/init.d/slurm stop
fi
#
fi
fi
#
fi
%post
%post
/sbin/ldconfig %{_libdir}
/sbin/ldconfig %{_libdir}
if [ -x /etc/rc.d/init.d/slurm ]; then
#
if [ -x /etc/rc.d/init.d/slurm ]; then
[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
#
[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
[ -x /sbin/chkconfig ] && /sbin/chkconfig --add slurm
#
[ -x /sbin/chkconfig ] && /sbin/chkconfig --add slurm
if ! /etc/rc.d/init.d/slurm status | grep running
>/dev/null 2>&1
; then
#
if ! /etc/rc.d/init.d/slurm status | grep
-q
running; then
/etc/rc.d/init.d/slurm start
#
/etc/rc.d/init.d/slurm start
fi
#
fi
fi
#
fi
%preun
%preun
if [ "$1" = 0 ]; then
if [ "$1" = 0 ]; then
if [ -x /etc/rc.d/init.d/slurm ]; then
if [ -x /etc/rc.d/init.d/slurm ]; then
[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
if /etc/rc.d/init.d/slurm status | grep running
>/dev/null 2>&1
; then
if /etc/rc.d/init.d/slurm status | grep
-q
running; then
/etc/rc.d/init.d/slurm stop
/etc/rc.d/init.d/slurm stop
fi
fi
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment