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
dba68ac1
Commit
dba68ac1
authored
13 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BGQ - added support for checking of a nodeboard in meta state instead of
ignoring all nodeboards in error state.
parent
5e20ef20
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/bl_bgq/bridge_status.cc
+8
-6
8 additions, 6 deletions
src/plugins/select/bluegene/bl_bgq/bridge_status.cc
with
8 additions
and
6 deletions
src/plugins/select/bluegene/bl_bgq/bridge_status.cc
+
8
−
6
View file @
dba68ac1
...
@@ -640,13 +640,15 @@ static void _handle_midplane_update(ComputeHardware::ConstPtr bgq,
...
@@ -640,13 +640,15 @@ static void _handle_midplane_update(ComputeHardware::ConstPtr bgq,
for
(
i
=
0
;
i
<
16
;
i
++
)
{
for
(
i
=
0
;
i
<
16
;
i
++
)
{
NodeBoard
::
ConstPtr
nb_ptr
=
bridge_get_nodeboard
(
mp_ptr
,
i
);
NodeBoard
::
ConstPtr
nb_ptr
=
bridge_get_nodeboard
(
mp_ptr
,
i
);
/* FIXME: the Hardware::Error can/should be taken away after
/* When a cnode is in error state a nodeboard is also
IBM fixes it so when a cnode is in an error state
set in an error state. Since we want to track on
it doesn't put the nodeboard in an error state as
the cnode level and not the nodeboard level we can
well.
use the isMetaState option that will tell me of
this state. If it isn't set then the nodeboard
itself is in an error state so procede.
*/
*/
if
(
nb_ptr
&&
(
nb_ptr
->
g
etState
()
!=
Hardware
::
Available
)
if
(
nb_ptr
&&
!
nb_ptr
->
isM
et
a
State
()
&&
(
nb_ptr
->
getState
()
!=
Hardware
::
Error
))
&&
(
nb_ptr
->
getState
()
!=
Hardware
::
Available
))
_handle_bad_nodeboard
(
_handle_bad_nodeboard
(
nb_ptr
->
getLocation
().
substr
(
7
,
3
).
c_str
(),
nb_ptr
->
getLocation
().
substr
(
7
,
3
).
c_str
(),
ba_mp
->
coord_str
,
nb_ptr
->
getState
());
ba_mp
->
coord_str
,
nb_ptr
->
getState
());
...
...
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