fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #01860
Re: preconditioner in demos
Dear Johannes,
I recreated the error message:
<console>
>> python demo_navier-stokes.py
Traceback (most recent call last):
File "demo_navier-stokes.py", line 97, in <module>
prec = "amg" if has_krylov_solver_preconditioner("amg") else "default"
NameError: name 'has_krylov_solver_preconditioner' is not defined
</console>
It seems, has_krylov_solver_preconditioner, as used in the documentation on the
website, is deprecated.
>> aptitude show fenics
gives me:
<console>
Package: fenics
State: installed
Automatically installed: no
Version: 1:1.0.0-1
Priority: extra
Section: universe/math
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
Architecture: all
Uncompressed Size: 34.8 k
Depends: libdolfin1.0-dev (>= 1.0.0), python-dolfin (>= 1.0.0),
dolfin-doc (>= 1.0.0), dolfin-bin (>= 1.0.0), python-ferari (>= 1.0.0),
python-ffc (>= 1.0.0), python-fiat (>= 1.0.0),
python-instant (>= 1.0.0), ufc (>= 2.0.5), python-ufc (>=
2.0.5), ufc-doc (>= 2.0.5), python-viper (>= 1.0.0), python-ufl (>=
1.0.0), python-ufl-doc (>= 1.0.0), libsyfi1.0-dev (>=
1.0-beta), python-syfi (>= 1.0-beta), syfi-doc (>= 1.0-beta),
sfc (>= 1.0-beta)
Recommends: python-scitools
</console>
Best,
Roland
Follow ups
References