Skip to content
Snippets Groups Projects
Commit 72224bf2 authored by Danny Auble's avatar Danny Auble
Browse files

changed code back to original so regression whould work. It appears...

changed code back to original so regression whould work.  It appears job_min_cpus really means min cpus per node not job min cpus.
parent 669cd3e9
No related branches found
No related tags found
No related merge requests found
......@@ -1125,7 +1125,7 @@ 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->max_nodes = job_desc->min_nodes;
}
/* make sure if the user only specified num_procs to
set min_nodes correctly
*/
......@@ -1202,7 +1202,7 @@ extern int select_p_alter_node_cnt(enum select_node_cnt type, void *data)
job_desc->min_nodes = 1;
#endif
}
job_desc->job_min_cpus = job_desc->num_procs;
//job_desc->job_min_cpus = job_desc->num_procs;
if(job_desc->max_nodes > bg_conf->bp_node_cnt) {
tmp = job_desc->max_nodes % bg_conf->bp_node_cnt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment