[ET Trac] [Einstein Toolkit] #1999: Make TerminationTrigger listen to signals

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Jan 17 10:01:44 CST 2017


#1999: Make TerminationTrigger listen to signals
------------------------------------+---------------------------------------
  Reporter:  rhaas                  |       Owner:                     
      Type:  enhancement            |      Status:  review             
  Priority:  optional               |   Milestone:                     
 Component:  EinsteinToolkit thorn  |     Version:  development version
Resolution:                         |    Keywords:  TerminationTrigger 
------------------------------------+---------------------------------------

Comment (by rhaas):

 This was tested by Ian Hinder on Minerva (AEI, SLURM) which is non public
 unfortunately. Most likely it would work on other SLURM based systems (eg
 stampede, comet) as well.

 I used the do-nothing option as the default since that is what most other
 Cactus thorns do, just enabling the thorn does not yet do anything.
 Changing the default to SIGTERM would change the default behaviour of
 TerminationTrigger as there is no equivalent of a
 {{{termination_from_file}}} option. So if we change to SIGTERM as the
 default signal I think we need to introduce a
 {{{termination_from_signal}}} which must default to false.

 Even without the preemption support it can be useful to trap eg CTRL-C for
 a clean shutdown or as a faster alternative to a termination file.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1999#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list