#1999: Make TerminationTrigger listen to signals ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: reviewed_ok Priority: optional | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: TerminationTrigger ------------------------------------+---------------------------------------
Comment (by hinder):
As I remember, it worked when I sent the signal to the mpiexec process directly, but not when I sent it to the controlling python (simfactory) process (apparently this is correct behaviour; simfactory needs to explicitly install a signal handler to catch it). Since that is the process that SLURM would send to, it seemed that there was still more work to be done in simfactory before this would be usable as intended. I didn't "review" the code in TerminationTrigger. I have now added comments to the pull request.