[petsc-users] about MatTranspose
Likun Tan
likunt at andrew.cmu.edu
Thu Sep 1 10:24:27 CDT 2011
Dear all,
I used MatCreate() to create a non-square matrix B, and set values to it
in parallel. Now i want to get the tranpose of it to solve Ax=B', where A
is SeqDense.
I define a SeqDense C=B' and use MatTranspose() to get it, then apply
MatMatSolve(fact,C,x), but i get the following error:
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Nonconforming object sizes!
[0]PETSC ERROR: Mat A,Mat B: local dim 27 14!
[0]PETSC ERROR:
------------------------------------------------------------------------
Thank you in advance,
Likun
More information about the petsc-users
mailing list