Skip to content
Snippets Groups Projects
Commit 54727cc3 authored by Moe Jette's avatar Moe Jette
Browse files

In sched/wiki2 - Report job's tasks_per_node requirement.

parent 584fd444
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ documents those changes that are of interest to users and admins. ...@@ -5,6 +5,7 @@ documents those changes that are of interest to users and admins.
======================== ========================
-- In select/cons_res - fix for function argument type mis-match in getting -- In select/cons_res - fix for function argument type mis-match in getting
CPU count for a job, from Ernest Artiaga, BSC. CPU count for a job, from Ernest Artiaga, BSC.
-- In sched/wiki2 - Report job's tasks_per_node requirement.
* Changes in SLURM 1.2.3 * Changes in SLURM 1.2.3
======================== ========================
......
...@@ -357,6 +357,14 @@ static void _get_job_comment(struct job_record *job_ptr, ...@@ -357,6 +357,14 @@ static void _get_job_comment(struct job_record *job_ptr,
field_sep = "?"; field_sep = "?";
} }
/* TPN = tasks per node */
if (job_ptr->details && (job_ptr->details->ntasks_per_node != 0)) {
size += snprintf((buffer + size), (buf_size - size),
"%sTPN:%u", field_sep,
job_ptr->details->ntasks_per_node);
field_sep = "?";
}
/* COMMENT SET BY MOAB */ /* COMMENT SET BY MOAB */
if (job_ptr->comment && job_ptr->comment[0]) { if (job_ptr->comment && job_ptr->comment[0]) {
size += snprintf((buffer + size), (buf_size - size), size += snprintf((buffer + size), (buf_size - size),
......
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