Re: [OMPI users] Clean termination after receiving multiple SIGINT

2020-04-06 Thread Kreutzer, Moritz via users
gt; Cc: Ralph Castain mailto:r...@open-mpi.org>> Subject: Re: [OMPI users] Clean termination after receiving multiple SIGINT Currently, mpirun takes that second SIGINT to mean "you seem to be stuck trying to cleanly abort - just die", which means mpirun exits immediately without doin

Re: [OMPI users] Clean termination after receiving multiple SIGINT

2020-04-06 Thread Ralph Castain via users
to:r...@open-mpi.org> > Subject: Re: [OMPI users] Clean termination after receiving multiple SIGINT  Currently, mpirun takes that second SIGINT to mean "you seem to be stuck trying to cleanly abort - just die", which means mpirun exits immediately without doing any cleanup. The i

Re: [OMPI users] Clean termination after receiving multiple SIGINT

2020-04-06 Thread Kreutzer, Moritz via users
m: users On Behalf Of Ralph Castain via users Sent: Montag, 6. April 2020 16:32 To: Open MPI Users Cc: Ralph Castain Subject: Re: [OMPI users] Clean termination after receiving multiple SIGINT Currently, mpirun takes that second SIGINT to mean "you seem to be stuck trying to cleanly abort -

Re: [OMPI users] Clean termination after receiving multiple SIGINT

2020-04-06 Thread Ralph Castain via users
Currently, mpirun takes that second SIGINT to mean "you seem to be stuck trying to cleanly abort - just die", which means mpirun exits immediately without doing any cleanup. The individual procs all commit suicide when they see their daemons go away, which is why you don't get zombies left behin

[OMPI users] Clean termination after receiving multiple SIGINT

2020-04-06 Thread Kreutzer, Moritz via users
Hi, We are invoking mpirun from within a script which installs some signal handlers. Now, if we abort an Open MPI run with CTRL+C, the system sends SIGINT to the entire process group. Hence, the mpirun process receives a SIGINT from the system with si_code=SI_KERNEL. Additionally, our own signa