Hello,

I am trying to implement some graceful application shutdown in case mpirun 
receives a SIGTERM. With Open MPI 4.x, this works just fine, and SIGTERM is 
forwarded.
With Open MPI 5.x I now struggle as prte seems not to forward SIGTERM by 
default. If I try to include this in the list of SIGNALS to be forwarded, I 
get the following error

mpirun  -n 2 --forward-signals SIGTERM  stopsignal 
-------------------------------------------------------------------------- 
The system does not support trapping and forwarding of the 
specified signal: 

 signal: SIGTERM 
 param:  (null) 

Please remove that signal from the ess_base_forward_signals MCA parameter. 
--------------------------------------------------------------------------

The documentation/mpirun manpages for Open MPI 5.0 does not help here and 
seem outdated.

Any suggestions on how to get this working, or is this an issue to be 
raised on GitHub?

Thanks
Christoph

To unsubscribe from this group and stop receiving emails from it, send an email 
to users+unsubscr...@lists.open-mpi.org.

Reply via email to