On Mon, Oct 26, 2015 at 3:23 PM Jan Blechta <[email protected]>
wrote:

> The are mismatched version of FEniCS components
>
> http://packages.ubuntu.com/wily/python/python-fiat # 1.6.0
> http://packages.ubuntu.com/wily/python/python-ufl # 1.6.0
> http://packages.ubuntu.com/wily/python/python-instant # 1.6.0
> http://packages.ubuntu.com/wily/python/python-ffc # 1.5.0
> http://packages.ubuntu.com/wily/python/python-dolfin # 1.5.0
>
> in Wily Werewolf. Can something be done, Johannes, to fix it in
> subsequent patch?
>

No, I think it is too late to get version 1.6 of FFC and DOLFIN into Wily.
The reason I didn't upload them is because Wily only has SWIG 3.0.2, while
version 1.6 of FFC and DOLFIN requires SWIG >= 3.0.3.


> You need to wait until FEniCS packages are built in FEniCS PPA
> https://launchpad.net/~fenics-packages/+archive/ubuntu/fenics. In the
> meantime you can try to employ an alternative installation method
> http://fenicsproject.org/download/ or fall back to Vivid Vervet.
>

I have uploaded the missing packages for Wily to the FEniCS PPA now.

Johannes


> Jan
>
>
> On Mon, 26 Oct 2015 05:57:33 +0000
> "Engwer, Josh" <[email protected]> wrote:
>
> > Greetings:
> >
> >
> > I installed FEniCS 1.5.0 on Ubuntu MATE 15.10 using the default
> > Ubuntu PPA:
> >
> >
> > sudo apt-get install fenics
> >
> >
> > However, when I attempt to execute 'from dolfin import *'  or  'from
> > fenics import *',
> >
> > I receive the following message:
> >
> >
> > ---------------------------------------------------------------------
> > DOLFIN runtime dependency is not met.
> > Install the following python module: 'ffc'
> > and make sure its location is listed in PYTHONPATH.
> > ----------------------------------------------------------------------
> >
> >
> > 'python -v' returns:
> >
> > Python 2.7.10 (default, Oct 14 2015, 16:09:02)
> > [GCC 5.2.1 20151010] on linux2
> >
> >
> > 'dpkg -l | grep python-ffc'  returns:
> >
> > ii  python-ffc               1.5.0-3        amd64   compiler for
> > finite element variational forms
> >
> >
> > 'dpkg -l | grep python-ufl'  returns:
> >
> > ii  python-ufl                1.6.0-1           all          unified
> > language for form-compilers ii  python-ufl-doc
> > 1.6.0-1           all          documentation and demos for UFL
> >
> >
> > 'locate fenics' returns (among other things):
> >
> > /usr/lib/python2.7/dist-packages/fenics
> > /usr/share/doc/fenics
> >
> >
> > 'locate ffc' returns (among other things):
> >
> > /usr/lib/python2.7/dist-packages/ffc
> >
> > /usr/share/doc/python-ffc
> >
> >
> > PYTHONPATH environment variable (from running 'env' in bash terminal):
> >
> >
> PYTHONPATH=/usr/lib/python2.7/dist-packages/fenics:/usr/lib/python2.7/dist-packages/ffc
> >
> >
> > 'python -c "import ffc; print ffc.__version__"' returns:
> >
> > Traceback (most recent call last):
> >   File "<string>", line 1, in <module>
> >   File "/usr/lib/python2.7/dist-packages/ffc/__init__.py", line 18,
> > in <module> from ffc.compiler import compile_form, compile_element
> >   File "/usr/lib/python2.7/dist-packages/ffc/compiler.py", line 130,
> > in <module> from ffc.codegeneration import generate_code
> >   File "/usr/lib/python2.7/dist-packages/ffc/codegeneration.py", line
> > 38, in <module> from ffc.evaluatebasis import _evaluate_basis,
> > _evaluate_basis_all File
> > "/usr/lib/python2.7/dist-packages/ffc/evaluatebasis.py", line 41, in
> > <module> from ffc.quadrature.symbolics import create_float,
> > create_float, create_symbol,\ File
> > "/usr/lib/python2.7/dist-packages/ffc/quadrature/__init__.py", line
> > 1, in <module> from .quadraturerepresentation import
> > compute_integral_ir File
> >
> "/usr/lib/python2.7/dist-packages/ffc/quadrature/quadraturerepresentation.py",
> > line 39, in <module> from ffc.quadrature.quadraturetransformer import
> > QuadratureTransformer File
> >
> "/usr/lib/python2.7/dist-packages/ffc/quadrature/quadraturetransformer.py",
> > line 44, in <module> from ufl.algorithms.printing import tree_format
> > ImportError: No module named printing
> >
> >
> >
> > Any help would be greatly appreciated.
> >
> >
> > Thank you,
> >
> >
> > -- Josh Engwer
> >
> >
> > PhD Student in Applied Mathematics
> >
> > Department of Mathematics & Statistics
> >
> > Texas Tech University
> >
> > Lubbock, TX
> >
> > USA
>
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to