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

Fix perl API for sbcast pack job support

parent 479824c2
No related branches found
No related tags found
No related merge requests found
...@@ -581,13 +581,15 @@ slurm_sbcast_lookup(slurm_t self, uint32_t job_id, uint32_t step_id) ...@@ -581,13 +581,15 @@ slurm_sbcast_lookup(slurm_t self, uint32_t job_id, uint32_t step_id)
PREINIT: PREINIT:
job_sbcast_cred_msg_t *info; job_sbcast_cred_msg_t *info;
int rc; int rc;
uint32_t pack_job_offset = NO_VAL;
CODE: CODE:
if (self); /* this is needed to avoid a warning about if (self); /* this is needed to avoid a warning about
unused variables. But if we take slurm_t self unused variables. But if we take slurm_t self
out of the mix Slurm-> doesn't work, out of the mix Slurm-> doesn't work,
only Slurm:: only Slurm::
*/ */
rc = slurm_sbcast_lookup(job_id, step_id, &info); rc = slurm_sbcast_lookup(job_id, pack_job_offset, step_id,
&info);
if (rc == SLURM_SUCCESS) { if (rc == SLURM_SUCCESS) {
RETVAL = newHV(); RETVAL = newHV();
sv_2mortal((SV*)RETVAL); sv_2mortal((SV*)RETVAL);
......
...@@ -474,6 +474,8 @@ components of a heterogeneous job.</p> ...@@ -474,6 +474,8 @@ components of a heterogeneous job.</p>
<p>Heterogeneous jobs are not supported on IBM PE systems.</p> <p>Heterogeneous jobs are not supported on IBM PE systems.</p>
<p>Slurm's PERL APIs currently do not support heterogeneous jobs.</p>
<h2><a name="sys_admin">System Administrator Information</a></h2> <h2><a name="sys_admin">System Administrator Information</a></h2>
<p>The job submit plugin is invoked independently for each component of a <p>The job submit plugin is invoked independently for each component of a
...@@ -543,13 +545,13 @@ core, socket or node. ...@@ -543,13 +545,13 @@ core, socket or node.
Each component of a heterogeneous job counts as a "job" with respect to Each component of a heterogeneous job counts as a "job" with respect to
resource limits.</p> resource limits.</p>
For example, a user might have a limit of 2 concurrent running jobs and submit <p>For example, a user might have a limit of 2 concurrent running jobs and submit
a heterogeneous job with 3 components. a heterogeneous job with 3 components.
Such a situation will have an adverse effect upon scheduling other jobs, Such a situation will have an adverse effect upon scheduling other jobs,
especially other heterogeneous jobs.</p> especially other heterogeneous jobs.</p>
<p class="footer"><a href="#top">top</a></p> <p class="footer"><a href="#top">top</a></p>
<p style="text-align:center;">Last modified 24 August 2017</p> <p style="text-align:center;">Last modified 25 August 2017</p>
<!--#include virtual="footer.txt"--> <!--#include virtual="footer.txt"-->
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