[petsc-users] Petsc error: cannot chang local size of Amat after use old sizes 10 10 new sizes 11 11

dayedut123 at 163.com
Fri May 11 03:23:26 CDT 2018


Hello all,
I use the function MatCreateMPIAIJWithArrays to construct my matrix. But the number of local rows m and local columns n may change during the timestep advancing.  When the local size changes, the error like "Petsc error: cannot chang local size of Amat after use old sizes 10 10 new sizes 11 11" will appear. Any suggestions about it ?
Thank you very much!
Daye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180511/d67ded84/attachment.html>


More information about the petsc-users mailing list