On Tue, 6 Jan 2015 16:39:51 +0000
Aldo Romero <[email protected]> wrote:
> After trying unsuccessfully to download fenics into a Mac by using
> Macports, I did move to Ubuntu. The download process was really easy
> but now when I did try to import dolfin from python I get the message
>
>
> File "<stdin>", line 1, in <module>
>
> File "/usr/lib/python2.7/dist-packages/dolfin/__init__.py", line
> 16, in <module>
>
> import cpp
>
> File "/usr/lib/python2.7/dist-packages/dolfin/cpp/__init__.py",
> line 42, in <module>
>
> exec("import %s" % module_name)
>
> File "<string>", line 1, in <module>
>
> File "/usr/lib/python2.7/dist-packages/dolfin/cpp/common.py", line
> 32, in <module>
>
> _common = swig_import_helper()
>
> File "/usr/lib/python2.7/dist-packages/dolfin/cpp/common.py", line
> 28, in swig_import_helper
>
> _mod = imp.load_module('_common', fp, pathname, description)
>
> ImportError: /usr/lib/libmpi_f77.so.1: undefined symbol:
> opal_uses_threads
>
> I am not sure what it the problem. I did compile my own version of
> openmpi and I did test it with no problem.
>
> I did also try to download fenics through the fenics_install.sh and
> change the corresponding variables in my .bashrc. I faced the same
> problem.
>
> Any advice? I did not find any useful info on the web.
It looks like runtime linking problem. Have you compiled your own MPI?
What is output of
$ locate libmpi_f77.so
Jan
>
> Thanks in advance
>
> ________________________________
> Prof. Aldo Humberto Romero
> Physics and Astronomy Department
> West Virginia University
> Phone: (304) 2936317
> email: [email protected]
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support