MatGetColumnVector()
Barry Smith
bsmith at mcs.anl.gov
Wed May 24 21:06:43 CDT 2006
Jozsef,
Strange. What matrix type? Parallel or sequential? Please
send code or code segment.
Barry
On Wed, 24 May 2006, Jozsef Bakosi wrote:
> Hi all,
>
> I'm trying to use MatGetColumnVector() to extract a column from a
> matrix, but even if I put a MatAssemblyBegin/MatAssemblyEnd pair
> right before it, I always get the error message during run:
>
> [0]PETSC ERROR: MatGetRow() line 163 in src/mat/interface/matrix.c
> [0]PETSC ERROR: Object is in wrong state!
> [0]PETSC ERROR: Not for unassembled matrix!
> [0]PETSC ERROR: MatGetColumnVector() line 61 in src/mat/utils/getcolv.c
>
> What can cause this problem?
>
> I'm using PETSc 2.3.1.
>
> Jozsef
>
More information about the petsc-users
mailing list