Hello Sungho Yoon, try calling matrix.compress() after assembling but before using the matrix (e.g. in a solver). Maybe this helps. If not, please state the solver/preconditioner and the matrix type you are using.
bye, Timo [EMAIL PROTECTED] wrote: > Dear All, > > I have got this error message when running with Petsc library > > [0]PETSC ERROR: --------------------- Error Message > ------------------------------------ > [0]PETSC ERROR: Object is in wrong state! > [0]PETSC ERROR: Not for unassembled matrix! > > > What does it point out exactly? Anyone has got a same error message? If > the, share your experience with me .please.~ > > Sungho Yoon > Leeds > UK > _______________________________________________
