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
ac5b658c
"README.rst" did not exist on "bcf1cbab99509f43ff9efe52c90c1c933c53b35b"
Commit
ac5b658c
authored
11 years ago
by
David Bigagli
Browse files
Options
Downloads
Plain Diff
Merge remote branch 'origin/slurm-2.6'
parents
304fa322
55d220ce
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
NEWS
+4
-0
4 additions, 0 deletions
NEWS
src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c
+15
-12
15 additions, 12 deletions
src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c
with
19 additions
and
12 deletions
NEWS
+
4
−
0
View file @
ac5b658c
...
...
@@ -42,6 +42,10 @@ documents those changes that are of interest to users and admins.
-- Corrected the hdf5 profile user guide and the acct_gather.conf
documentation.
-- IPMI - Fix Math bug getting new wattage.
-- Corrected the AcctGatherProfileType documentation in slurm.conf
-- Corrected the sh5util program to print the header in the csv file
only once, set the debug messages at debug() level, make the argument
check case insensitive and avoid printing duplicate \n.
* Changes in Slurm 2.6.0
========================
...
...
This diff is collapsed.
Click to expand it.
src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c
+
15
−
12
View file @
ac5b658c
...
...
@@ -1074,6 +1074,7 @@ static void _extract_data()
return
;
}
nsteps
=
get_int_attribute
(
jgid_root
,
ATTR_NSTEPS
);
header
=
true
;
for
(
stepx
=
0
;
stepx
<
nsteps
;
stepx
++
)
{
if
((
params
.
step_id
!=
-
1
)
&&
(
stepx
!=
params
.
step_id
))
continue
;
...
...
@@ -1119,13 +1120,14 @@ static void _extract_data()
H5Gclose
(
jgid_node
);
if
(
!
params
.
series
||
!
strcmp
(
params
.
series
,
"*"
))
{
for
(
isx
=
0
;
isx
<
num_series
;
isx
++
)
{
_extract_node_level
(
fp
,
stepx
,
jgid_nodes
,
nnodes
,
true
,
series_names
[
isx
]);
_extract_node_level
(
fp
,
stepx
,
jgid_nodes
,
nnodes
,
header
,
series_names
[
isx
]);
header
=
false
;
}
}
else
if
(
!
strcmp
(
params
.
series
,
GRP_TASKS
)
)
{
header
=
true
;
}
else
if
(
strc
asec
mp
(
params
.
series
,
GRP_TASKS
)
==
0
||
strcasecmp
(
params
.
series
,
GRP_TASK
)
==
0
)
{
for
(
isx
=
0
;
isx
<
num_series
;
isx
++
)
{
if
(
strstr
(
series_names
[
isx
],
GRP_TASK
))
{
...
...
@@ -1138,8 +1140,9 @@ static void _extract_data()
}
}
else
{
_extract_node_level
(
fp
,
stepx
,
jgid_nodes
,
nnodes
,
true
,
params
.
series
);
nnodes
,
header
,
params
.
series
);
header
=
false
;
}
_delete_string_list
(
series_names
,
num_series
);
series_names
=
NULL
;
...
...
@@ -1168,13 +1171,13 @@ int main (int argc, char **argv)
profile_init
();
switch
(
params
.
mode
)
{
case
SH5UTIL_MODE_MERGE
:
info
(
"Merging node-step files into %s"
,
params
.
output
);
debug
(
"Merging node-step files into %s"
,
params
.
output
);
_merge_step_files
();
break
;
case
SH5UTIL_MODE_EXTRACT
:
info
(
"Extracting job data from %s into %s
\n
"
,
params
.
input
,
params
.
output
);
debug
(
"Extracting job data from %s into %s"
,
params
.
input
,
params
.
output
);
_extract_data
();
break
;
default:
...
...
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