[SciPy-User] Compiling SciPy almost works

David Cournapeau cournape@gmail....
Wed Aug 4 11:50:03 CDT 2010


On Wed, Aug 4, 2010 at 8:55 PM, Søren Gammelmark <gammelmark@phys.au.dk> wrote:
> Hi everyone
>
> I just finished compiling NumPy 1.4.1 and SciPy 0.8.0 using Intel C++
> and Fortran compilers (Version 9.1) and linking to Intel MKL 10.2. SciPy
> appears to compile fine, but a couple of the modules seems to be broken.
> When I import scipy.sparse i get the following error
>
>     import scipy.sparse
>   File
> "/home/sgamark/usr/lib/python2.6/site-packages/scipy/sparse/__init__.py", line
> 6, in <module>
>     from csr import *
>   File
> "/home/sgamark/usr/lib/python2.6/site-packages/scipy/sparse/csr.py",
> line 12, in <module>
>     from sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
>   File
> "/home/sgamark/usr/lib/python2.6/site-packages/scipy/sparse/sparsetools/__init__.py",
> line 4, in <module>
>     from csr import *
>   File
> "/home/sgamark/usr/lib/python2.6/site-packages/scipy/sparse/sparsetools/csr.py",
> line 7, in <module>
>     import _csr
> ImportError:
> /home/sgamark/usr/lib/python2.6/site-packages/scipy/sparse/sparsetools/_csr.so:
> undefined symbol: __gxx_personality_v0

That's often caused by incompatibilities between C++ runtimes and
compilers. Can you post the build.log with the relevant parts for
sparsetools ?

David


More information about the SciPy-User mailing list