Skip to content
Snippets Groups Projects
Commit d2d92060 authored by Morris Jette's avatar Morris Jette
Browse files

Manual job resume bookkeeping fix

If a suspended job is manually resumed and gang scheduling is
configured, but no time slices are available for the job being
resumed, then just resume it without adding it to a time slice.
The jobs previously running on those nodes will be replaced with
new jobs as resources become available and the resumed job will
basically be treated like a stray job.
bug 2031
parent c82abd9c
No related branches found
No related tags found
No related merge requests found
......@@ -875,11 +875,10 @@ static int _add_job_to_res(struct job_record *job_ptr, int action)
/* Job started or resumed and it's allocated resources
* are already in use by some other job. Typically due
* to manually resuming a job. */
error("cons_res: ERROR: job overflow: "
error("cons_res: job overflow: "
"could not find idle resources for job %u",
job_ptr->job_id);
/* just add the job to the last row for now */
_add_job_to_row(job, &(p_ptr->row[p_ptr->num_rows-1]));
/* No row available to record this job */
}
/* update the node state */
for (i = 0, n = -1; i < select_node_cnt; i++) {
......
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