<div dir="ltr">On Wed, Mar 27, 2013 at 6:30 PM, Mohamad M. Nasr-Azadani <span dir="ltr"><<a href="mailto:mmnasr@gmail.com" target="_blank">mmnasr@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Sorry, the codes attached were not the most recent versions. <div>
Here is the code you can reproduce the error with. </div></div></blockquote><div><br></div><div> ierr = DMCreateMatrix(DA2d, MATMPIAIJ, &LHS_mat); CHKERRQ(ierr);<br></div><div> </div><div style>Just pass MATAIJ or NULL here.</div>
</div></div></div>