1
1
openmpi/orte/mca/ess
Nathan Hjelm 110840fc87 ess/hnp: add support for forwarding additional signals (#2712)
* ess/hnp: add support for forwarding additional signals

This commit adds support to the hnp ess module to forward additional
signals beyond the default SIGUSR1, SIGUSR2, SIGSTP, and SIGCONT.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>

* Generalize this a bit to allow a broader range of signals to be forwarded. Turns out that SIGURG is now a "standard" signal, though the value differs across systems. So setup to forward it (and some friends) if they are defined. Allow users to provide the signal name (instead of the integer value) as the value of even the more common signals does vary across systems. Don't limit the number that can be supported.

Signed-off-by: Ralph Castain <rhc@open-mpi.org>

* ess/hnp: fix some bugs in the signal forwarding code

This commit fixes two bugs:

 - signals_set needs to be set even if no signals are being
   forwarded. If it is not set we will SEGV in libevent if
   ess_hnp_forward_signals == none.

 - SIGTERM and SIGHUP are handled with a different type of handler. Do
   not allow the user to specify these to be forwarded.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>

* We are sure to get "dinged" if error messages aren't nicely output via show_help, so do so here

Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2017-01-12 10:09:41 -07:00
..
alps pmix/cray: fix disable-dlopen problem 2016-11-21 13:45:10 -06:00
base Only instantiate the HWLOC topology in an MPI process if it actually will be used. 2016-12-29 10:33:29 -08:00
env Integrate PMIx 1.0 with OMPI. 2015-08-29 16:04:10 -07:00
hnp ess/hnp: add support for forwarding additional signals (#2712) 2017-01-12 10:09:41 -07:00
lsf add missing include file 2016-03-03 13:46:28 +09:00
pmi ess/pmi: plug a memory leak 2017-01-06 15:38:45 +09:00
singleton Remove stale global variables 2017-01-02 14:04:24 -08:00
slurm more c99 updates 2015-06-25 10:14:13 -06:00
tm Don't be so prescriptive about the ess component to be used - we just need to protect against the proc incorrectly taking the singleton component, so rule that one out. Ensure that the other components understand that they are only for use by daemons. 2015-12-09 19:54:44 -08:00
tool Provide a mechanism by which a tool can request async progress thread support for ORTE 2015-12-04 08:26:57 -08:00
ess.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00