<div dir="ltr">Dear all,<div><br></div><div>I encountered a problem that MatMatMult crashes using only one processor. The matrix is MATMPIAIJ. I am using the master branch. The same program can run in parallel without problem. </div><div><br></div><div>Valgrind gives the following stack trace:</div><div><br></div><div><div><font face="monospace, monospace">==5543== Invalid read of size 8</font></div><div><font face="monospace, monospace">==5543==    at 0xDC094CE: MatGetBrowsOfAoCols_MPIAIJ (mpiaij.c:4509)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC3FB95: MatMatMultSymbolic_MPIAIJ_<wbr>MPIAIJ_nonscalable (mpimatmatmult.c:218)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC45193: MatMatMult_MPIAIJ_MPIAIJ (mpimatmatmult.c:61)</font></div><div><font face="monospace, monospace">==5543==    by 0xD9C657D: MatMatMult (matrix.c:9450)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">==5543== </font></div><div><font face="monospace, monospace">==5543== Invalid read of size 4</font></div><div><font face="monospace, monospace">==5543==    at 0xDC094D7: MatGetBrowsOfAoCols_MPIAIJ (mpiaij.c:4510)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC3FB95: MatMatMultSymbolic_MPIAIJ_<wbr>MPIAIJ_nonscalable (mpimatmatmult.c:218)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC45193: MatMatMult_MPIAIJ_MPIAIJ (mpimatmatmult.c:61)</font></div><div><font face="monospace, monospace">==5543==    by 0xD9C657D: MatMatMult (matrix.c:9450)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">==5543== </font></div><div><font face="monospace, monospace">==5543== Invalid read of size 4</font></div><div><font face="monospace, monospace">==5543==    at 0xDC0793B: MatGetBrowsOfAoCols_MPIAIJ (mpiaij.c:4513)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC3FB95: MatMatMultSymbolic_MPIAIJ_<wbr>MPIAIJ_nonscalable (mpimatmatmult.c:218)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC45193: MatMatMult_MPIAIJ_MPIAIJ (mpimatmatmult.c:61)</font></div><div><font face="monospace, monospace">==5543==    by 0xD9C657D: MatMatMult (matrix.c:9450)</font></div><div><font face="monospace, monospace"><br></font></div></div><div><div><font face="monospace, monospace">==5543== Invalid read of size 4</font></div><div><font face="monospace, monospace">==5543==    at 0xDC0794E: MatGetBrowsOfAoCols_MPIAIJ (mpiaij.c:4520)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC3FB95: MatMatMultSymbolic_MPIAIJ_<wbr>MPIAIJ_nonscalable (mpimatmatmult.c:218)</font></div><div><font face="monospace, monospace">==5543==    by 0xDC45193: MatMatMult_MPIAIJ_MPIAIJ (mpimatmatmult.c:61)</font></div><div><font face="monospace, monospace">==5543==    by 0xD9C657D: MatMatMult (matrix.c:9450)</font></div><div><br></div></div><div>This problem may be related to this thread <a href="http://lists.mcs.anl.gov/pipermail/petsc-users/2014-September/022864.html">http://lists.mcs.anl.gov/pipermail/petsc-users/2014-September/022864.html</a>. If you need an example that reproduces this problem, please let me know.<br></div><div><br></div><div>Best,</div><div>Ce Qin</div></div>