[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Error with the python interface
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] Error with the python interface |
Date: |
Sat, 21 Jan 2017 17:00:17 +0100 (CET) |
Dear David,
libsmumps_seq is the sequential Mumps library. May be you installed the
parallel one (libsmumps). Please check.
Yves.
----- Original Message -----
From: "David Danan" <address@hidden>
To: "getfem-users" <address@hidden>
Sent: Saturday, January 21, 2017 3:48:56 PM
Subject: Re: [Getfem-users] Error with the python interface
Dear Getfem users,
beside the interface problem, i noticed that there is another issue. When i
compile the test case elastostatic.cc, for instance, i get the following error
message
ld: library not found for -lsmumps_seq
And since i am on Mac, i didn't find how to obtain the missing library (as
recommended on the Getfem download page, i used brew to download mumps but
that's it). Is there anyone who had a similar problem on Mac?
Thank you in advance,
David.
-----E-mail d'origine-----
De : David Danan <address@hidden>
A: getfem-users <address@hidden>
Envoyé le : Ma, 17 Jan 2017 17:44
Sujet : Error with the python interface
Dear Getfem users,
I have just installed Getfem on a mac but i have trouble with the python
interface.
The compilation process occur ed without major issue, but when importing python
in a demo example , I get the following error
Traceback (most recent call last):
File "demo_laplacian.py", line 30, in <module>
import getfem as gf
File "/usr/local/lib/python2.7/site-packages/getfem/__init__.py", line 16, in
<module>
from getfem import *
File "/usr/local/lib/python2.7/site-packages/getfem/getfem.py", line 44, in
<module>
from _getfem import *
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/getfem/_getfem.so,
2): Symbol not found: __ZNSt12bad_weak_ptrD1Ev
Referenced from: /usr/local/lib/python2.7/site-packages/getfem/_getfem.so
Expected in: flat namespace
in /usr/local/lib/python2.7/site-packages/getfem/_getfem.so
I had this issue with the options "-enable-python=yes --with-pic" for
configure.
Do you have any clue about the cause of the problem ?
Thank you in advance,
David.
_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users
- [Getfem-users] Error with the python interface, David Danan, 2017/01/17
- Re: [Getfem-users] Error with the python interface, David Danan, 2017/01/21
- Re: [Getfem-users] Error with the python interface,
Yves Renard <=
- Re: [Getfem-users] Error with the python interface, David Danan, 2017/01/22
- Re: [Getfem-users] Error with the python interface, Yves Renard, 2017/01/23
- Re: [Getfem-users] Error with the python interface, Konstantinos Poulios, 2017/01/23
- Re: [Getfem-users] Error with the python interface, David Danan, 2017/01/23
- Re: [Getfem-users] Error with the python interface, Konstantinos Poulios, 2017/01/23
- Re: [Getfem-users] : Error with the python interface, David Danan, 2017/01/23