[petsc-users] petsc dev mat assembly fails

Wen Jiang jiangwen84 at gmail.com
Mon Jun 4 09:02:06 CDT 2012


Hi,

Sorry for the confusion.

>>There aren't any errors in this -info output? What did you see? Send the
>>whole error message.

The error message is attached. It said Argument out of range and New
nonzero at () caused a malloc. I did not have such error in petsc 3.2. I
realized that I did not give exact preallocation in MatCreateAIJ, but I did
not set its preallocation call MatSetOption(mat,
NEW_NONZERO_ALLOCATION_ERR,PETSC_TRUE). Does petsc dev automatically call
MatSetOption?

Regards,
Wen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120604/857c0099/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vesicle.err
Type: application/octet-stream
Size: 34680 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120604/857c0099/attachment-0001.obj>


More information about the petsc-users mailing list