dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #01050
Re: PyDOLFIN: [...]
On Thu, Sep 29, 2005 at 10:51:12AM -0500, Anders Logg wrote:
> This looks really cool, but I can't run the demo:
>
> galerkin:> python swigtest.py
> Traceback (most recent call last):
> File "swigtest.py", line 1, in ?
> import pydolfin
> File
> "/extra/src/dolfin/dolfin/src/demo/scripting/pydolfin/pydolfin.py",
> line 5, in ?
> import _pydolfin
> ImportError:
> /extra/src/dolfin/dolfin/src/demo/scripting/pydolfin/_pydolfin.so:
> undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
>
> Something you recognize?
>
You can demangle the symbol like this:
$ c++filt _ZNSs4_Rep20_S_empty_rep_storageE
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage
So it has to do with the std::string include I tried for SWIG. I've
removed it now, it's not used right now. So now it shouldn't reference
it.
> If we get the Python interface up and running, we should consider how
> to distribute it and what to name it. PyDOLFIN sounds good though.
>
> Maybe in the context of Python, it could just be called DOLFIN:
>
> import dolfin
>
> instead of pydolfin?
Yes, that's a good idea.
Johan
Follow ups
References