<div class="gmail_quote">On Sun, Apr 22, 2012 at 16:48, TAY wee-beng <span dir="ltr">&lt;<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for the quick fix. Btw, what&#39;s the easiest way to add your
    fix? Do I need to recompile?</blockquote></div><br><div>hg pull --update</div><div>$PETSC_ARCH/conf/reconfigure-*.py # if you haven&#39;t pulled petsc-dev recently, not needed for this patch, but maybe for earlier patches</div>
<div>make</div><div>cd src/ksp/ksp/examples/tutorials</div><div># uncomment VecView if you want</div><div>make ex22f</div><div>./ex22f</div>