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
f8f9db57
Commit
f8f9db57
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Correctly identify full_system_partition on non-bgl system less than 8x4x4 in size.
parent
c90e2c1d
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/bluegene.c
+9
-2
9 additions, 2 deletions
src/plugins/select/bluegene/bluegene.c
with
9 additions
and
2 deletions
src/plugins/select/bluegene/bluegene.c
+
9
−
2
View file @
f8f9db57
...
@@ -638,6 +638,7 @@ extern int create_static_partitions(List part_list)
...
@@ -638,6 +638,7 @@ extern int create_static_partitions(List part_list)
bgl_record
->
geo
[
X
],
bgl_record
->
geo
[
Y
],
bgl_record
->
geo
[
X
],
bgl_record
->
geo
[
Y
],
bgl_record
->
geo
[
Z
]);
bgl_record
->
geo
[
Z
]);
bgl_record
->
quarter
=
-
1
;
bgl_record
->
quarter
=
-
1
;
full_system_partition
=
bgl_record
;
bgl_record
->
full_partition
=
1
;
bgl_record
->
full_partition
=
1
;
if
(
bgl_found_part_list
)
{
if
(
bgl_found_part_list
)
{
itr
=
list_iterator_create
(
bgl_found_part_list
);
itr
=
list_iterator_create
(
bgl_found_part_list
);
...
@@ -736,9 +737,15 @@ no_total:
...
@@ -736,9 +737,15 @@ no_total:
if
(
bgl_list
)
{
if
(
bgl_list
)
{
itr
=
list_iterator_create
(
bgl_list
);
itr
=
list_iterator_create
(
bgl_list
);
while
((
bgl_record
=
(
bgl_record_t
*
)
list_next
(
itr
))
!=
NULL
)
{
while
((
bgl_record
=
(
bgl_record_t
*
)
list_next
(
itr
))
!=
NULL
)
{
#ifdef HAVE_BGL_FILES
if
((
bgl_record
->
geo
[
X
]
==
DIM_SIZE
[
X
])
if
((
bgl_record
->
geo
[
X
]
==
DIM_SIZE
[
X
])
&&
(
bgl_record
->
geo
[
Y
]
==
DIM_SIZE
[
Y
])
&&
(
bgl_record
->
geo
[
Y
]
==
DIM_SIZE
[
Y
])
&&
(
bgl_record
->
geo
[
Z
]
==
DIM_SIZE
[
Z
]))
{
&&
(
bgl_record
->
geo
[
Z
]
==
DIM_SIZE
[
Z
]))
{
#else
if
((
bgl_record
->
geo
[
X
]
==
max_dim
[
X
]
+
1
)
&&
(
bgl_record
->
geo
[
Y
]
==
max_dim
[
Y
]
+
1
)
&&
(
bgl_record
->
geo
[
Z
]
==
max_dim
[
Z
]
+
1
))
{
#endif
debug
(
"full partiton = %s."
,
debug
(
"full partiton = %s."
,
bgl_record
->
bgl_part_id
);
bgl_record
->
bgl_part_id
);
bgl_record
->
full_partition
=
1
;
bgl_record
->
full_partition
=
1
;
...
...
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