[0]PETSC ERROR: Object is in wrong state
[0]PETSC ERROR: Matrix is missing diagonal entry 8
----------------------------------------------------
Exception on processing:
--------------------------------------------------------
An error occurred in line <172> of file </home/ubuntu/deal.II/dealii/source/lac/slepc_solver.cc> in function
void dealii::SLEPcWrappers::SolverBase::solve(unsigned int, unsigned int*)
The violated condition was:
ierr == 0
The name and call sequence of the exception was:
ExcSLEPcError(ierr)
Additional Information:
An error with error number 73 occurred while calling a SLEPc function
--------------------------------------------------------
Hi, Tobi:
Thank you so much for your suggestions. I have followed your direction and checked my code again and again for all day long, but still
could not resolve this problem. If you (or someone else) wouldn't mind, could you please take a look at my code attached below?
It is a really short code, of which most parts are exactly the same with step-36, except some details I changed for learning purposes (I changed
this problem to a simple dynamical elasticity problem on a rectangular domain). I know this might cause some unconveniences, but I really
need somesone's help. Since nobody around me uses dealii, this is the only place I can turn to.
Thanks in advance for any help!
Best regards,
David.
... // fill matrix M with some values // now write out M:
std::ofstream out ("M.gnuplot");
plot 'M.gnuplot' matrix