[SciPy-user] scipy super pack installer for win32: please test

joep josef.pktd@gmail....
Wed Oct 22 10:22:06 CDT 2008


> http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy/scipy-0.7.0.dev4826-win32-superpack-python2.5.exe

installs without problems on windowsXP, sse2
The only problem I had was that I had a trunk version of scipy (on a
non site-packages directory) in easy-install.pth, which I needed to
comment out. Initially it loaded this version instead of the one
installed
in site-packages by the superpack.

One weird thing I found, when I run scipy.test() in a command shell,
or ipython shell, then I get a large output with Depreciation Warnings
and test output. When I run scipy.test() in an Idle shell, I don't get
any Depreciation Warnings or test output. I have no idea why the
output should be different.

Another observation which is not clear but is not very important is
that, when I compiled the trunk version a few weeks ago (with MingW)
and I run scipy.test(), then I don't get the 2 test failures in
test_lapack.test_all_lapack. (my lapack and atlas files were
downloaded a long time ago from the scipy.org install description
page)

Josef


Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.__file__
'C:\\Programs\\Python25\\lib\\site-packages\\scipy\\__init__.pyc'
>>> scipy.test()
Running unit tests for scipy
NumPy version 1.2.0rc2
NumPy is installed in C:\Programs\Python25\lib\site-packages\numpy
SciPy version 0.7.0.dev4826
SciPy is installed in C:\Programs\Python25\lib\site-packages\scipy
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310
32 bit (Int
el)]
nose version 0.10.4

...
----------------------------------------------------------------------
Ran 2317 tests in 46.969s

FAILED (KNOWNFAIL=2, SKIP=14, failures=2)
<nose.result.TextTestResult run=2317 errors=0 failures=2>
>>>
>>> scipy.show_config()
umfpack_info:
  NOT AVAILABLE

dfftw_info:
  NOT AVAILABLE

blas_opt_info:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['C:\\local\\lib\\yop\\sse2']
    define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]
    language = c

mkl_info:
  NOT AVAILABLE

djbfft_info:
  NOT AVAILABLE

atlas_blas_threads_info:
  NOT AVAILABLE

lapack_opt_info:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['C:\\local\\lib\\yop\\sse2']
    define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]
    language = f77

fftw2_info:
  NOT AVAILABLE

fftw3_info:
  NOT AVAILABLE

atlas_info:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['C:\\local\\lib\\yop\\sse2']
    language = f77

lapack_mkl_info:
  NOT AVAILABLE

blas_mkl_info:
  NOT AVAILABLE

atlas_blas_info:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['C:\\local\\lib\\yop\\sse2']
    language = c

atlas_threads_info:
  NOT AVAILABLE

>>>

2 failures are

======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\programs\python25\lib\site-packages\nose-0.10.4-py2.5.egg
\nose\case.p
y", line 182, in runTest
    self.test(*self.arg)
  File "C:\Programs\Python25\Lib\site-packages\scipy\lib\lapack\tests
\esv_tests.
py", line 41, in check_syevr
    assert_array_almost_equal(w,exact_w)
  File "C:\Programs\Python25\Lib\site-packages\numpy\testing
\utils.py", line 311
, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "C:\Programs\Python25\Lib\site-packages\numpy\testing
\utils.py", line 296
, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal

(mismatch 33.3333333333%)
 x: array([-0.66992444,  0.48769444,  9.18222618], dtype=float32)
 y: array([-0.66992434,  0.48769389,  9.18223045])

======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\programs\python25\lib\site-packages\nose-0.10.4-py2.5.egg
\nose\case.p
y", line 182, in runTest
    self.test(*self.arg)
  File "C:\Programs\Python25\Lib\site-packages\scipy\lib\lapack\tests
\esv_tests.
py", line 66, in check_syevr_irange
    assert_array_almost_equal(w,exact_w[rslice])
  File "C:\Programs\Python25\Lib\site-packages\numpy\testing
\utils.py", line 311
, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "C:\Programs\Python25\Lib\site-packages\numpy\testing
\utils.py", line 296
, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal

(mismatch 33.3333333333%)
 x: array([-0.66992444,  0.48769444,  9.18222618], dtype=float32)
 y: array([-0.66992434,  0.48769389,  9.18223045])

































More information about the SciPy-user mailing list