Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
51a39c07
Commit
51a39c07
authored
7 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix perl API for sbcast pack job support
parent
479824c2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contribs/perlapi/libslurm/perl/Slurm.xs
+3
-1
3 additions, 1 deletion
contribs/perlapi/libslurm/perl/Slurm.xs
doc/html/heterogeneous_jobs.shtml
+4
-2
4 additions, 2 deletions
doc/html/heterogeneous_jobs.shtml
with
7 additions
and
3 deletions
contribs/perlapi/libslurm/perl/Slurm.xs
+
3
−
1
View file @
51a39c07
...
@@ -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);
...
...
This diff is collapsed.
Click to expand it.
doc/html/heterogeneous_jobs.shtml
+
4
−
2
View file @
51a39c07
...
@@ -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 2
4
August 2017</p>
<p style="text-align:center;">Last modified 2
5
August 2017</p>
<!--#include virtual="footer.txt"-->
<!--#include virtual="footer.txt"-->
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment