On Mon, Oct 28, 2013 at 1:57 PM, Jed Brown <[email protected]> wrote:

> Shiyuan Gu <[email protected]> writes:
>
> > Thanks Jed.
> > Is there an convenient way to save petsc objects to a binary file in gdb?
>
> call VecView(X,PETSC_VIEWER_BINARY_WORLD)?
>

That never works for me. I use

  call VecView(X, PETSC_VIEWER_BINARY_(PETSC_COMM_WORLD))

     Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to