I am getting the following error while trying to import dolfin :


from dolfin import *
---------------------------------------------------------------------------
ImportError Traceback (most recent call last) /uio/hume/student-u29/imranal/<ipython-input-1-f9fe29351801> in <module>()
----> 1 from dolfin import *

/uio/hume/student-u29/imranal/Work/FEniCS/lib64/python2.6/site-packages/dolfin/__init__.pyc in <module>()
     14
     15 # Import names from the compiled cpp modules

---> 16 import cpp
     17 from dolfin.cpp import *
     18 from dolfin.cpp import __version__, __swigversion__

/uio/hume/student-u29/imranal/Work/FEniCS/lib64/python2.6/site-packages/dolfin/cpp/__init__.py in <module>()
     40
     41     # Import the module

---> 42     exec("import %s" % module_name)
     43     module = globals()[module_name]
     44

/uio/hume/student-u29/imranal/<string> in <module>()

/uio/hume/student-u29/imranal/Work/FEniCS/lib64/python2.6/site-packages/dolfin/cpp/common.py in <module>()
     26                 fp.close()
     27             return _mod
---> 28     _common = swig_import_helper()
     29     del swig_import_helper
     30 else:

/uio/hume/student-u29/imranal/Work/FEniCS/lib64/python2.6/site-packages/dolfin/cpp/common.py in swig_import_helper()
     22         if fp is not None:
     23             try:
---> 24 _mod = imp.load_module('_common', fp, pathname, description)
     25             finally:
     26                 fp.close()

ImportError: libmpi_cxx.so.1: cannot open shared object file: No such file or directory




Additionally, while running the Poisson demo :


$ gcc main.cpp
In file included from /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/multistage/dolfin_multistage.h:8, from /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin.h:21,
                 from main.cpp:34:
/uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/multistage/PointIntegralSolver.h:25:23: error: Eigen/Dense: No such file or directory /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/multistage/PointIntegralSolver.h:101: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/multistage/PointIntegralSolver.h:101: error: expected ‘;’ before ‘_J’ /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/multistage/PointIntegralSolver.h:102: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/multistage/PointIntegralSolver.h:102: error: expected ‘;’ before ‘<’ token /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/Extrapolation.h:90: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/Extrapolation.h:90: error: expected ‘,’ or ‘...’ before ‘&’ token /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:49: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:49: error: expected ‘,’ or ‘...’ before ‘&’ token /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:59: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:59: error: expected ‘,’ or ‘...’ before ‘&’ token /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:68: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:68: error: expected ‘,’ or ‘...’ before ‘&’ token /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:79: error: ‘Eigen’ has not been declared /uio/hume/student-u29/imranal/Work/FEniCS/include/dolfin/adaptivity/LocalAssembler.h:79: error: expected ‘,’ or ‘...’ before ‘&’ token
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to