From 36b626af6986e9613c37bf5d87b141822787ec78 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Tue, 22 Nov 2016 15:10:41 -0700 Subject: [PATCH] Fix regession in commit 10b9fdc92 where srun -n8 -c1 --spread-job --hint=nomultithread whereami | sort -h would cause a core dump because the wrong variable was setup. --- src/slurmctld/step_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slurmctld/step_mgr.c b/src/slurmctld/step_mgr.c index 17f333a30e4..31046886b24 100644 --- a/src/slurmctld/step_mgr.c +++ b/src/slurmctld/step_mgr.c @@ -2740,7 +2740,7 @@ extern slurm_step_layout_t *step_layout_create(struct step_record *step_ptr, cpus /= threads; cpus_used /= threads; cpus_per_task_array[0] = cpus_per_task; - cpu_count_reps[0] = node_count; + cpus_task_reps[0] = node_count; } else { /* Here we are trying to figure out how many * cpus each task really needs. This really -- GitLab