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

Ignore network option on cray step allocation

Advise user to specify network option at job allocation time on
Cray systems rather than within a job step.
bug 741
parent 976e2d2b
No related branches found
No related tags found
No related merge requests found
......@@ -523,6 +523,13 @@ extern void create_srun_job(srun_job_t **p_job, bool *got_alloc,
"within an existing job. Set specialized cores "
"at job allocation time.");
}
#ifdef HAVE_NATIVE_CRAY
if (opt.network) {
error("Ignoring --network value for a job step "
"within an existing job. Set network options "
"at job allocation time.");
}
#endif
if (opt.alloc_nodelist == NULL)
opt.alloc_nodelist = xstrdup(resp->node_list);
if (opt.exclusive)
......
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