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
ee68bba8
Commit
ee68bba8
authored
15 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r19967:19976
https://eris.llnl.gov/svn/slurm/branches/slurm-2.1
parent
075ecb52
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
NEWS
+1
-0
1 addition, 0 deletions
NEWS
doc/man/man5/slurm.conf.5
+1
-0
1 addition, 0 deletions
doc/man/man5/slurm.conf.5
etc/init.d.slurm
+13
-2
13 additions, 2 deletions
etc/init.d.slurm
etc/init.d.slurmdbd
+8
-2
8 additions, 2 deletions
etc/init.d.slurmdbd
slurm.spec
+10
-12
10 additions, 12 deletions
slurm.spec
with
33 additions
and
16 deletions
NEWS
+
1
−
0
View file @
ee68bba8
...
@@ -186,6 +186,7 @@ documents those changes that are of interest to users and admins.
...
@@ -186,6 +186,7 @@ documents those changes that are of interest to users and admins.
space in the environment variables exported to the user application
space in the environment variables exported to the user application
(everything after the equal sign to the end of the line is included without
(everything after the equal sign to the end of the line is included without
alteration).
alteration).
-- Do not install /etc/init.d/slurm or /etc/init.d/slurmdbd on AIX systems.
* Changes in SLURM 2.1.6-2
* Changes in SLURM 2.1.6-2
==========================
==========================
...
...
This diff is collapsed.
Click to expand it.
doc/man/man5/slurm.conf.5
+
1
−
0
View file @
ee68bba8
...
@@ -1755,6 +1755,7 @@ variables and output for the user program.
...
@@ -1755,6 +1755,7 @@ variables and output for the user program.
Will set environment variables for the task being spawned.
Will set environment variables for the task being spawned.
Everything after the equal sign to the end of the
Everything after the equal sign to the end of the
line will be used as the value for the environment variable.
line will be used as the value for the environment variable.
Exporting of functions is not currently supported.
.TP
.TP
\fBprint ...\fR
\fBprint ...\fR
Will cause that line (without the leading "print ")
Will cause that line (without the leading "print ")
...
...
This diff is collapsed.
Click to expand it.
etc/init.d.slurm
+
13
−
2
View file @
ee68bba8
...
@@ -38,7 +38,10 @@ if [ -f /etc/rc.status ]; then
...
@@ -38,7 +38,10 @@ if [ -f /etc/rc.status ]; then
rc_reset
rc_reset
else
else
[
-f
/etc/rc.d/init.d/functions
]
||
exit
0
if
[
!
-f
/etc/rc.d/init.d/functions
]
;
then
echo
"Could not find /etc/rc.d/init.d/functions. Is some other daemon launch mechanism used?"
exit
1
fi
.
/etc/rc.d/init.d/functions
.
/etc/rc.d/init.d/functions
SUSE
=
0
SUSE
=
0
STARTPROC
=
daemon
STARTPROC
=
daemon
...
@@ -52,6 +55,11 @@ else
...
@@ -52,6 +55,11 @@ else
RETVAL
=
0
RETVAL
=
0
fi
fi
if
[
!
-x
$BINDIR
/scontrol
]
;
then
echo
"Could not find
$BINDIR
/scontrol. Bad path?"
exit
1
fi
# We can not use a starter program without losing environment
# We can not use a starter program without losing environment
# variables that are critical on Blue Gene systems
# variables that are critical on Blue Gene systems
if
[
-d
/bgl/BlueLight/ppcfloor
]
;
then
if
[
-d
/bgl/BlueLight/ppcfloor
]
;
then
...
@@ -68,7 +76,10 @@ else
...
@@ -68,7 +76,10 @@ else
SLURMD_OPTIONS
=
""
SLURMD_OPTIONS
=
""
fi
fi
[
-f
$CONFDIR
/slurm.conf
]
||
exit
1
if
[
!
-f
$CONFDIR
/slurm.conf
]
;
then
echo
"Could not find
$CONFDIR
/slurm.conf. Bad path?"
exit
1
fi
# setup library paths for slurm and munge support
# setup library paths for slurm and munge support
export
LD_LIBRARY_PATH
=
"
$LIBDIR
:
$LD_LIBRARY_PATH
"
export
LD_LIBRARY_PATH
=
"
$LIBDIR
:
$LD_LIBRARY_PATH
"
...
...
This diff is collapsed.
Click to expand it.
etc/init.d.slurmdbd
+
8
−
2
View file @
ee68bba8
...
@@ -33,7 +33,10 @@ if [ -f /etc/rc.status ]; then
...
@@ -33,7 +33,10 @@ if [ -f /etc/rc.status ]; then
rc_reset
rc_reset
else
else
[
-f
/etc/rc.d/init.d/functions
]
||
exit
0
if
[
!
-f
/etc/rc.d/init.d/functions
]
;
then
echo
"Could not find /etc/rc.d/init.d/functions. Is some other daemon launch mechanism used?"
exit
1
fi
.
/etc/rc.d/init.d/functions
.
/etc/rc.d/init.d/functions
SUSE
=
0
SUSE
=
0
STARTPROC
=
daemon
STARTPROC
=
daemon
...
@@ -61,7 +64,10 @@ else
...
@@ -61,7 +64,10 @@ else
SLURMDBD_OPTIONS
=
""
SLURMDBD_OPTIONS
=
""
fi
fi
[
-f
$CONFDIR
/slurmdbd.conf
]
||
exit
1
if
[
!
-f
$CONFDIR
/slurmdbd.conf
]
;
then
echo
"Could not find
$CONFDIR
/slurmdbd.conf. Bad path?"
exit
1
fi
# setup library paths for slurm and munge support
# setup library paths for slurm and munge support
export
LD_LIBRARY_PATH
=
"
$LIBDIR
:
$LD_LIBRARY_PATH
"
export
LD_LIBRARY_PATH
=
"
$LIBDIR
:
$LD_LIBRARY_PATH
"
...
...
This diff is collapsed.
Click to expand it.
slurm.spec
+
10
−
12
View file @
ee68bba8
...
@@ -391,13 +391,13 @@ DESTDIR="$RPM_BUILD_ROOT" make install
...
@@ -391,13 +391,13 @@ DESTDIR="$RPM_BUILD_ROOT" make install
DESTDIR="$RPM_BUILD_ROOT" make install-contrib
DESTDIR="$RPM_BUILD_ROOT" make install-contrib
%ifos aix5.3
%ifos aix5.3
mv ${RPM_BUILD_ROOT}%{_bindir}/srun ${RPM_BUILD_ROOT}%{_sbindir}
mv ${RPM_BUILD_ROOT}%{_bindir}/srun ${RPM_BUILD_ROOT}%{_sbindir}
%else
if [ -d /etc/init.d ]; then
install -D -m755 etc/init.d.slurm $RPM_BUILD_ROOT/etc/init.d/slurm
install -D -m755 etc/init.d.slurmdbd $RPM_BUILD_ROOT/etc/init.d/slurmdbd
fi
%endif
%endif
if [ -d /etc/init.d ]; then
install -D -m755 etc/init.d.slurm $RPM_BUILD_ROOT/etc/init.d/slurm
install -D -m755 etc/init.d.slurmdbd $RPM_BUILD_ROOT/etc/init.d/slurmdbd
fi
install -D -m644 etc/cgroup.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/cgroup.conf.example
install -D -m644 etc/cgroup.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/cgroup.conf.example
install -D -m755 etc/cgroup.release_agent ${RPM_BUILD_ROOT}%{_sysconfdir}/cgroup.release_agent
install -D -m755 etc/cgroup.release_agent ${RPM_BUILD_ROOT}%{_sysconfdir}/cgroup.release_agent
install -D -m644 etc/slurm.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/slurm.conf.example
install -D -m644 etc/slurm.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/slurm.conf.example
...
@@ -432,9 +432,8 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/srun_cr* ${RPM_BUILD_ROOT}%{_bindir}/srun
...
@@ -432,9 +432,8 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/srun_cr* ${RPM_BUILD_ROOT}%{_bindir}/srun
# Build conditional file list for main package
# Build conditional file list for main package
LIST=./slurm.files
LIST=./slurm.files
touch $LIST
touch $LIST
if [ -d /etc/init.d ]; then
test -f $RPM_BUILD_ROOT/etc/init.d/slurm &&
echo "/etc/init.d/slurm" >> $LIST
echo /etc/init.d/slurm >> $LIST
fi
%if %{slurm_with aix}
%if %{slurm_with aix}
install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/federation.conf.example
install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/federation.conf.example
...
@@ -457,9 +456,8 @@ test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/switch_federation.so &&
...
@@ -457,9 +456,8 @@ test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/switch_federation.so &&
LIST=./slurmdbd.files
LIST=./slurmdbd.files
touch $LIST
touch $LIST
if [ -d /etc/init.d ]; then
test -f $RPM_BUILD_ROOT/etc/init.d/slurm &&
echo "/etc/init.d/slurmdbd" >> $LIST
echo /etc/init.d/slurmdbd >> $LIST
fi
LIST=./sql.files
LIST=./sql.files
touch $LIST
touch $LIST
...
...
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