[petsc-users] Segmentation fault in MatAssembly

Bikash Kanungo bikash at umich.edu
Sat Jan 30 18:56:26 CST 2016


I'm getting segmentation fault while assembling large matrices (~4000000 X
4000000) across 480 processors. The error usually shows up randomly only in
large problems (i.e, when I exceed matrix size of ~2000000x200000). There
are few rows in my matrix for which non-local contributions are added from
all other processors. So I believe the buffer size during MatSetValues gets
larger with matrix size which in some way signals a segmentation fault. So
is there a smart way of avoiding such error?


Bikash S. Kanungo
PhD Student
Computational Materials Physics Group
Mechanical Engineering
University of Michigan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160130/3ab10bfb/attachment.html>

More information about the petsc-users mailing list