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

note when job can't be started with current configuration

parent db506d43
No related branches found
No related tags found
No related merge requests found
...@@ -189,6 +189,12 @@ static int _will_run_test(uint32_t jobid, char *hostlist, ...@@ -189,6 +189,12 @@ static int _will_run_test(uint32_t jobid, char *hostlist,
"SC=1 Job %d runnable later TASKLIST:%s", "SC=1 Job %d runnable later TASKLIST:%s",
jobid, picked_node_list); jobid, picked_node_list);
*err_msg = reply_msg; *err_msg = reply_msg;
} else if (rc == ESLURM_REQUESTED_PART_CONFIG_UNAVAILABLE) {
*err_code = 1;
snprintf(reply_msg, sizeof(reply_msg),
"SC=1 Job %d not runnable with current configuration",
jobid);
*err_msg = reply_msg;
} else { } else {
char *err_str = slurm_strerror(rc); char *err_str = slurm_strerror(rc);
error("wiki: job %d never runnable on hosts=%s %s", error("wiki: job %d never runnable on hosts=%s %s",
......
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