Created attachment 14455 [details] slurm-19.05.3.patch We're requesting info about threads per core from slurm_job_cpus_allocated_str_on_node_id function by our golang agent. And we're getting an error. Here's the patch which helped us: ``` diff -Naur slurm/src/api/job_info.c slurm-19.05.3/src/api/job_info.c --- slurm/src/api/job_info.c 2019-11-27 09:44:27.244501674 +0000 +++ slurm-19.05.3/src/api/job_info.c 2019-11-27 10:00:33.123122670 +0000 @@ -1771,8 +1771,10 @@ /* get the number of threads per core on this node */ + _load_node_info(); if (job_node_ptr) threads = job_node_ptr->node_array[node_id].threads; + _free_node_info(); cpu_bitmap = bit_alloc(bit_reps * threads); for (j = 0; j < bit_reps; j++) { if (bit_test(job_resrcs_ptr->core_bitmap, bit_inx)){ ```