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

HDF: Add "Node Index" to the node group

parent abcf2580
No related branches found
No related tags found
No related merge requests found
......@@ -367,6 +367,7 @@ extern int acct_gather_profile_p_node_step_start(stepd_step_rec_t* job)
info("PROFILE: Failed to create Node group");
return SLURM_FAILURE;
}
put_int_attribute(gid_node, ATTR_NODEINX, g_job->nodeid);
put_string_attribute(gid_node, ATTR_NODENAME, g_job->node_name);
put_int_attribute(gid_node, ATTR_NTASKS, g_job->node_tasks);
put_int_attribute(gid_node, ATTR_CPUPERTASK, g_job->cpus_per_task);
......
......@@ -65,6 +65,7 @@
#define MAX_ATTR_NAME 64
#define MAX_GROUP_NAME 64
#define ATTR_NODEINX "Node Index"
#define ATTR_NODENAME "Node Name"
#define ATTR_NSTEPS "Number of Steps"
#define ATTR_NNODES "Number of Nodes"
......
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