[petsc-users] KSPLSQR Incompatible vector local lengths

Jed Brown jed at 59A2.org
Wed Jun 22 15:50:47 CDT 2011


On Wed, Jun 22, 2011 at 17:44, Pierre-Yves Aquilanti <sperif at gmail.com>wrote:

> i'm trying to use the KSPLSQR solver in order to solve the Ax=b where b and
> x are of size "n" and matrix A is of size "n+1 x n".
>

Shouldn't the right hand side vector have length n+1?


> A is in fact a superior hessenberg matrix
>

Is your "real" system small and dense, or is this a model for some large
system? In the small dense case, the natural thing is to use a direct
solver, e.g. with Lapack.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110622/e9152196/attachment.htm>


More information about the petsc-users mailing list