On Thursday 29 November 2007 12:04:18 Åsmund Ødegård wrote: > Thanks for testing, Johan! > > On Nov 29, 2007 8:46 AM, Johan Hake <[EMAIL PROTECTED]> 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...
Sorry, my fault. Forgot to install the -dev package! Now scons find umfpack and compile using -DHAS_UMFPACK=1. But if I try scons enableUmfpack=no it still compile using umfpack. Johan > > > 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 :) _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
