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

Set node count in RPC to signal a batch job (gnats:477).

parent d06f36dc
No related branches found
No related tags found
No related merge requests found
...@@ -1411,6 +1411,7 @@ _signal_batch_job(struct job_record *job_ptr, uint16_t signal) ...@@ -1411,6 +1411,7 @@ _signal_batch_job(struct job_record *job_ptr, uint16_t signal)
agent_args = xmalloc(sizeof(agent_arg_t)); agent_args = xmalloc(sizeof(agent_arg_t));
agent_args->msg_type = REQUEST_KILL_TASKS; agent_args->msg_type = REQUEST_KILL_TASKS;
agent_args->retry = 1; agent_args->retry = 1;
agent_args->node_count = 1;
agent_args->slurm_addr = xmalloc(sizeof(struct sockaddr_in)); agent_args->slurm_addr = xmalloc(sizeof(struct sockaddr_in));
memcpy(agent_args->slurm_addr, &node_record_table_ptr[i].slurm_addr, memcpy(agent_args->slurm_addr, &node_record_table_ptr[i].slurm_addr,
sizeof(struct sockaddr_in)); sizeof(struct sockaddr_in));
......
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