[SciPy-User] Compiling SciPy almost works
Fri Aug 6 13:11:29 CDT 2010
On 08/06/2010 11:51 AM, David Warde-Farley wrote:
> On 2010-08-05, at 3:11 AM, David wrote:
>> 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
>> -Lbuild/temp.linux-x86_64-2.6 -o
>> build/lib.linux-x86_64-2.6/scipy/sparse/sparsetools/_csr.so -lstdc++
> Hey David,
> The command I'm using is similar but the build actually fails for me with 11.1... It seems it does not like these sprintf statements:
> gpc-f101n084-$ icc -xHost -O3 -fPIC -openmp -I/home/dwf/pkg/lib/python2.7/site-packages/numpy/core/include -I/home/dwf/pkg/include/python2.7 -c scipy/sparse/sparsetools/csr_wrap.cxx -o build/temp.linux-x86_64-2.7/scipy/sparse/sparsetools/csr_wrap.o
> scipy/sparse/sparsetools/csr_wrap.cxx(2910): error: expected a ")"
> sprintf(s,"%" NPY_INTP_FMT ",", size[i]);
> scipy/sparse/sparsetools/csr_wrap.cxx(2917): error: expected a ")"
> sprintf(s,"%" NPY_INTP_FMT ",", array_size(ary,i));
> compilation aborted for scipy/sparse/sparsetools/csr_wrap.cxx (code 2)
> gpc-f101n084-$ icc --version
> icc (ICC) 11.1 20100414
> Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
> Any thoughts?
> SciPy-User mailing list
This is the closed ticket 1180:
See the thread from about two weeks ago:
Hopefully that will give you sufficient information to address it for icc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User