[Numpy-discussion] compile scipy by using intel compiler

WB cssmwbs at gmail.com
Sat Dec 9 00:20:31 CST 2006


hi gen,

have you tried the compiler designed specifically for the opteron rather
than the intel?
you can download it here:

http://developer.amd.com/acml.jsp

don't know if it will get rid of any of your errors or if it will help
compile scipy, but it may be worth a try anyway.

wb

On 12/5/06, Gennan Chen < gnchen at cortechs.net> wrote:
>
>  Hi! All,
>
> I have a dual opteron 285 with 8G ram machine. And I ran FC6 x86_64 on
> that. I did manage to get numpy (from svn) compiled by using icc 9.1.0.45and mkl
> 9.0 ( got 3 errors when I ran the est). But no such luck for scipy (from
> svn). Below is the error:
>
> Lib/special/cephes/mconf.h(137): remark #193: zero used for undefined
> preprocessing identifier
>   #if WORDS_BIGENDIAN  /* Defined in pyconfig.h */
>       ^
>
> Lib/special/cephes/const.c(92): error: floating-point operation result is
> out of range
>   double INFINITY = 1.0/0.0;  /* 99e999; */
>                        ^
>
> Lib/special/cephes/const.c(97): error: floating-point operation result is
> out of range
>   double NAN = 1.0/0.0 - 1.0/0.0;
>                   ^
>
> Lib/special/cephes/const.c(97): error: floating-point operation result is
> out of range
>   double NAN = 1.0/0.0 - 1.0/0.0;
>                             ^
>
> compilation aborted for Lib/special/cephes/const.c (code 2)
> error: Command "icc -O2 -g -fomit-frame-pointer -mcpu=pentium4
> -mtune=pentium4 -march=pentium4 -msse3 -axW -Wall -fPIC -c
> Lib/special/cephes/const.c -o build/temp.linux-x86_64-2.4/Lib/special/cephes/const.o"
> failed with exit status 2
>
> Did anyone has a solution for this?
>
> BTW, the 3 error I got from numpy are:
> File
> "/usr/lib64/python2.4/site-packages/numpy/lib/tests/test_ufunclike.py", line
> 25, in test_ufunclike
> Failed example:
>     nx.sign(a)
> Expected:
>     array([ 1., -1.,  0.,  0.,  1., -1.])
> Got:
>     array([ 1., -1., -1.,  0.,  1., -1.])
> **********************************************************************
> File
> "/usr/lib64/python2.4/site-packages/numpy/lib/tests/test_ufunclike.py", line
> 40, in test_ufunclike
> Failed example:
>     nx.sign(a, y)
> Expected:
>     array([True, True, False, False, True, True], dtype=bool)
> Got:
>     array([True, True, True, False, True, True], dtype=bool)
> **********************************************************************
> File
> "/usr/lib64/python2.4/site-packages/numpy/lib/tests/test_ufunclike.py", line
> 43, in test_ufunclike
> Failed example:
>     y
> Expected:
>     array([True, True, False, False, True, True], dtype=bool)
> Got:
>     array([True, True, True, False, True, True], dtype=bool)
>
>
> Are these error serious??
>
> Or maybe I should get back to gcc? Anyone got a good speed up by using icc
> and mkl?
>
>   --
> Gen-Nan Chen, PhD
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20061208/5c304aea/attachment-0001.html 


More information about the Numpy-discussion mailing list