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
c208b26d
Commit
c208b26d
authored
13 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BGQ - Added new error codes to the handler functions
parent
4c90953e
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_helper.cc
+10
-0
10 additions, 0 deletions
src/plugins/select/bluegene/bl_bgq/bridge_helper.cc
with
10 additions
and
0 deletions
src/plugins/select/bluegene/bl_bgq/bridge_helper.cc
+
10
−
0
View file @
c208b26d
...
...
@@ -66,6 +66,10 @@ extern int bridge_handle_database_errors(
case
bgsched
::
DatabaseErrors
::
ConnectionError
:
error
(
"%s: Can't connect to the database!"
,
function
);
break
;
case
bgsched
::
DatabaseErrors
::
UnexpectedError
:
error
(
"%s: UnexpectedError returned from the database!"
,
function
);
break
;
default:
error
(
"%s: Unexpected Database exception value %d"
,
function
,
err
);
...
...
@@ -150,6 +154,9 @@ extern int bridge_handle_input_errors(const char *function, const uint32_t err,
case
bgsched
::
InputErrors
::
InvalidNodeBoardCount
:
error
(
"%s: Invalid NodeBoard count."
,
function
);
break
;
case
bgsched
::
InputErrors
::
InvalidNodeBoardPosition
:
error
(
"%s: Invalid NodeBoard position."
,
function
);
break
;
case
bgsched
::
InputErrors
::
InvalidMidplanes
:
error
(
"%s: Invalid midplanes given."
,
function
);
break
;
...
...
@@ -251,6 +258,9 @@ extern int bridge_handle_runtime_errors(const char *function,
case
bgsched
::
RuntimeErrors
::
AuthorityError
:
error
(
"%s: Authority Error."
,
function
);
break
;
case
bgsched
::
RuntimeErrors
::
HardwareInUseError
:
error
(
"%s: Hardware in use Error."
,
function
);
break
;
default:
error
(
"%s: Unexpected Runtime exception value %d."
,
function
,
err
);
...
...
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