[petsc-users] Error with debug

Jed Brown jed at jedbrown.org
Mon Mar 9 10:55:13 CDT 2015

Saurabh Chawdhary <saurabh.chawdhary at gmail.com> writes:

> Hi,
> I used to work with petsc and running everything fine thus far. But then I
> decided to run it with a debugger. To this end I re-installed petsc
> --with-debugging=1. I can compile the code with this new petsc installation
> but when I run it I get Segmentation fault error. Same code compiled with
> the old without debug option runs perfectly fine.
> Is something wrong with my new installation? 

Run in a debugger and send the stack trace.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150309/c51f52e6/attachment.pgp>

More information about the petsc-users mailing list