Skip to content
Snippets Groups Projects
Commit 3dbeb79c authored by Don Lipari's avatar Don Lipari
Browse files

Fixed a bug in scontrol show job CPU output

parent addfaa0f
No related branches found
No related tags found
No related merge requests found
...@@ -337,6 +337,8 @@ slurm_sprint_job_info ( job_info_t * job_ptr, int one_liner ) ...@@ -337,6 +337,8 @@ slurm_sprint_job_info ( job_info_t * job_ptr, int one_liner )
bit_fmt(tmp1, sizeof(tmp1), core_bitmap); bit_fmt(tmp1, sizeof(tmp1), core_bitmap);
bit_free(core_bitmap); bit_free(core_bitmap);
if (tmp2[0] == '\0')
strcpy(tmp2, tmp1);
host = hostlist_shift(hl); host = hostlist_shift(hl);
/* /*
* If the allocation values for this host are not the same as the * If the allocation values for this host are not the same as the
......
...@@ -167,7 +167,7 @@ s_p_options_t slurm_conf_options[] = { ...@@ -167,7 +167,7 @@ s_p_options_t slurm_conf_options[] = {
{"EnforcePartLimits", S_P_BOOLEAN}, {"EnforcePartLimits", S_P_BOOLEAN},
{"Epilog", S_P_STRING}, {"Epilog", S_P_STRING},
{"EpilogMsgTime", S_P_UINT32}, {"EpilogMsgTime", S_P_UINT32},
{"EPilogSlurmctld", S_P_STRING}, {"EpilogSlurmctld", S_P_STRING},
{"FastSchedule", S_P_UINT16}, {"FastSchedule", S_P_UINT16},
{"FirstJobId", S_P_UINT32}, {"FirstJobId", S_P_UINT32},
{"GetEnvTimeout", S_P_UINT16}, {"GetEnvTimeout", S_P_UINT16},
......
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