dasum_ is part of the BLAS library, so probably the module _getfem.so was not linked against the blas you used to build getfem. I'll investigate on this build problem. Right now the easiest solution is probably to build getfem with

./configure BLAS_LIBS=internal

(or to relink "by hand" the _getfem.so file )


Eugen Wintersberger wrote:
Compiler run works. However, when I try to import getfem into python it raises the following exception:

In [1]: import getfem
--------------------------------------------------------------------------- exceptions.ImportError Traceback (most recent call last)

/home/eugen/src/getfemtest/<ipython console>

/home/eugen/apps/inst/lib/python2.4/site-packages/getfem/__init__.py
     28 #import sys
     29 #sys.path.insert(0,'build/lib.linux-i686-2.3/');
---> 30 from getfem import *
     31
     32

/home/eugen/apps/inst/lib/python2.4/site-packages/getfem/getfem.py
     37
     38 sys.path.insert(0,'build/lib.linux-i686-2.3/');
---> 39 from _getfem import *
     40 obj_count = {}
     41 getfem('workspace','clear all')

ImportError: /home/eugen/apps/inst/lib/python2.4/site-packages/getfem/_getfem.so: undefined symbol: dasum_

In [2]:

For compilation I used the following configure run:
./configure --prefix=/home/eugen/apps/inst --enable-shared --enable-python --disable-matlab --with-pic

best regards
  Eugen



--
Julien Pommier, bureau 111
GMM, INSA Toulouse, tél:05 61 55 93 42


_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to