ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> numpy-discussion
numpy-discussion
[Numpy-discussion] compile scipy by using intel compiler
by Gennan Chen other posts by this author
Dec 5 2006 1:49PM messages near this date
Re: [Numpy-discussion] equivalent to isempty command in matlab (newbie question) | Re: [Numpy-discussion] compile scipy by using intel compiler
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.45 and 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
Thread:
Gennan Chen
Wb

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved