<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><br></div><div>&gt; <span style>The default behavior was changed in petsc-dev because forgetting to preallocate was too common of a mistake</span></div><div><span style><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 class="im"></div></div></div>