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

NRT - initialize missing variables when the PMD is starting a job

parent 7015345e
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,7 @@ documents those changes that are of interest to users and admins. ...@@ -46,6 +46,7 @@ documents those changes that are of interest to users and admins.
-- NRT - Fix possible memory leak if using multiple adapters. -- NRT - Fix possible memory leak if using multiple adapters.
-- NRT - Fix issue where there are more than NRT_MAXADAPTERS on a system. -- NRT - Fix issue where there are more than NRT_MAXADAPTERS on a system.
-- NRT - Increase Max number of adapters from 8 -> 9 -- NRT - Increase Max number of adapters from 8 -> 9
-- NRT - initialize missing variables when the PMD is starting a job
* Changes in Slurm 2.6.6 * Changes in Slurm 2.6.6
======================== ========================
......
...@@ -169,6 +169,9 @@ static int _unpack_srun_ctx(slurm_step_ctx_t **step_ctx, Buf buffer) ...@@ -169,6 +169,9 @@ static int _unpack_srun_ctx(slurm_step_ctx_t **step_ctx, Buf buffer)
if (rc != SLURM_SUCCESS) if (rc != SLURM_SUCCESS)
goto unpack_error; goto unpack_error;
ctx->job_id = ctx->step_req->job_id;
ctx->user_id = ctx->step_req->user_id;
safe_unpack32(&tmp_32, buffer); safe_unpack32(&tmp_32, buffer);
ctx->launch_state = step_launch_state_create(ctx); ctx->launch_state = step_launch_state_create(ctx);
ctx->launch_state->slurmctld_socket_fd = tmp_32; ctx->launch_state->slurmctld_socket_fd = tmp_32;
...@@ -239,6 +242,8 @@ static srun_job_t * _unpack_srun_job_rec(Buf buffer) ...@@ -239,6 +242,8 @@ static srun_job_t * _unpack_srun_job_rec(Buf buffer)
host_ptr++; host_ptr++;
} }
slurm_step_ctx_params_t_init(&job_data->ctx_params);
return job_data; return job_data;
unpack_error: unpack_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