Skip to content

Commit 987557a

Browse files
cvizinogaijin03
authored andcommitted
Rename KILL_JOB_ARRAY to KILL_ARRAY_TASK
The previous name was not being used. The new one will be used to indicate that a meta array job should be operated on as a single job. Bug 17638
1 parent 3231644 commit 987557a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

slurm/slurm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3589,7 +3589,7 @@ typedef struct job_step_kill_msg {
35893589
* NOTE: See _signal_batch_job() controller and _rpc_signal_tasks() in slurmd.
35903590
*/
35913591
#define KILL_JOB_BATCH SLURM_BIT(0) /* signal batch shell only */
3592-
#define KILL_JOB_ARRAY SLURM_BIT(1) /* kill all elements of a job array */
3592+
#define KILL_ARRAY_TASK SLURM_BIT(1) /* kill single task of a job array */
35933593
#define KILL_STEPS_ONLY SLURM_BIT(2) /* Do not signal batch script */
35943594
#define KILL_FULL_JOB SLURM_BIT(3) /* Signal all steps, including batch
35953595
* script */

src/plugins/data_parser/v0.0.39/parsers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5927,7 +5927,7 @@ static const flag_bit_t PARSER_FLAG_ARRAY(OPEN_MODE)[] = {
59275927

59285928
static const flag_bit_t PARSER_FLAG_ARRAY(WARN_FLAGS)[] = {
59295929
add_flag_bit(KILL_JOB_BATCH, "BATCH_JOB"),
5930-
add_flag_bit(KILL_JOB_ARRAY, "ARRAY_JOB"),
5930+
add_flag_bit(KILL_ARRAY_TASK, "ARRAY_TASK"),
59315931
add_flag_bit(KILL_STEPS_ONLY, "FULL_STEPS_ONLY"),
59325932
add_flag_bit(KILL_FULL_JOB, "FULL_JOB"),
59335933
add_flag_bit(KILL_FED_REQUEUE, "FEDERATION_REQUEUE"),

0 commit comments

Comments
 (0)