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
aca141d5
Commit
aca141d5
authored
15 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
fix to handle user only sending in a proc count instead of a node count on bluegene
parent
abe2038c
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/plugin/bg_block_info.c
+5
-1
5 additions, 1 deletion
src/plugins/select/bluegene/plugin/bg_block_info.c
src/plugins/select/bluegene/plugin/select_bluegene.c
+9
-1
9 additions, 1 deletion
src/plugins/select/bluegene/plugin/select_bluegene.c
with
14 additions
and
2 deletions
src/plugins/select/bluegene/plugin/bg_block_info.c
+
5
−
1
View file @
aca141d5
...
@@ -191,7 +191,11 @@ extern int block_ready(struct job_record *job_ptr)
...
@@ -191,7 +191,11 @@ extern int block_ready(struct job_record *job_ptr)
else
else
rc
=
READY_JOB_ERROR
;
/* try again */
rc
=
READY_JOB_ERROR
;
/* try again */
}
else
{
}
else
{
error
(
"block_ready: block %s not in bg_lists->main."
,
/* This means the block has been removed and
is no longer valid. This could happen
often during an epilog on a busy system.
*/
debug2
(
"block_ready: block %s not in bg_lists->main."
,
block_id
);
block_id
);
rc
=
READY_JOB_FATAL
;
/* fatal error */
rc
=
READY_JOB_FATAL
;
/* fatal error */
}
}
...
...
This diff is collapsed.
Click to expand it.
src/plugins/select/bluegene/plugin/select_bluegene.c
+
9
−
1
View file @
aca141d5
...
@@ -1123,6 +1123,7 @@ extern int select_p_alter_node_cnt(enum select_node_cnt type, void *data)
...
@@ -1123,6 +1123,7 @@ extern int select_p_alter_node_cnt(enum select_node_cnt type, void *data)
if
(
job_desc
->
min_nodes
==
(
uint32_t
)
NO_VAL
)
if
(
job_desc
->
min_nodes
==
(
uint32_t
)
NO_VAL
)
return
SLURM_SUCCESS
;
return
SLURM_SUCCESS
;
get_select_jobinfo
(
job_desc
->
select_jobinfo
,
get_select_jobinfo
(
job_desc
->
select_jobinfo
,
SELECT_JOBDATA_GEOMETRY
,
&
req_geometry
);
SELECT_JOBDATA_GEOMETRY
,
&
req_geometry
);
...
@@ -1135,7 +1136,14 @@ extern int select_p_alter_node_cnt(enum select_node_cnt type, void *data)
...
@@ -1135,7 +1136,14 @@ extern int select_p_alter_node_cnt(enum select_node_cnt type, void *data)
job_desc
->
min_nodes
*=
bg_conf
->
bp_node_cnt
;
job_desc
->
min_nodes
*=
bg_conf
->
bp_node_cnt
;
job_desc
->
max_nodes
=
job_desc
->
min_nodes
;
job_desc
->
max_nodes
=
job_desc
->
min_nodes
;
}
}
/* make sure if the user only specified num_procs to
set min_nodes correctly
*/
if
(
job_desc
->
num_procs
>
job_desc
->
min_nodes
)
job_desc
->
min_nodes
=
job_desc
->
num_procs
/
bg_conf
->
proc_ratio
;
/* initialize num_procs to the min_nodes */
/* initialize num_procs to the min_nodes */
job_desc
->
num_procs
=
job_desc
->
min_nodes
*
bg_conf
->
proc_ratio
;
job_desc
->
num_procs
=
job_desc
->
min_nodes
*
bg_conf
->
proc_ratio
;
...
...
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