Skip to content
Snippets Groups Projects
Commit 3c2be97b authored by Danny Auble's avatar Danny Auble
Browse files

Make it so env var SLURM_SRUN_COMM_HOST is overwritten if already in existance in the slurmd.

parent 5f86066a
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@ documents those changes that are of interest to users and admins.
current version of slurm installed on system when building against the api.
-- Patch from Matthieu Hautreux that adds an entry into the error file when
a job or step receives a TERM or KILL signal.
-- Make it so env var SLURM_SRUN_COMM_HOST is overwritten if already in
existance in the slurmd.
* Changes in SLURM 2.1.0-pre8
=============================
......
......@@ -840,7 +840,10 @@ _rpc_launch_tasks(slurm_msg_t *msg)
slurm_get_ip_str(cli, &port, host, sizeof(host));
info("launch task %u.%u request from %u.%u@%s (port %hu)", req->job_id,
req->job_step_id, req->uid, req->gid, host, port);
env_array_append(&req->env, "SLURM_SRUN_COMM_HOST", host);
/* this could be set previously and needs to be overwritten by
this call for messages to work correctly for the new call */
env_array_overwrite(&req->env, "SLURM_SRUN_COMM_HOST", host);
req->envc = envcount(req->env);
first_job_run = !slurm_cred_jobid_cached(conf->vctx, req->job_id);
......
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