[SciPy-user] Re: Installation Problem - Test Results

Jeffrey Stephens jsteve17 at tampabay.rr.com
Thu Jan 30 15:07:13 EST 2003


After I removed the previous SciPy and installed the CVS version the problem
was corrected; however, I am getting 'some' errors when I run the test

	import scipy
	scipy.test(level=1)

I have attached the test results in a separate file.  I wonder if any of the 
failures have to do with the fact that my blas (3.0-14) and lapack (3.0-14) 
libraries were installed by using the stock RPMS supplied with RedHat 7.3.
Should I upgrade to the most recent and complete versions or does this
make a difference vis-a-vis the errors I got?

Regards,
Jeff S

On Thursday 30 January 2003 02:20 pm, Jeffrey Stephens wrote:
> Using Numeric-22.0.  I built a Numeric RPM from source and installed w/o
> any command line options.  Should I rebuild/reinstall?  I'll download SciPy
> from CVS and try this first.  Thanks.
>
> Regards,
> Jeff S
>
> > What Numeric version are you using? Did you upgrade it recently?
> > If yes, make sure that you installed Numeric with --force flag, e.g.
> >   python setup.py install --force
> > Also, I suggest using CVS version of SciPy.
> >
> > Pearu
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
-------------- next part --------------
$ python
Python 2.2.2 (#1, Nov 22 2002, 17:25:34)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.test(level=1)
No test suite found for  scipy.__cvs_version__
 creating test suite for: scipy.common
No test suite found for  scipy.helper
No test suite found for  scipy.helpmod
No test suite found for  scipy.pilutil
No test suite found for  scipy.proc
No test suite found for  scipy.scipy_tempfile
No test suite found for  scipy.sync
No test suite found for  scipy.io
 creating test suite for: scipy.linalg.basic
 creating test suite for: scipy.linalg.blas

****************************************************************
WARNING: Importing fblas failed with the following exception:
-----------
exceptions.ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_
-----------
See scipy/INSTALL.txt for troubleshooting.
****************************************************************


****************************************************************
WARNING: Importing cblas failed with the following exception:
-----------
exceptions.ImportError: cannot import name cblas
-----------
See scipy/INSTALL.txt for troubleshooting.
Note that if atlas library is not found by scipy/system_info.py,
then scipy skips building cblas and uses fblas instead.
****************************************************************

 creating test suite for: scipy.linalg.decomp
No test suite found for  scipy.linalg.flinalg
No test suite found for  scipy.linalg.interface_gen
 creating test suite for: scipy.linalg.lapack

****************************************************************
WARNING: Importing clapack failed with the following exception:
-----------
exceptions.ImportError: cannot import name clapack
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by scipy/system_info.py,
  then scipy skips building clapack and uses flapack instead.
****************************************************************

 creating test suite for: scipy.linalg.matfuncs
   !! FAILURE building test for  scipy.linalg.matfuncs
    <string>:1: ImportError: No module named test_matfuncs (in ?)
No test suite found for  scipy.special.gendoc
No test suite found for  scipy_base.__cvs_version__
 creating test suite for: scipy_base.function_base
 creating test suite for: scipy_base.index_tricks
 creating test suite for: scipy_base.limits
 creating test suite for: scipy_base.matrix_base
No test suite found for  scipy_base.polynomial
No test suite found for  scipy_base.scimath
No test suite found for  scipy_base.scipy_base_version
 creating test suite for: scipy_base.shape_base
 creating test suite for: scipy_base.type_check
 creating test suite for: scipy.special.special
No test suite found for  scipy.signal
 creating test suite for: scipy.stats.distributions
 creating test suite for: scipy.stats.morestats
No test suite found for  scipy.stats.pstat
No test suite found for  scipy.stats.rv
 creating test suite for: scipy.stats.stats
No test suite found for  scipy.interpolate
No test suite found for  scipy.integrate
No test suite found for  anneal
No test suite found for  scipy.optimize.common_routines
No test suite found for  scipy.optimize.minpack
No test suite found for  scipy.optimize.optimize
 creating test suite for: scipy.optimize.zeros
No test suite found for  scipy.cluster
No test suite found for  scipy.cow
No test suite found for  scipy.ga
 creating test suite for: scipy.fftpack.basic
 creating test suite for: scipy.fftpack.helper
 creating test suite for: scipy.fftpack.pseudo_diffs
......................................................................EEEE....................................................................................................................
Gamma overflow error
...................................................................................................................Testing uniform
.Testing norm
.Testing lognorm
.Testing expon
.Testing beta
.Testing powerlaw
.Testing bradford
.Testing burr
.Testing fisk
.Testing cauchy
.Testing halfcauchy
.Testing foldcauchy
.Testing gamma
.Testing gengamma
.Testing loggamma
.Testing alpha
.Testing anglit
.Testing arcsine
.Testing betaprime
.Testing erlang
.Testing dgamma
.Testing exponweib
.Testing exponpow
.Testing frechet_l
.Testing frechet_r
.Testing gilbrat
.Testing f
.Testing ncf
.Testing chi2
.Testing chi
.Testing nakagami
.Testing genpareto
.Testing genextreme
.Testing genhalflogistic
.Testing pareto
.Testing lomax
.Testing halfnorm
.Testing halflogistic
.Testing fatiguelife
.Testing foldnorm
.Testing ncx2
.Testing t
.Testing nct
.Testing weibull_min
.Testing weibull_max
.Testing dweibull
.Testing maxwell
.Testing rayleigh
.Testing genlogistic
.Testing logistic
.Testing gumbel_l
.Testing gumbel_r
.Testing gompertz
.Testing hypsecant
.Testing laplace
.Testing reciprocal
.Testing triang
.Testing tukeylambda
................Ties preclude use of exact statistic.
..Ties preclude use of exact statistic.
..............................................................................................TESTING CONVERGENCE

zero should be 1

function f2

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000004658
cc.brenth :    1.0000000000002278
cc.brentq :    1.0000000000007097



function f3

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000000000
cc.brenth :    0.9999999999999943
cc.brentq :    1.0000000000000000



function f4

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000001450
cc.brenth :    0.9999999999997333
cc.brentq :    0.9999999999997725



function f5

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000004285
cc.brenth :    1.0000000000014235
cc.brentq :    1.0000000000008802



function f6

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000001068
cc.brenth :    1.0000000000002371
cc.brentq :    1.0000000000004587



............................................
======================================================================
ERROR: check_random (test_decomp.test_qr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/scipy/linalg/tests/test_decomp.py", line 295, in check_random
    q,r = qr(a)
  File "/usr/lib/python2.2/site-packages/scipy/linalg/decomp.py", line 359, in qr
    gemm, = get_blas_funcs(('gemm',),(qr,))
  File "/usr/lib/python2.2/site-packages/scipy/linalg/blas.py", line 43, in get_blas_funcs
    if ordering and fblas.has_column_major_storage(arrays[ordering[0][1]]):
  File "/usr/lib/python2.2/site-packages/scipy_distutils/misc_util.py", line 44, in __getattr__
    raise self._info[0],self._info[1]
ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_

======================================================================
ERROR: check_random_complex (test_decomp.test_qr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/scipy/linalg/tests/test_decomp.py", line 302, in check_random_complex
    q,r = qr(a)
  File "/usr/lib/python2.2/site-packages/scipy/linalg/decomp.py", line 359, in qr
    gemm, = get_blas_funcs(('gemm',),(qr,))
  File "/usr/lib/python2.2/site-packages/scipy/linalg/blas.py", line 43, in get_blas_funcs
    if ordering and fblas.has_column_major_storage(arrays[ordering[0][1]]):
  File "/usr/lib/python2.2/site-packages/scipy_distutils/misc_util.py", line 44, in __getattr__
    raise self._info[0],self._info[1]
ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_

======================================================================
ERROR: check_simple (test_decomp.test_qr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/scipy/linalg/tests/test_decomp.py", line 283, in check_simple
    q,r = qr(a)
  File "/usr/lib/python2.2/site-packages/scipy/linalg/decomp.py", line 359, in qr
    gemm, = get_blas_funcs(('gemm',),(qr,))
  File "/usr/lib/python2.2/site-packages/scipy/linalg/blas.py", line 43, in get_blas_funcs
    if ordering and fblas.has_column_major_storage(arrays[ordering[0][1]]):
  File "/usr/lib/python2.2/site-packages/scipy_distutils/misc_util.py", line 44, in __getattr__
    raise self._info[0],self._info[1]
ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_

======================================================================
ERROR: check_simple_complex (test_decomp.test_qr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/scipy/linalg/tests/test_decomp.py", line 288, in check_simple_complex
    q,r = qr(a)
  File "/usr/lib/python2.2/site-packages/scipy/linalg/decomp.py", line 359, in qr
    gemm, = get_blas_funcs(('gemm',),(qr,))
  File "/usr/lib/python2.2/site-packages/scipy/linalg/blas.py", line 43, in get_blas_funcs
    if ordering and fblas.has_column_major_storage(arrays[ordering[0][1]]):
  File "/usr/lib/python2.2/site-packages/scipy_distutils/misc_util.py", line 44, in __getattr__
    raise self._info[0],self._info[1]
ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_

----------------------------------------------------------------------
Ran 518 tests in 21.019s

FAILED (errors=4)
<unittest.TextTestRunner instance at 0x863e094>


More information about the SciPy-User mailing list