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

Add a default network string for AIX

parent 3f2efeb5
No related branches found
No related tags found
No related merge requests found
...@@ -1071,11 +1071,16 @@ static void _opt_args(int argc, char **argv) ...@@ -1071,11 +1071,16 @@ static void _opt_args(int argc, char **argv)
case LONG_OPT_NETWORK: case LONG_OPT_NETWORK:
xfree(opt.network); xfree(opt.network);
opt.network = xstrdup(optarg); opt.network = xstrdup(optarg);
setenv("SLURM_NETWORK", opt.network, 1);
break; break;
} }
} }
#ifdef HAVE_AIX
if (opt.network == NULL)
opt.network = "us,sn_all,bulk_xfer";
setenv("SLURM_NETWORK", opt.network, 1);
#endif
remote_argc = 0; remote_argc = 0;
if (optind < argc) { if (optind < argc) {
rest = argv + optind; rest = argv + optind;
......
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