← Back to team overview

dolfin team mailing list archive

Re: Broken demos

 

Should be easy to fix. I'll take look.

--
Anders


On Thu, Oct 20, 2011 at 02:41:45PM +0200, Martin Sandve Alnæs wrote:
> When running 'make runtests' on the latest dev versions of everything
> I get lots of failed tests and demos failing to converge.
>
> Some selected shortened examples with 6 different errors, most of
> these occur multiple times:
>
>
> ----------------------------------------------------------------------
> Running C++ demo ./../../demo/pde/biharmonic/cpp
> Solving linear variational problem.
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  *** Error: PETSc Krylov solver did not converge in 10000
> iterations (PETSc reason DIVERGED_ITS, norm 1.954526e-01).
>
>
> ----------------------------------------------------------------------
> Running C++ demo ./../../demo/pde/cahn-hilliard/cpp
> *** -------------------------------------------------------------------------
> *** Error:  Unable to solve linear system.
> *** Reason: Preconditioner may not be specified for LU solver.
> *** Where:  This error was encountered inside LinearSolver.cpp.
> *** -------------------------------------------------------------------------
>
>
> ----------------------------------------------------------------------
> Running C++ demo ./../../demo/undocumented/advection-diffusion/cpp
> demo_advection-diffusion:
> /home/martinal/dev/fenics/dolfin/work/dolfin/la/PETScLUSolver.cpp:162:
> virtual dolfin::uint
> dolfin::PETScLUSolver::solve(dolfin::GenericVector&, const
> dolfin::GenericVector&): Assertion `A' failed.
>
>
> ----------------------------------------------------------------------
> Running C++ demo ./../../demo/undocumented/sym-dirichlet-bc/cpp
> *** -------------------------------------------------------------------------
> *** Error:  Unable to solve linear system using LU factorization.
> *** Reason: Unknown LU method "cholesky". Use list_lu_solver_methods()
> to list available LU methods.
> *** Where:  This error was encountered inside LUSolver.cpp.
> *** -------------------------------------------------------------------------
>
>
> ----------------------------------------------------------------------
> Running Python demo ./../../demo/undocumented/stokes-mini/python
> Traceback (most recent call last):
>   File "demo_stokes-mini.py", line 65, in <module>
>     solve(a == L, w, bcs)
>   File "/home/martinal/opt/fenics/dorsal-unstable/lib/python2.7/site-packages/dolfin/fem/solving.py",
> line 250, in solve
>     _solve_varproblem(*args, **kwargs)
>   File "/home/martinal/opt/fenics/dorsal-unstable/lib/python2.7/site-packages/dolfin/fem/solving.py",
> line 273, in _solve_varproblem
>     solver.solve()
> RuntimeError: *** Error: PETSc Krylov solver did not converge in 10000
> iterations (PETSc reason DIVERGED_ITS, norm 7.175984e-03).
>
>
>
> Martin
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


References