[petsc-users] Accessing Vector's ghost values

Bojan Niceno bojan.niceno at psi.ch
Thu Feb 23 12:28:31 CST 2012

On 2/23/2012 7:22 PM, Max Rudolph wrote:
> Did you try running with -on_error_attach_debugger and and using your 
> debugger to try to figure out where your code is segfaulting?

Well, it's a bit embarrassing, but I should admit that I never use 
debuggers.  I use "exit(0)" to find the place where program breaks.  It 
breaks at the very call to VecCreateGhost.

     Kind regards,


More information about the petsc-users mailing list