Hi,

as requested in the bitbucket issues section
(https://bitbucket.org/fenics-project/dolfin/issue/76) I send my problem
to this email. Hopefully the solution is already known and somebody can
help me. I compiled with dorsal on a machine, where I had no root
access. My config is 


once:sqlite
once:libxml2
once:python
once:ply
once:ipython
once:swig
once:cmake
once:bazaar
once:boost
once:pcre
# once:blas
# once:lapack
skip:atlas #allready compiled
once:lapack
once:numpy
once:suitesparsewithmetis_OpenMPI
once:parmetis
once:trilinos
once:petsc
once:petsc4py
once:slepc
once:armadillo
once:scipy
once:cgal
once:scotch
once:gmp
once:mpfr
once:mtl
once:scientificpython
once:fiat
once:ufc
once:ufl
once:ffc
once:instant
once:vtkwithqt
once:viper
dolfin



but then I get the error when I try to run a demo or to import dolfin in
general (in python)



#> ~/dorsal_tmp/bin/share/dolfin/demo/pde/poisson/python> python
demo_poisson.py
Traceback (most recent call last):
  File "demo_poisson.py", line 37, in <module>
    from dolfin import *
  File
"~/dorsal_tmp/bin/lib/python2.7/site-packages/dolfin/__init__.py", line
16, in <module>
    import cpp
  File
"~/dorsal_tmp/bin/lib/python2.7/site-packages/dolfin/cpp/__init__.py",
line 40, in <module>
    exec("import %s" % module_name)
  File "<string>", line 1, in <module>
ImportError: No module named common



Any Idea? The libdolfin.so exists in the path as well as the common
site-package. As a side note I had to compile dolfin with a more recent
version of swig then the one that was installed with the swig.package.

Thanks in advance!
-- 
Dipl.-Math. Johannes Neumann
Weierstraß-Institut für Angewandte
Analysis und Stochastik
Mohrenstraße 39
10117 Berlin
Tel. +49 (0)30 20372 567

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to