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

Fix PMI support in slaunch by getting the correct byte order in the port num.

parent 2492df99
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ int slurm_step_launch (slurm_step_ctx ctx, ...@@ -179,7 +179,7 @@ int slurm_step_launch (slurm_step_ctx ctx,
env_array_for_step(&env, env_array_for_step(&env,
ctx->step_resp, ctx->step_resp,
launcher_hostname, launcher_hostname,
ctx->launch_state->resp_port[0], htons(ctx->launch_state->resp_port[0]),
ent->h_addr_list[0]); ent->h_addr_list[0]);
xfree(launcher_hostname); xfree(launcher_hostname);
} }
......
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