Skip to content
Snippets Groups Projects
Commit a7a42cf0 authored by Moe Jette's avatar Moe Jette
Browse files

Report the invalid task count that prevents a step from running.

parent 2c47679b
No related branches found
No related tags found
No related merge requests found
......@@ -673,8 +673,10 @@ step_create(job_step_create_request_msg_t *step_specs,
}
if ((step_specs->num_tasks < 1)
|| (step_specs->num_tasks > (node_count*MAX_TASKS_PER_NODE)))
|| (step_specs->num_tasks > (node_count*MAX_TASKS_PER_NODE))) {
info("step has invalid task count: %u", step_specs->num_tasks);
return ESLURM_BAD_TASK_COUNT;
}
step_ptr = create_step_record (job_ptr);
if (step_ptr == NULL)
......
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