[SciPy-User] Building NumPy 1.6.0 with MKL and MSVS9 on XP 32bit
Klonuo Umom
klonuo at gmail.com
Tue May 17 01:11:58 EDT 2011
> Try the Intel MKL Link Line Advisor
> <http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/>
>
> I use the following multi-thread static libraries with MKL 11.1:
> mkl_lapack95,mkl_blas95,mkl_intel_c,mkl_intel_thread,mkl_core,libiomp5md,libifportmd
>
Thanks for the tip, Christoph
After that install was 'successful' but not the results.
I installed this on P4 with 768 MB RAM (ifort 11.1, MSVC9). This PC is just one
of many nodes I plan to use and others are similarly single CPU P4 with 1GB RAM
Running:
import numpy as np
A=np.ones((1000,1000))
B=np.ones((1000,1000))
%timeit np.dot(A, B)
In IPython, gives this results:
Cygwin/ATLAS : 1 loops, best of 3: 843 ms per loop
Windows/ATLAS* : 1 loops, best of 3: 1.29 s per loop
Windows/MKL : 1 loops, best of 3: 2.37 s per loop
*from offical binary installer
I then run np.test() (with MKL build numpy) and there were indeed errors :(
Now what? :)
Running unit tests for numpy
NumPy version 1.6.0
NumPy is installed in C:\Python26\lib\site-packages\numpy
Python version 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
nose version 1.0.0
........................................................................................................................
........................................................................................................................
........................................................................................................................
..............................................................................................................C:\Python2
6\lib\site-packages\numpy\core\numeric.py:1920: RuntimeWarning: invalid value encountered in absolute
return all(less_equal(absolute(x-y), atol + rtol * absolute(y)))
C:\Python26\lib\site-packages\numpy\core\numeric.py:1920: RuntimeWarning: invalid value encountered in less_equal
return all(less_equal(absolute(x-y), atol + rtol * absolute(y)))
...........................................................................K............................................
........................................................................................................................
........................................................................................................................
........C:\Python26\lib\site-packages\numpy\core\tests\test_regression.py:1017: RuntimeWarning: invalid value encountere
d in sign
have = np.sign(C)
....................................................................................................................K...
..........C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:539: RuntimeWarning: invalid value encountered in
fmax
assert_equal(np.fmax(arg1, arg2), out)
.C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:531: RuntimeWarning: invalid value encountered in fmax
assert_equal(np.fmax(arg1, arg2), out)
...C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:581: RuntimeWarning: invalid value encountered in fmin
assert_equal(np.fmin(arg1, arg2), out)
.C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:573: RuntimeWarning: invalid value encountered in fmin
assert_equal(np.fmin(arg1, arg2), out)
.............C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:240: RuntimeWarning: invalid value encountered
in logaddexp
assert np.isnan(np.logaddexp(np.nan, np.inf))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:241: RuntimeWarning: invalid value encountered in logaddexp
assert np.isnan(np.logaddexp(np.inf, np.nan))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:242: RuntimeWarning: invalid value encountered in logaddexp
assert np.isnan(np.logaddexp(np.nan, 0))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:243: RuntimeWarning: invalid value encountered in logaddexp
assert np.isnan(np.logaddexp(0, np.nan))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:244: RuntimeWarning: invalid value encountered in logaddexp
assert np.isnan(np.logaddexp(np.nan, np.nan))
....C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:174: RuntimeWarning: invalid value encountered in logad
dexp2
assert np.isnan(np.logaddexp2(np.nan, np.inf))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:175: RuntimeWarning: invalid value encountered in logaddexp
2
assert np.isnan(np.logaddexp2(np.inf, np.nan))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:176: RuntimeWarning: invalid value encountered in logaddexp
2
assert np.isnan(np.logaddexp2(np.nan, 0))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:177: RuntimeWarning: invalid value encountered in logaddexp
2
assert np.isnan(np.logaddexp2(0, np.nan))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:178: RuntimeWarning: invalid value encountered in logaddexp
2
assert np.isnan(np.logaddexp2(np.nan, np.nan))
.C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:455: RuntimeWarning: invalid value encountered in maximum
assert_equal(np.maximum(arg1, arg2), out)
.C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:447: RuntimeWarning: invalid value encountered in maximum
assert_equal(np.maximum(arg1, arg2), out)
...C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:497: RuntimeWarning: invalid value encountered in minimu
m
assert_equal(np.minimum(arg1, arg2), out)
.C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:489: RuntimeWarning: invalid value encountered in minimum
assert_equal(np.minimum(arg1, arg2), out)
......................K..K....C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:1203: RuntimeWarning: invalid
value encountered in less
assert_equal(x < y, False, err_msg="%r < %r" % (x, y))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:1204: RuntimeWarning: invalid value encountered in greater
assert_equal(x > y, False, err_msg="%r > %r" % (x, y))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:1205: RuntimeWarning: invalid value encountered in less_equ
al
assert_equal(x <= y, False, err_msg="%r <= %r" % (x, y))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:1206: RuntimeWarning: invalid value encountered in greater_
equal
assert_equal(x >= y, False, err_msg="%r >= %r" % (x, y))
C:\Python26\lib\site-packages\numpy\core\tests\test_umath.py:1207: RuntimeWarning: invalid value encountered in equal
assert_equal(x == y, False, err_msg="%r == %r" % (x, y))
..........................K...SK.S.......S..............................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
.....................................................................C:\Python26\lib\site-packages\numpy\core\fromnumeri
c.py:2278: RuntimeWarning: invalid value encountered in rint
return round(decimals, out)
........................................................................................................................
...C:\Python26\lib\site-packages\numpy\lib\npyio.py:1682: RuntimeWarning: invalid value encountered in equal
outputmask[name] |= (output[name] == mval)
.............................K.........K................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
.........S..............................................................................................................
........................................................................................................................
.....................................................................C:\Python26\lib\site-packages\numpy\ma\core.py:796:
RuntimeWarning: invalid value encountered in less
return umath.less(x, self.critical_value)
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
..................
----------------------------------------------------------------------
Ran 3345 tests in 89.437s
OK (KNOWNFAIL=8, SKIP=4)
Out[7]: <nose.result.TextTestResult run=3345 errors=0 failures=0>
More information about the SciPy-User
mailing list