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

switch/nrt, enable support for --network=sn_all or sn_single options

parent d3bf3c27
No related branches found
No related tags found
No related merge requests found
...@@ -548,6 +548,10 @@ extern int switch_p_build_jobinfo(switch_jobinfo_t *switch_job, char *nodelist, ...@@ -548,6 +548,10 @@ extern int switch_p_build_jobinfo(switch_jobinfo_t *switch_job, char *nodelist,
dev_type = NRT_HPCE; dev_type = NRT_HPCE;
} else if (!strcasecmp(type_ptr, "kmux")) { } else if (!strcasecmp(type_ptr, "kmux")) {
dev_type = NRT_KMUX; dev_type = NRT_KMUX;
} else if (!strcasecmp(type_ptr, "sn_all")) {
sn_all = true;
} else if (!strcasecmp(type_ptr, "sn_single")) {
sn_all = false;
} else { } else {
info("switch/nrt: invalid option: %s", token); info("switch/nrt: invalid option: %s", token);
err = SLURM_ERROR; err = SLURM_ERROR;
......
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