<div class="gmail_extra">On Wed, Apr 25, 2012 at 1:55 PM, Mohammad Mirzadeh <span dir="ltr">&lt;<a href="mailto:mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div>&gt; You are not checking error codes, otherwise you wouldn&#39;t see all the subsequent errors.</div><div><br></div><div>That&#39;s correct. I don&#39;t quite remember, but I think at some point I had trouble with function returns and CHKERRQ( and also CHKERRV? -- not sure though) and so I dropped it; is this terrible or just bad? PETSc still produces errors when I&#39;m not using it so I though I&#39;m ok!</div>
</div></div></blockquote><div><br></div><div>Terrible.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div class="gmail_extra"><div>&gt; <span>The default behavior was changed in petsc-dev because forgetting to preallocate was too common of a mistake</span></div><div><span><br></span></div><div><font color="#222222" face="arial, sans-serif">Thanks. In fact I do preallocate(exactly), it may be that I&#39;m not doing it right; gotta check.</font></div>
</div></div></blockquote></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<br>
</div>