I've some strange problem: I create a mpiaij matrix, fill it with some values and want to make use of it in kspsolve. But I get the error
[15]PETSC ERROR: Object is in wrong state! [15]PETSC ERROR: Matrix is missing diagonal entry 1129! I've checked the following things: - There is a MatSetValues call that contains the entry 1129/1129 with some value - MatView shows that there exists the value 1129/1129 - MatAssemblyBegin/End is called correctly - valgrind says: 0 errors - ddt also cannot find anything unusual I use petsc 3.2-p5, its compiled in debug mode. What could I check to solve this problem? Any hints? Thomas
