On Wed, Mar 27, 2013 at 6:30 PM, Mohamad M. Nasr-Azadani <mmnasr at gmail.com>wrote:
> Sorry, the codes attached were not the most recent versions.
> Here is the code you can reproduce the error with.
>
ierr = DMCreateMatrix(DA2d, MATMPIAIJ, &LHS_mat); CHKERRQ(ierr);
Just pass MATAIJ or NULL here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130327/d8946f62/attachment.html>
