<div dir="ltr">On Mon, Oct 28, 2013 at 1:57 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Shiyuan Gu <<a href="mailto:shiyuangu@gmail.com">shiyuangu@gmail.com</a>> writes:<br>
<br>
> Thanks Jed.<br>
> Is there an convenient way to save petsc objects to a binary file in gdb?<br>
<br>
</div>call VecView(X,PETSC_VIEWER_BINARY_WORLD)?<br>
</blockquote></div><br>That never works for me. I use</div><div class="gmail_extra"><br></div><div class="gmail_extra">  call VecView(X, PETSC_VIEWER_BINARY_(PETSC_COMM_WORLD))</div><div class="gmail_extra"><br></div><div class="gmail_extra">
     Matt<br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener
</div></div>