getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Compiler problems with SVN working copy on AMD64


From: julien pommier
Subject: Re: [Getfem-users] Compiler problems with SVN working copy on AMD64
Date: Mon, 12 Feb 2007 13:11:28 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070104)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]