Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] ompi-checkpoint --term
From: Fernando Lemos (fernandotcl_at_[hidden])
Date: 2010-03-31 19:25:33

On Wed, Mar 31, 2010 at 7:39 PM, Addepalli, Srirangam V
<srirangam.v.addepalli_at_[hidden]> wrote:
> Hello All.
> I am trying to checkpoint a mpi application that has been started using the follwong mpirun command
> mpirun -am ft-enable-cr -np 8 pw.x  < >
> ompi-checkpoint 31396 ( Works) How ever when i try to terminate the process
> ompi-checkpoint  --term 31396  it never finishes.  How do i bebug this issue.

ompi-checkpoint is exactly ompi-checkpoint + sending SIGTERM to your
app. If ompi-checkpoint finishes, then your app is not dealing with
SIGTERM correctly.

Make sure you're not ignoring SIGTERM, you need to either handle it or
let it kill your app. If it's a multithreaded app, make sure you can
"distribute" the SIGTERM to ALL the threads, i.e., when you receive
SIGTERM, notify all other threads that they should join or quit.