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

Forrest Sheng Bao forrest.bao@gmail....
Thu Dec 3 13:46:18 CST 2009


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;


Cheers,
Forrest


On Thu, Dec 3, 2009 at 1:42 PM, Matthieu Brucher <matthieu.brucher@gmail.com
> wrote:

> Hi,
>
> It's not, remarks are even lower than warnings, so no error here ;)
>
> Matthieu
>
> 2009/12/3 Forrest Sheng Bao <forrest.bao@gmail.com>:
> > I took a look at the compilation log and though the error might be here:
> >
> > numpy/core/src/npymath/npy_math.c.src(398): remark #1418: external
> function
> > definition with no prior declaration
> >   float npy_log2_1pf(float x)
> >         ^
> >
> > numpy/core/src/npymath/npy_math.c.src(401): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       if (u == 1) {
> >                ^
> >
> > numpy/core/src/npymath/npy_math.c.src(408): remark #1418: external
> function
> > definition with no prior declaration
> >   float npy_exp2_1mf(float x)
> >         ^
> >
> > numpy/core/src/npymath/npy_math.c.src(411): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       if (u == 1.0) {
> >                ^
> >
> > numpy/core/src/npymath/npy_math.c.src(413): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       } else if (u - 1 == -1) {
> >                           ^
> >
> > numpy/core/src/npymath/npy_math.c.src(398): remark #1418: external
> function
> > definition with no prior declaration
> >   double npy_log2_1p(double x)
> >          ^
> >
> > numpy/core/src/npymath/npy_math.c.src(401): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       if (u == 1) {
> >                ^
> >
> > numpy/core/src/npymath/npy_math.c.src(408): remark #1418: external
> function
> > definition with no prior declaration
> >   double npy_exp2_1m(double x)
> >          ^
> >
> > numpy/core/src/npymath/npy_math.c.src(411): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       if (u == 1.0) {
> >                ^
> >
> > numpy/core/src/npymath/npy_math.c.src(413): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       } else if (u - 1 == -1) {
> >                           ^
> >
> > numpy/core/src/npymath/npy_math.c.src(398): remark #1418: external
> function
> > definition with no prior declaration
> >   npy_longdouble npy_log2_1pl(npy_longdouble x)
> >                  ^
> >
> > numpy/core/src/npymath/npy_math.c.src(401): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       if (u == 1) {
> >                ^
> >
> > numpy/core/src/npymath/npy_math.c.src(408): remark #1418: external
> function
> > definition with no prior declaration
> >   npy_longdouble npy_exp2_1ml(npy_longdouble x)
> >                  ^
> >
> > numpy/core/src/npymath/npy_math.c.src(411): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       if (u == 1.0) {
> >                ^
> >
> > numpy/core/src/npymath/npy_math.c.src(413): remark #1572: floating-point
> > equality and inequality comparisons are unreliable
> >       } else if (u - 1 == -1) {
> >                           ^
> >
> > compilation aborted for
> > build/src.linux-x86_64-2.4/numpy/core/src/npymath/npy_math.c (code 2)
> >
> >
> > Cheers,
> > Forrest
> >
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-dev
> >
> >
>
>
>
> --
> Information System Engineer, Ph.D.
> Blog: http://matt.eifelle.com
> LinkedIn: http://www.linkedin.com/in/matthieubrucher
> _______________________________________________
> 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/6116391c/attachment-0001.html 


More information about the SciPy-Dev mailing list