dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17717
Re: Import error (again)
On Tue, Feb 23, 2010 at 10:38:38PM +0000, Garth N. Wells wrote:
>
>
> Marie Rognes wrote:
> >
> > Am I the only one getting the following error with a fresh dolfin?
> >
>
> I've commented out the offending function. I don't see why it was added.
>
> Garth
It's in the commit log. :-)
The function ident_zeros inserts 1 in the diagonal in all rows where
all entries are zero. This can be used to constrain inactive dofs.
The best option for this would be to implement support for restricted
function spaces (where dofs in some regions are inactive) but it's
currently broken.
--
Anders
> > meg@localhost ~ $ python
> > Python 2.6.4 (r264:75706, Dec 7 2009, 23:01:27)
> > [GCC 4.3.2] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> import dolfin
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > File
> > "/home/meg/local/lib64/python2.6/site-packages/dolfin/__init__.py", line
> > 13, in <module>
> > import dolfin.cpp as cpp
> > File "/home/meg/local/lib64/python2.6/site-packages/dolfin/cpp.py",
> > line 6, in <module>
> > import _cpp
> > ImportError: /home/meg/local/lib/libdolfin.so.0: undefined symbol:
> > _ZN6dolfin13GenericMatrix11ident_zerosEv
> >>>>
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Attachment:
signature.asc
Description: Digital signature
Follow ups
References