<div class="gmail_extra">On Wed, Apr 25, 2012 at 1:55 PM, Mohammad Mirzadeh <span dir="ltr"><<a href="mailto:mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a>></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>> You are not checking error codes, otherwise you wouldn't see all the subsequent errors.</div><div><br></div><div>That's correct. I don'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'm not using it so I though I'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>> <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'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>