Hi,<br><br>Sorry for the confusion.                   <br><br><div class="gmail_quote">>>There aren't any errors in this -info output? What did you see? Send the<br>>>whole error message.<br><br>The error message is attached. It said Argument out of range and New nonzero at () caused a malloc. I did not have such error in petsc 3.2. I realized that I did not give exact preallocation in MatCreateAIJ, but I did not  set its preallocation call MatSetOption(mat, NEW_NONZERO_ALLOCATION_ERR,PETSC_TRUE). Does petsc dev automatically call MatSetOption? <br>

<br>Regards,<br>Wen <br></div>