← Back to team overview

dolfin team mailing list archive

Re: Brave souls wanted - Testing SCons build of DOLFIN

 

Thanks for testing, Johan!

On Nov 29, 2007 8:46 AM, Johan Hake <hake@xxxxxxxxx> wrote:

> 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. ;)
>

Just to begin debuggin - can you say a bit more on where and how you have
umfpack installed? It is _supposed_ to pick up the debian-installed
umfpack/ufsparse/suitesparse automagically...


> 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.


Hmm, have to look into that :)


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

Follow ups

References