Marco Morandini
unread,Sep 6, 2017, 11:34:12 AM9/6/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fenics-support
I'm having an hard time building a working dolfin (git master) on my new
laptop.
The same building procedure leads to a working dolfin on my desktop.
The two machines, however differ: the laptopt has a newer swig and gcc
(3.0.12 and 7.1.1, respectively)
The error I'm getting is
--------------------------------
marco@spark:~> python3
Python 3.6.1 (default, Mar 23 2017, 13:04:44) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from dolfin import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/marco/local/Fenics/lib64/python3.6/site-packages/dolfin/__init__.py",
line 17, in <module>
from . import cpp
File
"/home/marco/local/Fenics/lib64/python3.6/site-packages/dolfin/cpp/__init__.py",
line 43, in <module>
exec("from . import %s" % module_name)
File "<string>", line 1, in <module>
File
"/home/marco/local/Fenics/lib64/python3.6/site-packages/dolfin/cpp/common.py",
line 21, in <module>
_common = swig_import_helper()
File
"/home/marco/local/Fenics/lib64/python3.6/site-packages/dolfin/cpp/common.py",
line 18, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
SystemError: initialization of _common raised unreported exception
--------------------
Running python3 under a debugger and setting a breakpoint to
PyInit__common did not help: PyInit__common returns without raising any
exception.
_bootstrap._gcd_import appears to be frozen inside python, so I don't
get any additional clues editing my system _bootstrap.py
I also do not see missing libraries with "ldd _common.so"
Any suggestion on how to troubleshoot this?
Thank you in advance,
Marco