dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05654
Re: Brave souls wanted - Testing SCons build of DOLFIN
On Thursday 29 November 2007 02:39:30 Åsmund Ødegård wrote:
> Hi,
>
> I like some brave builders, curious nerds, or really anybody, to visit
> http://fenics.org/wiki/Compiling_DOLFIN_with_SCons and follow the rough
> instructions!
It compiled and installed nicely, but couldn't recognize my umfpack
installations. Neither were my petsc, slepc, or scotch installations
recogniced but I haven't been able to get them work previously. ;)
I set the environmental variables, OPTIONAL_PACKAGE_DIR, to the locations
where they should reside.
When I then try to import dolfin in python i get
In [1]: import dolfin
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
/home/hake/test/dolfin-scons/<ipython console> in <module>()
/home/hake/lib/python2.5/site-packages/dolfin/__init__.py in <module>()
2
----> 3 from constants import *
4 from assemble import *
5 from plot import *
6 from dolfin import *
<type 'exceptions.ImportError'>: No module named constants
Both constants.py and assemble.py are missing from the dolfin directory in the
python path.
Cheers,
Johan
Follow ups
References