I'm having trouble with pydolfin when umfpack is installed. I'm pretty
sure the reason is that umfpack is a C library, which is why I get the
below undefined symbol error.
Somehow, I think
extern "C"
needs to appear in the SWIG files somewhere as a prefix to the umfpack
functions. I've tried a few things without luck. It takes an age to
rebuild the SWIG interface, so I'm not getting far with stabs in the
dark. Any ideas what should be done?
Garth
garth@mech136:test$ python test.py
Importing DOLFIN
Traceback (most recent call last):
File "test.py", line 10, in ?
from mesh.test import *
File "/tmp/dolfin/src/test/mesh/test.py", line 9, in ?
from dolfin import *
File
"/tmp/dolfin/local/lib/python2.4/site-packages/dolfin/__init__.py",
line 5, in ?
from dolfin import *
File
"/tmp/dolfin/local/lib/python2.4/site-packages/dolfin/dolfin.py", line
4, in ?
import _dolfin
ImportError: /tmp/dolfin/local/lib/libdolfin.so.0: undefined symbol:
umfpack_di_transpose
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev