View | Details | Raw Unified | Return to ticket 64
Collapse All | Expand All

(-)a/doc/html/selectplugins.shtml (-3 / +13 lines)
Lines 61-67 if (<i>select_p_job_test</i>(all available nodes) != SLURM_SUCCESS) { Link Here
61
      /* leave the job queued for later execution */
61
      /* leave the job queued for later execution */
62
   else {
62
   else {
63
      while (!<i>select_p_job_ready</i>())
63
      while (!<i>select_p_job_ready</i>())
64
        wait
64
	wait
65
      /* execute the job */
65
      /* execute the job */
66
      /* wait for job to end or be terminated */
66
      /* wait for job to end or be terminated */
67
      <i>select_p_job_fini</i>()
67
      <i>select_p_job_fini</i>()
Lines 318-323 description variable. Containing the block name and the state to set the block. Link Here
318
<p style="margin-left:.2in"><b>Returns</b>: SLURM_SUCCESS if successful. On failure,
318
<p style="margin-left:.2in"><b>Returns</b>: SLURM_SUCCESS if successful. On failure,
319
the plugin should return SLURM_ERROR.</p>
319
the plugin should return SLURM_ERROR.</p>
320
320
321
<p class="commandline">select_p_fail_cnode(struct step_record
322
  *step_ptr);</p>
323
<p style="margin-left:.2in"><b>Description</b>: This function fails
324
  certain cnodes in a blocks midplane.
325
<pstyle="margin-left:.2in"><b>Arguments</b>:
326
<span class="commandline">step_ptr</span>&nbsp;&nbsp;&nbsp(input)
327
information on the step that has failed cnodes.
328
<p style="margin-left:.2in"><b>Returns</b>: SLURM_SUCCESS if successful. On failure,
329
the plugin should return SLURM_ERROR.</p>
330
321
<p class="footer"><a href="#top">top</a></p>
331
<p class="footer"><a href="#top">top</a></p>
322
332
323
333
Lines 437-443 to the select plugin specific information about a job.<br> Link Here
437
Call xfree() to release the memory allocated for the return value.</p>
447
Call xfree() to release the memory allocated for the return value.</p>
438
448
439
<p class="commandline">int select_p_job_test (struct job_record *job_ptr,
449
<p class="commandline">int select_p_job_test (struct job_record *job_ptr,
440
bitstr_t *bitmap, int min_nodes, int max_nodes, int req_nodes, int mode,
450
bitstr_t *bitmap, uint32_t min_nodes, uint32_t max_nodes, uint32_t req_nodes, uint32_t mode,
441
List preemption_candidates, List *preempted_jobs);</p>
451
List preemption_candidates, List *preempted_jobs);</p>
442
<p style="margin-left:.2in"><b>Description</b>: Given a job's scheduling requirement
452
<p style="margin-left:.2in"><b>Description</b>: Given a job's scheduling requirement
443
specification and a set of nodes which might  be used to satisfy the request, identify
453
specification and a set of nodes which might  be used to satisfy the request, identify
Lines 660-666 be used for an advanced reservation.</p> Link Here
660
670
661
<h3>Get Information Functions</h3>
671
<h3>Get Information Functions</h3>
662
672
663
<p class="commandline">int select_p_get_info_from_plugin(enum select_data_info info,
673
<p class="commandline">int select_p_get_info_from_plugin(enum select_plugindata_info dinfo,
664
struct job_record *job_ptr, void *data);</p>
674
struct job_record *job_ptr, void *data);</p>
665
<p style="margin-left:.2in"><b>Description</b>: Get plugin-specific information
675
<p style="margin-left:.2in"><b>Description</b>: Get plugin-specific information
666
about a job.</p>
676
about a job.</p>

Return to ticket 64