5 Aug
2011
5 Aug
'11
8:25 a.m.
On Fri, Aug 5, 2011 at 04:00, Debao Shao <[email protected]> wrote:
1, I put **"**PetscInitialize**"** at the beginning of main, and **"** PetscInitialize**"** registers a signal handler to capture **"**SIGTERM**" **;****
2, the problem ran in server side will send SIGTERM to kill all of clients after one stage is done.****
3, then, unfortunately, the signal **"**SIGTERM**"** is caught by the signal handler installed by **"**PetscInitialize**"**, and caused to abort.
You can remove the order dependence by running with -no_signal_handler or setting your own signal handler with: http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/S...