[petsc-users] Preallocation Memory of Finite Element Method's Sparse Matrices

Jed Brown jed at jedbrown.org
Fri Mar 21 21:12:51 CDT 2014


Barry Smith <bsmith at mcs.anl.gov> writes:

>   Thank you for reporting this. It was our error. In fact 4 is not
>   enough under certain circumstances; consider where each process has
>   only a single degree of freedom (vertex) then it is coupled to 8
>   other vertices ALL on other processes. Thus we really need to use 8
>   instead of 4 as the maximum number of off process coupling.

Note that _your_ code should generally not have this problem because you
should use a non-pathological partition.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140321/efd0d0be/attachment.pgp>


More information about the petsc-users mailing list