On Fri, Jun 20, 2014 at 4:32 PM, Sai Rajeshwar <[email protected]> wrote:
> yes thanks a lot.. now cpp directory has required folders..   and the no
> module error disappeared..
>
> the last error i got was as below..  i hope its the last error..  please
> help me out.. thanks
> -------------------------------------------------
>
> login3$ python demo_poisson.py
>
> Traceback (most recent call last):
>   File "demo_poisson.py", line 37, in <module>
>     from dolfin import *
>   File
> "/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/__init__.py", line
> 16, in <module>
>     import cpp
>   File
> "/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/cpp/__init__.py",
> line 42, in <module>
>     exec("import %s" % module_name)
>   File "<string>", line 1, in <module>
>   File
> "/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/cpp/common.py",
> line 32, in <module>
>     _common = swig_import_helper()
>   File
> "/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/cpp/common.py",
> line 28, in swig_import_helper
>     _mod = imp.load_module('_common', fp, pathname, description)
> ImportError:
> /home1/03023/rajeswar/dolfin-1.4.0/build/dolfin/libdolfin.so.1.4: undefined
> symbol: __gmpn_sqr
>
> ------------------------------------------------------
>
> what is _gmpn_sqr..   shouldi install somesoftware

Let us try to get the C++ demo working first. Enter the demo directory and do:

  mkdir build
  cd build
  cmake ..
  make VERBOSE=1

Post the output here.

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

Reply via email to