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
d99a5298
Commit
d99a5298
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Define task prolog/epilog execution order
parent
89a2a1b1
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
doc/man/man5/slurm.conf.5
+29
-6
29 additions, 6 deletions
doc/man/man5/slurm.conf.5
with
29 additions
and
6 deletions
doc/man/man5/slurm.conf.5
+
29
−
6
View file @
d99a5298
...
@@ -430,13 +430,13 @@ into this directory.
...
@@ -430,13 +430,13 @@ into this directory.
Fully qualified pathname of an executable to be run by \fBsrun\fR following the
Fully qualified pathname of an executable to be run by \fBsrun\fR following the
completion of a job step. The command line arguments for the executable will
completion of a job step. The command line arguments for the executable will
be the command and arguments of the job step. This configuration parameter
be the command and arguments of the job step. This configuration parameter
may be overridden by \fBsrun\fR\'s \fB
-
-epilog\fR parameter.
may be overridden by \fBsrun\fR\'s \fB
\-\
-epilog\fR parameter.
.TP
.TP
\fBSrunProlog\fR
\fBSrunProlog\fR
Fully qualified pathname of an executable to be run by \fBsrun\fR prior to the
Fully qualified pathname of an executable to be run by \fBsrun\fR prior to the
launch of a job step. The command line arguments for the executable will
launch of a job step. The command line arguments for the executable will
be the command and arguments of the job step. This configuration parameter
be the command and arguments of the job step. This configuration parameter
may be overridden by \fBsrun\fR\'s \fB
-
-prolog\fR parameter.
may be overridden by \fBsrun\fR\'s \fB
\-\
-prolog\fR parameter.
.TP
.TP
\fBSwitchType\fR
\fBSwitchType\fR
Identifies the type of switch or interconnect used for application
Identifies the type of switch or interconnect used for application
...
@@ -452,8 +452,9 @@ If running jobs exist at the time \fBslurmctld\fR is restarted with a new
...
@@ -452,8 +452,9 @@ If running jobs exist at the time \fBslurmctld\fR is restarted with a new
value of \fBSwitchType\fR, records of all jobs in any state may be lost.
value of \fBSwitchType\fR, records of all jobs in any state may be lost.
.TP
.TP
\fBTaskEpilog\fR
\fBTaskEpilog\fR
Fully qualified pathname of a program to be execute as user root after
Fully qualified pathname of a program to be execute as the slurm job's
termination of each task.
owner after termination of each task.
See \fBTaskPlugin\fR for execution order details.
.TP
.TP
\fBTaskPlugin\fR
\fBTaskPlugin\fR
Identifies the type of task launch plugin, typically used to provide
Identifies the type of task launch plugin, typically used to provide
...
@@ -462,10 +463,32 @@ processors).
...
@@ -462,10 +463,32 @@ processors).
Acceptable values include
Acceptable values include
"task/none" for systems requiring no special handling.
"task/none" for systems requiring no special handling.
The default value is "task/none".
The default value is "task/none".
The order of task prolog/epilog execution is as follows:
.RS
.TP
\fB1. pre_launch()\fR: function in TaskPlugin
.TP
\fB2. TaskProlog\fR: system\-wide per task program defined in slurm.conf
.TP
\fB3. user prolog\fR: job step specific task program defined using
\fBsrun\fR's \fB\-\-task\-prolog\fR option or \fBSLURM_TASK_PROLOG\fR
environment variable
.TP
\fB4.\fR Execute the job step's task
.TP
\fB5. user epilog\fR: job step specific task program defined using
\fBsrun\fR's \fB\-\-task\-epilog\fR option or \fBSLURM_TASK_EPILOG\fR
environment variable
.TP
\fB6. TaskEpilog\fR: system\-wide per task program defined in slurm.conf
.TP
\fB7. post_term()\fR: function in TaskPlugin
.RE
.TP
.TP
\fBTaskProlog\fR
\fBTaskProlog\fR
Fully qualified pathname of a program to be execute as user root prior to
Fully qualified pathname of a program to be execute as the slurm job's
initiation of each task.
owner prior to initiation of each task.
See \fBTaskPlugin\fR for execution order details.
.TP
.TP
\fBTmpFS\fR
\fBTmpFS\fR
Fully qualified pathname of the file system available to user jobs for
Fully qualified pathname of the file system available to user jobs for
...
...
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