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

Clarify use of job_submit/lua plugin

parent fe2f22c1
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,8 @@ The minor type can be any suitable name ...@@ -23,6 +23,8 @@ The minor type can be any suitable name
for the type of accounting package. for the type of accounting package.
We include samples in the SLURM distribution for We include samples in the SLURM distribution for
<ul> <ul>
<li><b>all_partitions</b>&#151;Set default partition to all partitions on
the cluster.</li>
<li><b>defaults</b>&#151;Set default values for job submission or modify <li><b>defaults</b>&#151;Set default values for job submission or modify
requests.</li> requests.</li>
<li><b>logging</b>&#151;Log select job submission and modification <li><b>logging</b>&#151;Log select job submission and modification
...@@ -35,7 +37,10 @@ the same location as the SLURM configuration file, <i>slurm.conf</i>.</li> ...@@ -35,7 +37,10 @@ the same location as the SLURM configuration file, <i>slurm.conf</i>.</li>
<li><b>partition</b>&#151;Sets a job's default partition based upon job <li><b>partition</b>&#151;Sets a job's default partition based upon job
submission parameters and available partitions.</li> submission parameters and available partitions.</li>
</ul> </ul>
<p>SLURM can be configured to use multiple job_submit plugins if desired. <p>SLURM can be configured to use multiple job_submit plugins if desired,
however the lua plugin will only execute one lua script named "job_submit.lua"
and located in default script directory (typically the subdirectory "etc" of
the installation directory).</p>
<p class="footer"><a href="#top">top</a> <p class="footer"><a href="#top">top</a>
...@@ -135,6 +140,6 @@ appropriate error message printed for that errno. ...@@ -135,6 +140,6 @@ appropriate error message printed for that errno.
releases of SLURM may revise this API. releases of SLURM may revise this API.
<p class="footer"><a href="#top">top</a> <p class="footer"><a href="#top">top</a>
<p style="text-align:center;">Last modified 29 April 2011</p> <p style="text-align:center;">Last modified 16 January 2013</p>
<!--#include virtual="footer.txt"--> <!--#include virtual="footer.txt"-->
...@@ -767,10 +767,14 @@ A comma delimited list of job submission plugins to be used. ...@@ -767,10 +767,14 @@ A comma delimited list of job submission plugins to be used.
The specified plugins will be executed in the order listed. The specified plugins will be executed in the order listed.
These are intended to be site\-specific plugins which can be used to set These are intended to be site\-specific plugins which can be used to set
default job parameters and/or logging events. default job parameters and/or logging events.
Sample plugins available in the distribution include "cnode", "defaults", Sample plugins available in the distribution include "all_partitions", "cnode",
"logging", "lua", and "partition". "defaults", "logging", "lua", and "partition".
For examples of use, see the SLURM code in "src/plugins/job_submit" and For examples of use, see the SLURM code in "src/plugins/job_submit" and
"contribs/lua/job_submit*.lua" then modify the code to satisfy your needs. "contribs/lua/job_submit*.lua" then modify the code to satisfy your needs.
SLURM can be configured to use multiple job_submit plugins if desired,
however the lua plugin will only execute one lua script named "job_submit.lua"
and located in default script directory (typically the subdirectory "etc" of
the installation directory).
No job submission plugins are used by default. No job submission plugins are used by default.
.TP .TP
......
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