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

BLUEGENE - make sure we only set the jobinfo_select start_loc on a job

when we are on a small block, not a regular one.
parent ea399a4c
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@ documents those changes that are of interest to users and admins.
* Changes in SLURM 2.3.0
============================
-- BLUEGENE - make sure we only set the jobinfo_select start_loc on a job
when we are on a small block, not a regular one.
* Changes in SLURM 2.3.0.rc2
============================
......
......@@ -187,17 +187,17 @@ extern int set_select_jobinfo(select_jobinfo_t *jobinfo,
if (tmp_char) {
#ifdef HAVE_BGQ
jobinfo->dim_cnt = 5;
for (i=0; i<jobinfo->dim_cnt; i++) {
jobinfo->start_loc[i] =
select_char2coord(tmp_char[i]);
}
#else
jobinfo->dim_cnt = SYSTEM_DIMENSIONS;
#endif
jobinfo->ionode_str = xstrdup(tmp_char);
} else
jobinfo->dim_cnt = SYSTEM_DIMENSIONS;
jobinfo->ionode_str = xstrdup(tmp_char);
for (i=0; i<jobinfo->dim_cnt; i++) {
jobinfo->start_loc[i] =
select_char2coord(jobinfo->ionode_str[i]);
}
break;
case SELECT_JOBDATA_NODE_CNT:
jobinfo->cnode_cnt = *uint32;
......
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