LinearOperator unit test fails on precise-i386
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The LinearOperator unit test (test/unit/
$ mpirun -np 3 python LinearOperator.py
Process 0: Number of global vertices: 81
Process 0: Number of global cells: 128
Process 0: *** Warning: UnitSquare is deprecated. Use UnitSquareMesh.
Process 1: *** Warning: UnitSquare is deprecated. Use UnitSquareMesh.
Process 2: *** Warning: UnitSquare is deprecated. Use UnitSquareMesh.
Testing DOLFIN la/LinearOperator (matrix-free) interface
-------
Testing DOLFIN la/LinearOperator (matrix-free) interface
-------
Testing DOLFIN la/LinearOperator (matrix-free) interface
-------
Process 0: Number of global vertices: 81
Process 0: Number of global cells: 128
Process 0: *** Warning: UnitSquare is deprecated. Use UnitSquareMesh.
Process 2: *** Warning: UnitSquare is deprecated. Use UnitSquareMesh.
Process 1: *** Warning: UnitSquare is deprecated. Use UnitSquareMesh.
Process 0: Solving linear system of size 81 x 81 (PETSc Krylov solver).
[1]PETSC ERROR: -------
[1]PETSC ERROR: Arguments are incompatible!
[1]PETSC ERROR: Incompatible vector local lengths 27 != 30!
[1]PETSC ERROR: -------
[1]PETSC ERROR: Petsc Release Version 3.3.0, Patch 3, Wed Aug 29 11:26:24 CDT 2012
[1]PETSC ERROR: See docs/changes/
[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[1]PETSC ERROR: See docs/index.html for manual pages.
[1]PETSC ERROR: -------
[1]PETSC ERROR: Unknown Name on a linux-gnu named prceise32-bbot by buildbot Thu Nov 29 13:08:41 2012
[1]PETSC ERROR: Libraries linked from /home/buildbot/
[1]PETSC ERROR: Configure run at Thu Nov 29 08:32:50 2012
[1]PETSC ERROR: Configure options COPTFLAGS=-O2 --with-debugging=0 --with-
[1]PETSC ERROR: -------
[1]PETSC ERROR: VecCopy() line 1742 in /home/buildbot/
[1]PETSC ERROR: KSPInitialResid
[1]PETSC ERROR: KSPSolve_GMRES() line 230 in /home/buildbot/
[1]PETSC ERROR: KSPSolve() line 446 in /home/buildbot/
[0]PETSC ERROR: -------
[0]PETSC ERROR: Arguments are incompatible!
[0]PETSC ERROR: Incompatible vector local lengths 27 != 24!
[0]PETSC ERROR: -------
[0]PETSC ERROR: Petsc Release Version 3.3.0, Patch 3, Wed Aug 29 11:26:24 CDT 2012
[0]PETSC ERROR: See docs/changes/
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: -------
[0]PETSC ERROR: Unknown Name on a linux-gnu named prceise32-bbot by buildbot Thu Nov 29 13:08:41 2012
[0]PETSC ERROR: Libraries linked from /home/buildbot/
[0]PETSC ERROR: Configure run at Thu Nov 29 08:32:50 2012
[0]PETSC ERROR: Configure options COPTFLAGS=-O2 --with-debugging=0 --with-
[0]PETSC ERROR: -------
[0]PETSC ERROR: VecCopy() line 1742 in /home/buildbot/
[0]PETSC ERROR: KSPInitialResid
[0]PETSC ERROR: KSPSolve_GMRES() line 230 in /home/buildbot/
[0]PETSC ERROR: KSPSolve() line 446 in /home/buildbot/
^Cmpirun: killing job...
Changed in dolfin: | |
status: | New → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
This is the error I get when using the uBLAS backend instead of PETSc:
ERROR: test_linear_ operator (__main_ _.TestLinearOpe rator) ------- ------- ------- ------- ------- ------- ------- ------- ------- .py", line 76, in test_linear_ operator buildbot/ fenicsbbot/ trunk/dolfin- full/lib/ python2. 7/site- packages/ dolfin/ fem/solving. py", line 278, in solve buildbot/ fenicsbbot/ trunk/dolfin- full/lib/ python2. 7/site- packages/ dolfin/ cpp/la. py", line 4195, in la_solve
-------
Traceback (most recent call last):
File "LinearOperator
solve(A, x, b, "gmres", "none")
File "/home/
return cpp.la_solve(*args)
File "/home/
return _la.la_solve(*args)
RuntimeError:
*** ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- /answers. launchpad. net/dolfin ------- ------- ------- ------- ------- ------- ------- ------- ------- --- er.h.
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
*** https:/
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------
*** Error: Unable to solve linear system using uBLAS Krylov solver.
*** Reason: Solution failed to converge.
*** Where: This error was encountered inside uBLASKrylovSolv
*** Process: 0