This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Fenics Installation on Debian Sid

0 votes

Hi,
I'm experiencing issues with the installation of fenics via package manager in Debian Sid. First of all, the required package swig is by default at version 3.0.7 but python-instant complaints about it because it's too recent, anyway it is enough to install the Jessie version which is 2.0.12 and the install procedure will end up successfully.
The real problem comes when running demos: the code fails with the error "AttributeError: 'module' object has no attribute 'Domain" and the module referred is ufl which seems to
not have the Domain component.
I've checked the installation log and I found out that some of the installed packages, instead of being at version 1.5 coherently with fenics (dolfin-bin, libdolfin1.5 etc etc), are at version 1.6. Those ones are python-ffc, python-instant and python-ufl. The latter one is responsible for the runtime error, so I suspect that dependencies are somewhat messed up.

Any help is appreciated,
K

Edit: I've setup a VM with ubuntu 15.10, added fenics ppa, downloaded the latest fenics version available(1.6) and it worked. Noticing that, on that ppa, python-ufl python-instant and python-fcc are at version 1.6 (altough ffc on Sid is 1.6.0.2 while on Ubuntu is 1.6.0.1), I tried to install python-dolfin, libdolfin1.6 and dolfin-bin from there, but even by altering their dependencies I haven't managed to obtain a working configuration. I will try to setup a Sid VM in order to check that the problem is not related to my current installation and update this post as soon as possible.

asked Nov 23, 2015 by Klaus.T FEniCS Novice (120 points)
edited Nov 24, 2015 by Klaus.T

1 Answer

0 votes

DOLFIN 1.6 is currently sitting in the new queue, waiting to be accepted into Debian sid.

answered Nov 24, 2015 by johannr FEniCS Expert (17,350 points)

Oh, thank you, so the problem is not mine.
Any hint on how to get a working installation? (except waiting until the update, possibly :) )

You can either build from source using e.g. fenics-install.sh or you can build your own DOLFIN packages by checking out the debian files:

svn clone svn://anonscm.debian.org/debian-science/packages/fenics/dolfin/trunk
...