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
5d46cd59
Commit
5d46cd59
authored
15 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
no change in logic, just split up long lines
parent
441c691c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/plugstack.c
+5
-3
5 additions, 3 deletions
src/common/plugstack.c
with
5 additions
and
3 deletions
src/common/plugstack.c
+
5
−
3
View file @
5d46cd59
...
...
@@ -16,7 +16,7 @@
* any later version.
*
* In addition, as a special exception, the copyright holders give permission
* to link the code of portions of this program with the OpenSSL library under
* to link the code of portions of this program with the OpenSSL library under
* certain conditions as described in each individual source file, and
* distribute linked combinations including the two. You must obey the GNU
* General Public License in all respects for all of the code used other than
...
...
@@ -1639,7 +1639,8 @@ spank_err_t spank_get_item(spank_t spank, spank_item_t item, ...)
p2uint32
=
va_arg
(
vargs
,
uint32_t
*
);
if
(
spank_ctx
==
S_TYPE_LOCAL
)
{
if
(
launcher_job
->
step_layout
)
*
p2uint32
=
launcher_job
->
step_layout
->
node_cnt
;
*
p2uint32
=
launcher_job
->
step_layout
->
node_cnt
;
else
{
*
p2uint32
=
0
;
rc
=
ESPANK_ENV_NOEXIST
;
...
...
@@ -1659,7 +1660,8 @@ spank_err_t spank_get_item(spank_t spank, spank_item_t item, ...)
p2uint32
=
va_arg
(
vargs
,
uint32_t
*
);
if
(
spank_ctx
==
S_TYPE_LOCAL
)
{
if
(
launcher_job
->
step_layout
)
*
p2uint32
=
launcher_job
->
step_layout
->
task_cnt
;
*
p2uint32
=
launcher_job
->
step_layout
->
task_cnt
;
else
{
*
p2uint32
=
0
;
rc
=
ESPANK_ENV_NOEXIST
;
...
...
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