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
2043f7e6
Commit
2043f7e6
authored
15 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
fix for unused variables on bluegene systems
parent
177cf507
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/api/job_info.c
+10
-10
10 additions, 10 deletions
src/api/job_info.c
with
10 additions
and
10 deletions
src/api/job_info.c
+
10
−
10
View file @
2043f7e6
...
...
@@ -125,21 +125,12 @@ slurm_print_job_info ( FILE* out, job_info_t * job_ptr, int one_liner )
extern
char
*
slurm_sprint_job_info
(
job_info_t
*
job_ptr
,
int
one_liner
)
{
bitstr_t
*
core_bitmap
;
int
abs_node_inx
,
rel_node_inx
;
int
bit_inx
,
bit_reps
;
int
i
,
j
,
last
;
int
sock_inx
,
sock_reps
;
char
last_hosts
[
128
];
int
i
,
j
;
char
time_str
[
32
],
select_buf
[
122
],
*
group_name
,
*
user_name
;
char
tmp1
[
128
],
tmp2
[
128
],
*
tmp3_ptr
;
char
tmp_line
[
512
];
char
*
host
;
char
*
ionodes
=
NULL
;
hostlist_t
hl
,
hl_last
;
uint16_t
exit_status
=
0
,
term_sig
=
0
;
uint32_t
*
last_mem_alloc_ptr
=
NULL
;
uint32_t
last_mem_alloc
=
NO_VAL
;
select_job_res_t
*
select_job_res
=
job_ptr
->
select_job_res
;
char
*
out
=
NULL
;
...
...
@@ -149,6 +140,15 @@ slurm_sprint_job_info ( job_info_t * job_ptr, int one_liner )
SELECT_JOBDATA_IONODES
,
&
ionodes
);
#else
bitstr_t
*
core_bitmap
;
char
*
host
;
int
sock_inx
,
sock_reps
,
last
;
int
abs_node_inx
,
rel_node_inx
;
int
bit_inx
,
bit_reps
;
uint32_t
*
last_mem_alloc_ptr
=
NULL
;
uint32_t
last_mem_alloc
=
NO_VAL
;
char
last_hosts
[
128
];
hostlist_t
hl
,
hl_last
;
char
*
nodelist
=
"NodeList"
;
#endif
...
...
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