Signaling jobs before their allocation expires #3259
Replies: 3 comments 2 replies
-
My initial thought here is to create a job shell plugin that is in charge of setting up a timer callback and then signalling the job processes at the appropriate time. This information could be specified in jobspec via a user attribute. Maybe Strawman example: - attributes:
user:
signal:
time: 60s
number: USR1 Where time is an FSD, and number is either an int or one of the POSIX signals without the SIG prefix. |
Beta Was this translation helpful? Give feedback.
-
Yeah, a job shell plugin makes sense here. However, I would say all arguments to job shell plugins should go under |
Beta Was this translation helpful? Give feedback.
-
If we use
However, generic shell options set in this way have the drawback of no error checking until a solution for calling the job shell in "validate" mode is implemented. |
Beta Was this translation helpful? Give feedback.
-
How do we want to support the functional equivalent of Slurm's
--signal=sig_num>[@<sig_time>]
argument, which is defined as:Related work: libyogrt
Beta Was this translation helpful? Give feedback.
All reactions