Public bug reported:
I was trying to use FeniCS actually. As I type the following in python
console, or run the demo programs(either C++ or Python), I get this
error:
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import fenics
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/fenics/__init__.py", line 6, in
<module>
from dolfin import *
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
The last 'undefined symbols' are always there. However, openmpi seems to be
compiled with threads:
$ ompi_info -c | grep -i thread
Thread support: posix (MPI_THREAD_MULTIPLE: no, OPAL support: yes,
OMPI progress: no, ORTE progress: yes, Event lib: yes)
Build CFLAGS: -O3 -DNDEBUG -finline-functions -fno-strict-aliasing
-pthread
Build CXXFLAGS: -O3 -DNDEBUG -finline-functions -pthread
Wrapper extra CFLAGS: -pthread
Wrapper extra CXXFLAGS: -pthread
Wrapper extra FCFLAGS: -pthread
FT Checkpoint support: no (checkpoint thread: no)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libopenmpi1.6 1.6.5-8
ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10
Uname: Linux 3.13.0-40-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Dec 1 09:26:24 2014
InstallationDate: Installed on 2014-10-28 (33 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: openmpi
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: openmpi (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398017
Title:
/usr/lib/libmpi_f77.so.1: undefined symbol: opal_uses_threads
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1398017/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs