← Back to team overview

dolfin team mailing list archive

Re: [Question #136165]: Mixed FunctionSpace Error

 

Question #136165 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/136165

    Status: Open => Answered

Johan Hake proposed the following answer:
On Tuesday November 30 2010 22:16:42 Ajay wrote:
> Question #136165 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/136165
> 
>     Status: Answered => Open
> 
> Ajay is still having a problem:
> I'am running Dolfin in CAELinux2010, I downloaded the demo from the
> http://www.fenicsproject.org/ BTW how to check my dolfin version

If you are using apt-get:

  apt-cache showpkg dolfin-dev

or just:

  python -c"import dolfin;print dolfin.__version__"

You might want to install a newer version, which I recomend, or run the demos 
that goes with the version you have installed. 

For this you need the package:

  dolfin-doc

Then you can do:

  mkdir dolfin-demo
  cp -r /usr/share/doc/dolfin-doc/demo/* dolfin-demo
  cd dolfin-demo/pde/cahn-hilliard/python/
  python demo.py

Johan

> Ajay

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.