<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello all,</div><div>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 ?</div><div>Thank you very much!</div><div>Daye</div></div><br><br><span title="neteasefooter"><p> </p></span>