dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05541
Re: Debian/Ubuntu Repositories
Lorenzo Isella wrote:
> Hello,
> And many thanks for your efforts.
> I think the dependency problems have been solved (since I can now
> install libdolfin-dev) but something is still missing.
> See what happens when I try running the tutorial:
>
> python demo.py
> Creating sub domain markers for boundary condition.
> Solving linear PDE.
> ['ffc_form_0_module.i', '../ffc_form_0.h']
> ['ffc_form_0_module.i', '../ffc_form_0.h']
> Traceback (most recent call last):
> File "/home/iselllo/temp/dolfin/demo.py", line 47, in ?
> u = pde.solve()
> File "/usr/lib/python2.4/site-packages/dolfin/assemble.py", line 107, in solve
> A = assemble(self.a, self.mesh)
> File "/usr/lib/python2.4/site-packages/dolfin/assemble.py", line 24,
> in assemble
> (compiled_form, module, form_data) = jit(form)
> File "/usr/lib/python2.4/site-packages/ffc/jit/jit.py", line 68, in jit
> exec("compiled_form = compiled_module.%s()" % form_name)
> File "<string>", line 1, in ?
> AttributeError: 'module' object has no attribute 'ffc_form_0BilinearForm'
Yap, same here. I tested a few of the C++ demos and they ran fine.
>
> Some folders and files are created, but something clearly goes wrong.
> Again, many thanks for your efforts!
>
> Lorenzo
>
>
>
> On 01/10/2007, Åsmund Ødegård <aasmund@xxxxxxxxx> wrote:
>> Lorenzo, LUK, list;
>>
>> I am now able to install libdolfin-dev and do "python -c 'import dolfin'" on
>> both Ubuntu and Debian (etch), i.e. on both python2.4 and python2.5.
>>
>> There are still some issues with e.g. the SyFI package, but basic stuff
>> should be in a working condition. Dolfin now depends on libufsparse.
>>
>>
>> Please tell me how it works for you!
>>
>>
>
I don't have such luck :-) with the *pure python modules* for python2.5
(python 2.4 is fine) in Debian/sid. I got these errors:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/dolfin/__init__.py", line 4, in
<module>
from assemble import *
File "/usr/lib/python2.5/site-packages/dolfin/assemble.py", line 16,
in <module>
from ffc import *
ImportError: No module named ffc
I cannot find the modules under /usr/lib/python2.5/site-packages/.
Importing dolfin is fine, though, as can be seen above.
I'll take a go at building them from source tomorrow on an amd64 box at
my office and see what happens.
Thanks again, Asmund.
Regards,
ST
--
References
-
Debian/Ubuntu Repositories
From: Lorenzo Isella, 2007-09-15
-
Re: Debian/Ubuntu Repositories
From: Åsmund Ødegård, 2007-09-18
-
Re: Debian/Ubuntu Repositories
From: Lorenzo Isella, 2007-09-18
-
Re: Debian/Ubuntu Repositories
From: LUK ShunTim, 2007-09-19
-
Re: Debian/Ubuntu Repositories
From: Lorenzo Isella, 2007-09-19
-
Re: Debian/Ubuntu Repositories
From: LUK ShunTim, 2007-09-25
-
Re: Debian/Ubuntu Repositories
From: Lorenzo Isella, 2007-09-25
-
Re: Debian/Ubuntu Repositories
From: Åsmund Ødegård, 2007-09-25
-
Re: Debian/Ubuntu Repositories
From: Lorenzo Isella, 2007-09-30
-
Re: Debian/Ubuntu Repositories
From: Åsmund Ødegård, 2007-10-01
-
Re: Debian/Ubuntu Repositories
From: Lorenzo Isella, 2007-10-01