~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to doc/html/taskplugins.shtml

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
<ul>
19
19
<li><b>affinity</b>&#151;A plugin that implements task binding to processors.
20
20
The actual mechanism used to task binding is dependent upon the available
21
 
infrastruture as determined by the "configure" program when SLURM is built
 
21
infrastructure as determined by the "configure" program when SLURM is built
22
22
and the value of the <b>TaskPluginParam</b> as defined in the <b>slurm.conf</b>
23
23
(SLURM configuration file).</li>
24
24
<li><b>none</b>&#151;A plugin that implements the API without providing any
46
46
<p>The following functions must appear. Functions which are not implemented should 
47
47
be stubbed.</p>
48
48
 
 
49
<p class="commandline">int task_slurmd_batch_request (uint32_t job_id, 
 
50
batch_job_launch_msg_t *req);</p>
 
51
<p style="margin-left:.2in"><b>Description</b>: Prepare to launch a batch job.
 
52
Establish node, socket, and core resource availability for it.
 
53
Executed by the <b>slurmd</b> daemon as user root.</p>
 
54
<p style="margin-left:.2in"><b>Arguments</b>:<br>
 
55
<span class="commandline">job_id</span>&nbsp;&nbsp;&nbsp;(input) 
 
56
ID of the job to be started.<br>
 
57
<span class="commandline">req</span>&nbsp;&nbsp;&nbsp;(input/output)
 
58
Batch job launch request specification.
 
59
See <b>src/common/slurm_protocol_defs.h</b> for the
 
60
data structure definition.</p>
 
61
<p style="margin-left:.2in"><b>Returns</b>: SLURM_SUCCESS if successful. 
 
62
On failure, the plugin should return SLURM_ERROR and set the errno to an 
 
63
appropriate value to indicate the reason for failure.</p>
 
64
 
49
65
<p class="commandline">int task_slurmd_launch_request (uint32_t job_id, 
50
66
launch_tasks_request_msg_t *req, uint32_t node_id);</p>
51
67
<p style="margin-left:.2in"><b>Description</b>: Prepare to launch a job.
148
164
<p style="margin-left:.2in"><b>Description</b>: task_term() is called 
149
165
after termination of job step.
150
166
Executed by the <b>slurmstepd</b> program as the job's owner.
151
 
It is preceeded by <b>--task-epilog</b> (from <b>srun</b> command line)
 
167
It is preceded by <b>--task-epilog</b> (from <b>srun</b> command line)
152
168
followed by <b>TaskEpilog</b> program (as configured in <b>slurm.conf</b>).</p>
153
169
<p style="margin-left:.2in"><b>Arguments</b>:
154
170
<span class="commandline">job</span>&nbsp;&nbsp;&nbsp;(input)
164
180
Future releases of SLURM may revise this API.</p>
165
181
<p class="footer"><a href="#top">top</a></p>
166
182
 
167
 
<p style="text-align:center;">Last modified 28 May 2008</p>
 
183
<p style="text-align:center;">Last modified 19 February 2009</p>
168
184
 
169
185
<!--#include virtual="footer.txt"-->