[SciPy-dev] numpy 1.4 rc1 conflict with icc 11.1

Forrest Sheng Bao forrest.bao@gmail....
Thu Dec 3 15:09:11 CST 2009


The other compiler is gcc, e.g., gcc, g++, gfortran.

But I never compiled numpy-1.4rc1 with gcc. I always use icc since that's
the default one on my computer.

The OS is CentOS 5.2

grendel:$ uname -a
Linux xxx.hpcc.ttu.edu 2.6.18-128.7.1.el5_lustre.1.8.1.1 #1 SMP Tue Oct 6
05:48:57 MDT 2009 x86_64 x86_64 x86_64 GNU/Linux
grendel:$ icc -v
Version 11.1


Cheers,
Forrest

On Thu, Dec 3, 2009 at 2:25 PM, Charles R Harris
<charlesr.harris@gmail.com>wrote:

>
>
> On Thu, Dec 3, 2009 at 12:46 PM, Forrest Sheng Bao <forrest.bao@gmail.com>wrote:
>
>> But right after those, i saw this
>>
>>
>> compilation aborted for
>> build/src.linux-x86_64-2.4/numpy/core/src/npymath/npy_math.c (code 2)
>> error: Command "icc -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
>> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC
>> -Inumpy/core/include -Ibuild/src.linux-x86_64-2.4/numpy/core/include/numpy
>> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
>> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath
>> -Inumpy/core/include -I/usr/include/python2.4
>> -Ibuild/src.linux-x86_64-2.4/numpy/core/src/multiarray
>> -Ibuild/src.linux-x86_64-2.4/numpy/core/src/umath -c
>> build/src.linux-x86_64-2.4/numpy/core/src/npymath/npy_math.c -o
>> build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/numpy/core/src/npymath/npy_math.o"
>> failed with exit status 2
>>
>> I couldn't see any other reason it aborted the compilation.
>>
>> If I have to find a warning, then this is the only one:
>>
>> numpy/core/src/npymath/npy_math_private.h(414): error: a float, double or
>> long double type must be included in the type specifier for a _Complex or
>> _Imaginary type
>>           complex c99_z;
>>
>>
>>
> Hmm, that does look suspicious. Just for reference, what os are you running
> on? I also wonder if 11.1 differs from David's 11? Another possibility is an
> include file mixup somewhere, what other compilers are on the system?
>
> Chuck
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20091203/889cf400/attachment.html 


More information about the SciPy-Dev mailing list