← Back to team overview

dolfin team mailing list archive

Re: problem with running dolfin-0.7.1 demos

 

On Nov 20, 2007 10:33 AM, Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx> wrote:

> Quoting Catherine Micek <mice0012@xxxxxxx>:
>
> > Hi,
> >
> > I ran into the following problem while attempting to run the dolfin
> > demos.  After configuring, building, and installing dolfin-0.7.1 on
> > my system, I attempted to run the demos in my dolfin-0.7.1/src/
> > demo/ .../python file.  When I begin, the python directory has one
> > file: demo.py.  When I type "python demo.py,"  it runs for awhile
> > until I get the error:
> >       ImportError: No module named ffc_form_1_module
> > This is a bit strange because when I check the files in the python
> > directory, I now have
> >       demo.py  ffc_form_0.h  ffc_form_0_module
> > where ffc_form_0_module is a directory containing ffc_form_1_module.
> > So I move ffc_form_1_module into dolfin-0.7.1/src/demo/.../python and
> > re-run demo.py.  This time I get the error
> >       ImportError: No module named ffc_form_2_module
> > Again, within ffc_form_0_module is a directory containing
> > ffc_form_2_module so I do the same fix as before, this time moving
> > ffc_form_2_module.  This time, everything appears to execute correctly.
> >
> > Has anyone run into this problem before or have any suggestions how
> > to fix this?
>
> I suppose you use the latest version of FFC (0.4.3)?
> Try using the development version of Instant
>
> hg clone http://www.fenics.org/hg/instant


Actually, I think you can also grab the 0.9.2. release of instant from

http://www.fenics.org/pub/software/instant/v0.9/instant-0.9.2.tar.gz

For some reason, this release is not linked from the webpage, but this
release of instant was put together because I had the exact same issue when
building the debian packages.

-- 
[simula.research laboratory]
                Åsmund Ødegård
                IT-Manager
                phone: +4790069915
                http://www.simula.no/

Follow ups

References