Skip to content
Snippets Groups Projects
Commit fdc9e9a3 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Search for the position-independant bulk_xfer flag in the network string

parent e6823d9a
No related branches found
No related tags found
No related merge requests found
...@@ -339,7 +339,8 @@ int switch_p_build_jobinfo(switch_jobinfo_t switch_job, char *nodelist, ...@@ -339,7 +339,8 @@ int switch_p_build_jobinfo(switch_jobinfo_t switch_job, char *nodelist,
"nor sn_single"); "nor sn_single");
return SLURM_ERROR; return SLURM_ERROR;
} }
if(network[strlen(network)-1] == '1') if (strstr(network, "bulk_xfer")
|| strstr(network, "BULK_XFER"))
bulk_xfer = 1; bulk_xfer = 1;
err = fed_build_jobinfo((fed_jobinfo_t *)switch_job, list, err = fed_build_jobinfo((fed_jobinfo_t *)switch_job, list,
nprocs, cyclic_alloc, sn_all, nprocs, cyclic_alloc, sn_all,
......
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