[petsc-users] How to use petsc in a dynamically loaded shared library?

Jed Brown jedbrown at mcs.anl.gov
Wed Jul 18 15:01:20 CDT 2012


On Wed, Jul 18, 2012 at 2:12 PM, Florian <flo.44 at gmx.de> wrote:

> I have used ddd and when I step into the VecDestroy function I get the
> signal 11. I have three Vectors and it's only possible to destroy one of
> them. Do I have consider something special before I destroy them? I read
> values from the Vector which I'm able to destroy.
>

You are likely passing an invalid address to VecDestroy. Something is wrong
with your debugger if it doesn't tell you what is invalid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120718/1dd084e8/attachment.html>


More information about the petsc-users mailing list