[petsc-users] PETSC ERROR: Caught signal number 15 Terminate

Jed Brown jedbrown at mcs.anl.gov
Fri Aug 5 08:25:50 CDT 2011


On Fri, Aug 5, 2011 at 04:00, Debao Shao <Debao.Shao at brion.com> 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/Sys/PetscPushSignalHandler.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110805/95747840/attachment.htm>


More information about the petsc-users mailing list