[petsc-users] viewer support for numpy
Matthew Knepley
knepley at gmail.com
Mon Oct 28 14:13:43 CDT 2013
On Mon, Oct 28, 2013 at 1:57 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Shiyuan Gu <shiyuangu at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131028/ab06d300/attachment.html>
More information about the petsc-users
mailing list