[SciPy-User] Compiling SciPy almost works
David
david at silveregg.co.jp
Thu Aug 5 03:11:33 EDT 2010
On 08/05/2010 03:27 PM, Søren Gammelmark wrote:
> I have attached the build-log. As far as I can see it chooses the Intel
> compiler with the correct options as it should.
>
> Also recompiling after removing build did not change anything (I do not
> believe it should have, since I was quite careful of doing this with
> every attempt).
Could you try linking the extension "manually" and add -lstdc++, i.e..
icc -fPIC -fomit-frame-pointer -O2 -g -parallel -shared
build/temp.linux-x86_64-2.6/scipy/sparse/sparsetools/csr_wrap.o
-Lbuild/temp.linux-x86_64-2.6 -o
build/lib.linux-x86_64-2.6/scipy/sparse/sparsetools/_csr.so -lstdc++
and see it you can do python -c "import _csr" in the directory where
_csr.so is located.
If this does not work, can you get the verbose output of the link (I
think something like icc -## or icc -v should do it - the goal is to see
every line used by the driver icc to get the exact options used for linking)
cheers,
David
More information about the SciPy-User
mailing list