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
33007785
Commit
33007785
authored
13 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BLUEGENE - added ba_setup_wires to the configure_api
parent
b9c4edda
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
src/plugins/select/bluegene/configure_api.c
+10
-0
10 additions, 0 deletions
src/plugins/select/bluegene/configure_api.c
src/plugins/select/bluegene/configure_api.h
+5
-0
5 additions, 0 deletions
src/plugins/select/bluegene/configure_api.h
with
15 additions
and
0 deletions
src/plugins/select/bluegene/configure_api.c
+
10
−
0
View file @
33007785
...
...
@@ -45,6 +45,7 @@ typedef struct {
void
(
*
ba_init
)
(
node_info_msg_t
*
node_info_ptr
,
bool
load_bridge
);
void
(
*
ba_fini
)
(
void
);
void
(
*
ba_setup_wires
)
(
void
);
void
(
*
reset_ba_system
)
(
bool
track_down_mps
);
void
(
*
destroy_ba_mp
)
(
void
*
ptr
);
char
*
(
*
ba_passthroughs_string
)(
uint16_t
passthrough
);
...
...
@@ -84,6 +85,7 @@ static bg_configure_api_ops_t *_get_ops(bg_configure_context_t *c)
static
const
char
*
syms
[]
=
{
"ba_init"
,
"ba_fini"
,
"ba_setup_wires"
,
"reset_ba_system"
,
"destroy_ba_mp"
,
"ba_passthroughs_string"
,
...
...
@@ -235,6 +237,14 @@ extern void bg_configure_ba_fini(void)
(
*
(
bg_configure_context
->
ops
.
ba_fini
))();
}
extern
void
bg_configure_ba_setup_wires
(
void
)
{
if
(
bg_configure_init
()
<
0
)
return
;
(
*
(
bg_configure_context
->
ops
.
ba_setup_wires
))();
}
extern
void
bg_configure_reset_ba_system
(
bool
track_down_mps
)
{
if
(
bg_configure_init
()
<
0
)
...
...
This diff is collapsed.
Click to expand it.
src/plugins/select/bluegene/configure_api.h
+
5
−
0
View file @
33007785
...
...
@@ -68,6 +68,11 @@ extern void bg_configure_ba_init(
*/
extern
void
bg_configure_ba_fini
(
void
);
/* Setup the wires on the system and the structures needed to create
* blocks. This should be called before trying to create blocks.
*/
extern
void
bg_configure_ba_setup_wires
(
void
);
/*
* Resets the virtual system to a virgin state. If track_down_mps is set
* then those midplanes are not set to idle, but kept in a down state.
...
...
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