[petsc-users] segfault in MatAssemblyEnd() when using large matrices on multi-core MAC OS-X

Jed Brown jedbrown at mcs.anl.gov
Wed Aug 1 14:14:16 CDT 2012


On Wed, Aug 1, 2012 at 11:44 AM, Ronald M. Caplan <caplanr at predsci.com>wrote:

> This works on 1 processor but on multiple cores it segfaults if N is "too
> big" (around 3 million).   Is there an equivalent "flush" command for
> vectors to get around this?


You can just call the usual VecAssemblyBegin/End.

But 3 million should not be anywhere near a real problem. Can you reproduce
the problem on a different computer? This may be a system/environment
problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120801/43c24655/attachment.html>


More information about the petsc-users mailing list