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
ff1a1c8b
Commit
ff1a1c8b
authored
15 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
correctly handle static block definitions when multiple midplanes are set on a single line
parent
baaa996b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/select/bluegene/plugin/bg_record_functions.c
+15
-1
15 additions, 1 deletion
src/plugins/select/bluegene/plugin/bg_record_functions.c
with
15 additions
and
1 deletion
src/plugins/select/bluegene/plugin/bg_record_functions.c
+
15
−
1
View file @
ff1a1c8b
...
...
@@ -808,6 +808,8 @@ extern int add_bg_record(List records, List used_nodes, blockreq_t *blockreq,
bg_record
->
bg_block_list
=
NULL
;
}
}
else
{
List
bg_block_list
=
NULL
;
debug
(
"add_bg_record: adding a small block"
);
if
(
no_check
)
goto
no_check
;
...
...
@@ -900,13 +902,25 @@ extern int add_bg_record(List records, List used_nodes, blockreq_t *blockreq,
* Here we go through each node listed and do the same thing
* for each node.
*/
itr
=
list_iterator_create
(
bg_record
->
bg_block_list
);
bg_block_list
=
bg_record
->
bg_block_list
;
bg_record
->
bg_block_list
=
list_create
(
NULL
);
itr
=
list_iterator_create
(
bg_block_list
);
while
((
ba_node
=
list_next
(
itr
))
!=
NULL
)
{
xfree
(
bg_record
->
nodes
);
bg_record
->
nodes
=
xstrdup_printf
(
"%s%c%c%c"
,
bg_conf
->
slurm_node_prefix
,
alpha_num
[
ba_node
->
coord
[
X
]],
alpha_num
[
ba_node
->
coord
[
Y
]],
alpha_num
[
ba_node
->
coord
[
Z
]]);
list_append
(
bg_record
->
bg_block_list
,
ba_node
);
handle_small_record_request
(
records
,
blockreq
,
bg_record
,
io_start
);
list_flush
(
bg_record
->
bg_block_list
);
}
list_iterator_destroy
(
itr
);
destroy_bg_record
(
bg_record
);
list_destroy
(
bg_block_list
);
}
return
SLURM_SUCCESS
;
...
...
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