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

Reply via email to