[petsc-dev] does petsc filter out zeros in MatSetValues?

Xuefei (Rebecca) Yuan xyuan at lbl.gov
Thu Jan 26 23:09:12 CST 2012


Hello Mark,

I do have this error on malloc if np>1.

Best regards,

Rebecca

On Jan 26, 2012, at 6:24 PM, Mark F. Adams wrote:

> 
> On Jan 26, 2012, at 8:06 PM, Jed Brown wrote:
> 
>> On Thu, Jan 26, 2012 at 19:00, Mark F. Adams <mark.adams at columbia.edu> wrote:
>> I'm guessing that PETSc recently changed and now filters out 0.0 in MatSetValues ... is this true?
>> 
>> Did the option MAT_IGNORE_ZERO_ENTRIES get set somehow?
> 
> No, I can't imagine how, but there are several moving parts here.  I'm not sure about this issue.
> 
> I did start getting an error on a malloc in MatSetValues - this is new right?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120126/0688027f/attachment.html>


More information about the petsc-dev mailing list