Skip to content
Snippets Groups Projects
Commit d746ca6f authored by Morris Jette's avatar Morris Jette
Browse files

More prolog/epilog documenation

parent 26db2c81
No related branches found
No related tags found
No related merge requests found
......@@ -299,10 +299,22 @@ defined points.</p>
<p><a href="spank.html">SPANK</a> is another mechanism that may be useful
to invoke logic in the user commands, slurmd daemon, and slurmstepd daemon.</p>
<h3>Failure Handling</h3>
<p>If the Epilog fails (returns a non-zero exit code), this will result in the
node being set to a DOWN state.
If the PrologSlurmctld fails (returns a non-zero exit code), this will only
be logged.
If the Prolog fails (returns a non-zero exit code), this will result in the
node being set to a DOWN state and the job requeued to executed on another node.
If the PrologSlurmctld fails (returns a non-zero exit code), this will result
in the job requeued to executed on another node if possible. Only batch jobs
can be requeued. Interactive jobs (salloc and srun) will be cancelled if the
PrologSlurmctld fails.</p>
<HR SIZE=4>
<p>Based upon work by Jason Sollom, Cray Inc. and used by permission.</p>
<p style="text-align:center;">Last modified 24 September 2012</p>
<p style="text-align:center;">Last modified 19 November 2012</p>
<!--#include virtual="footer.txt"-->
......@@ -3093,6 +3093,18 @@ from an allocation are run on a node, it will never run the Prolog for that
allocation. The Epilog, on the other hand, always runs on every node of an
allocation when the allocation is released.
If the Epilog fails (returns a non\-zero exit code), this will result in the
node being set to a DOWN state.
If the EpilogSlurmctld fails (returns a non\-zero exit code), this will only
be logged.
If the Prolog fails (returns a non\-zero exit code), this will result in the
node being set to a DOWN state and the job requeued to executed on another node.
If the PrologSlurmctld fails (returns a non\-zero exit code), this will result
in the job requeued to executed on another node if possible. Only batch jobs
can be requeued. Interactive jobs (salloc and srun) will be cancelled if the
PrologSlurmctld fails.
Information about the job is passed to the script using environment
variables.
Unless otherwise specified, these environment variables are available
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment