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
d41c81ad
Commit
d41c81ad
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Correct #if to #ifdef
parent
a59e547c
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
+3
-3
3 additions, 3 deletions
src/plugins/select/bluegene/bluegene.c
with
3 additions
and
3 deletions
src/plugins/select/bluegene/bluegene.c
+
3
−
3
View file @
d41c81ad
...
@@ -55,7 +55,7 @@ char *change_numpsets = NULL;
...
@@ -55,7 +55,7 @@ char *change_numpsets = NULL;
bool
agent_fini
=
false
;
bool
agent_fini
=
false
;
/* some local functions */
/* some local functions */
#if HAVE_BGL
#if
def
HAVE_BGL
static
int
_addto_node_list
(
bgl_record_t
*
bgl_record
,
int
*
start
,
int
*
end
);
static
int
_addto_node_list
(
bgl_record_t
*
bgl_record
,
int
*
start
,
int
*
end
);
#endif
#endif
static
void
_set_bgl_lists
();
static
void
_set_bgl_lists
();
...
@@ -510,7 +510,7 @@ extern int bgl_free_partition(pm_partition_id_t part_id)
...
@@ -510,7 +510,7 @@ extern int bgl_free_partition(pm_partition_id_t part_id)
return
SLURM_SUCCESS
;
return
SLURM_SUCCESS
;
}
}
#if HAVE_BGL
#if
def
HAVE_BGL
static
int
_addto_node_list
(
bgl_record_t
*
bgl_record
,
int
*
start
,
int
*
end
)
static
int
_addto_node_list
(
bgl_record_t
*
bgl_record
,
int
*
start
,
int
*
end
)
{
{
int
node_count
=
0
;
int
node_count
=
0
;
...
@@ -1001,7 +1001,7 @@ static int _parse_bgl_spec(char *in_line)
...
@@ -1001,7 +1001,7 @@ static int _parse_bgl_spec(char *in_line)
static
void
_process_nodes
(
bgl_record_t
*
bgl_record
)
static
void
_process_nodes
(
bgl_record_t
*
bgl_record
)
{
{
#if HAVE_BGL
#if
def
HAVE_BGL
int
j
=
0
,
number
;
int
j
=
0
,
number
;
int
start
[
PA_SYSTEM_DIMENSIONS
];
int
start
[
PA_SYSTEM_DIMENSIONS
];
int
end
[
PA_SYSTEM_DIMENSIONS
];
int
end
[
PA_SYSTEM_DIMENSIONS
];
...
...
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