[petsc-users] Nonconforming object sizes ERROR
Brian Yang
brianyang1106 at gmail.com
Wed Nov 12 14:23:44 CST 2014
Hi,
I am solving an over-determined linear system Ax=b and b=0.
A size: 296856 x 14430
x (non-zero guess): 14430
b (zero): 296856
All of them are using seq mode to create, so one node will solve this.
However I got this error:
[0]PETSC ERROR: Nonconforming object sizes!
[0]PETSC ERROR: Mat mat,Vec y: global dim 296856 14430!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: *MatMult() line 2171 in src/mat/interface/matrix.c*
[0]PETSC ERROR: KSP_MatMult() line 204 in
src/ksp/ksp/impls/cg//datadb/raafat/src/petsc-3.4.3/include/petsc-private/kspimpl.h
[0]PETSC ERROR: KSPSolve_CG() line 132 in src/ksp/ksp/impls/cg/cg.c
[0]PETSC ERROR: KSPSolve() line 441 in src/ksp/ksp/interface/itfunc.c
Any restrictions here or I misunderstood something? Thanks!
--
Brian Yang
U of Houston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141112/6533bff8/attachment.html>
More information about the petsc-users
mailing list