Skip to content
Snippets Groups Projects
Commit 70da2d61 authored by Nathan Yee's avatar Nathan Yee Committed by Danny Auble
Browse files

update select plugin to be correct

parent 68e797cd
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ if (<i>select_p_job_test</i>(all available nodes) != SLURM_SUCCESS) {
/* leave the job queued for later execution */
else {
while (!<i>select_p_job_ready</i>())
wait
wait
/* execute the job */
/* wait for job to end or be terminated */
<i>select_p_job_fini</i>()
......@@ -441,7 +441,7 @@ to the select plugin specific information about a job.<br>
Call xfree() to release the memory allocated for the return value.</p>
<p class="commandline">int select_p_job_test (struct job_record *job_ptr,
bitstr_t *bitmap, int min_nodes, int max_nodes, int req_nodes, int mode,
bitstr_t *bitmap, uint32_t min_nodes, uint32_t max_nodes, uint32_t req_nodes, uint32_t mode,
List preemption_candidates, List *preempted_jobs);</p>
<p style="margin-left:.2in"><b>Description</b>: Given a job's scheduling requirement
specification and a set of nodes which might be used to satisfy the request, identify
......@@ -640,6 +640,15 @@ Pointer to the step which has completed execution.</p>
<p style="margin-left:.2in"><b>Returns</b>: SLURM_SUCCESS if successful. On failure,
the plugin should return SLURM_ERROR.</p>
<p class="commandline">int select_p_fail_cnode(struct step_record *step_ptr);</p>
<p style="margin-left:.2in"><b>Description</b>: This function fails
certain cnodes in a blocks midplane.</p>
<p style="margin-left:.2in"><b>Arguments</b>:<br>
<span class="commandline">step_ptr</span>&nbsp; &nbsp;&nbsp(input)
information on the step that has failed cnodes.</p>
<p style="margin-left:.2in"><b>Returns</b>: SLURM_SUCCESS if successful. On failure,
the plugin should return SLURM_ERROR.</p>
<p class="footer"><a href="#top">top</a></p>
......@@ -664,7 +673,7 @@ be used for an advanced reservation.</p>
<h3>Get Information Functions</h3>
<p class="commandline">int select_p_get_info_from_plugin(enum select_data_info info,
<p class="commandline">int select_p_get_info_from_plugin(enum select_plugindata_info dinfo,
struct job_record *job_ptr, void *data);</p>
<p style="margin-left:.2in"><b>Description</b>: Get plugin-specific information
about a job.</p>
......
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