[petsc-users] generate entries on 'wrong' process

Jed Brown jedbrown at mcs.anl.gov
Fri Jan 20 13:55:05 CST 2012


On Fri, Jan 20, 2012 at 13:52, Wen Jiang <jiangwen84 at gmail.com> wrote:

> Could you cover it a bit more details why it will get deadlock unless the
> number of elements is *exactly* the same on every process?


MatAssemblyBegin/End are collective, so every process needs to call them
together.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120120/db196ac9/attachment.htm>


More information about the petsc-users mailing list