We have a tool stack in which the top-level process launched by users is a wrapper that launches various vendor tools.
We need to be able to send a signal using bkill that is sent
only to the top-level wrapper and not to any child processes. This is because we don't control the signal handler behavior of the underlying tool stack, but we need for the wrapper to be able to take actions based on the signal passed to it. For example if the vendor tool receives an INT it may exit abruptly, so instead we want our wrapper to receive the INT and instruct the vendor tool to exit gracefully.
Is there any way for us configure LSF (ideally on a per-job basis) to cause bkill to send signals
only to the tool launched via the bsub command, and not to that tool's child processes?
------------------------------
Sam Huffman
------------------------------
#SpectrumComputingGroup