[SciPy-user] svn commands

Steve Schmerler elcorto at gmx.net
Sat Dec 3 12:49:53 EST 2005


Pearu Peterson wrote:
> 
> On Sat, 3 Dec 2005, Steve Schmerler wrote:
> 
> 
>>Hi
>>
>>I haven't been following the list for a while. I'd like to try the
>>current versions of scipy_core and scipy from svn.
>>I found 2 svn commands on the list:
>>
>>core:
>>a) svn co http://svn.scipy.org/svn/scipy_core/branches/newcore newcore
>>b) svn co http://svn.scipy.org/svn/scipy_core/trunk core
>>
>>scipy:
>>b)  svn co http://svn.scipy.org/svn/scipy/trunk scipy
>>
>>What are the right commands?
> 
> 
> svn co http://svn.scipy.org/svn/scipy_core/trunk core
> cd core
> rm -rf build
> python setup.py install
> 
> svn co http://svn.scipy.org/svn/scipy/trunk scipy
> cd ../scipy
> rm -rf build
> python setup.py install
> 
> Removing old scipy installation tree before executing the above commands 
> is recommended.
> 
> Pearu
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
> 
> 

Thanx.

I got the scipy and core sources, installed the prerequisites (debian 
packages) mentioned in scipy/INSTALL.txt (ATLAS, ...).

When I run

	scipy.test()

I get a floating point exception:

#########################################################################################################################

elcorto at ramrod:~/Install/Python/SciPy/scipy$ ipython
Python 2.3.5 (#2, Sep  4 2005, 22:01:42)
Type "copyright", "credits" or "license" for more information.

IPython 0.6.13 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]:

In [1]:

In [1]: import scipy
Importing test to scipy
Importing base to scipy
Importing basic to scipy
Importing io to scipy
Importing fftpack to scipy
Importing special to scipy
Importing cluster to scipy
Importing sparse to scipy
Importing utils to scipy
Importing interpolate to scipy
Importing lib to scipy
Importing signal to scipy
Importing integrate to scipy
Importing optimize to scipy
Importing linalg to scipy
Importing stats to scipy

In [2]: scipy.test()
   Found 4 tests for scipy.io.array_import
   Found 128 tests for scipy.linalg.fblas
   Found 2 tests for scipy.base.umath
   Found 10 tests for scipy.integrate.quadpack
   Found 92 tests for scipy.stats.stats
   Found 9 tests for scipy.base.twodim_base
   Found 36 tests for scipy.linalg.decomp
   Found 49 tests for scipy.sparse.sparse
   Found 20 tests for scipy.fftpack.pseudo_diffs
   Found 6 tests for scipy.optimize.optimize
   Found 5 tests for scipy.interpolate.fitpack
   Found 4 tests for scipy.base.index_tricks
   Found 70 tests for scipy.stats.distributions
   Found 12 tests for scipy.io.mmio
   Found 10 tests for scipy.stats.morestats
   Found 4 tests for scipy.linalg.lapack
   Found 24 tests for scipy.base.function_base
   Found 18 tests for scipy.fftpack.basic
   Found 1 tests for scipy.optimize.zeros
   Found 92 tests for scipy.stats
   Found 4 tests for scipy.fftpack.helper
   Found 6 tests for scipy.base.matrix
   Found 42 tests for scipy.lib.lapack
   Found 42 tests for scipy.base.type_check
   Found 339 tests for scipy.special.basic
   Found 128 tests for scipy.lib.blas.fblas
   Found 7 tests for scipy.linalg.matfuncs
   Found 41 tests for scipy.linalg.basic
   Found 1 tests for scipy.optimize.cobyla
   Found 14 tests for scipy.lib.blas
   Found 1 tests for scipy.integrate
   Found 14 tests for scipy.linalg.blas
   Found 17 tests for scipy.base.ma
   Found 3 tests for scipy.base.getlimits
   Found 6 tests for scipy.optimize
   Found 49 tests for scipy.sparse
   Found 44 tests for scipy.base.shape_base
   Found 3 tests for scipy.basic.helper
   Found 3 tests for scipy.signal.signaltools
   Found 0 tests for __main__

Don't worry about a warning regarding the number of bytes read.
Warning: 1000000 bytes requested, 20 bytes read.
.......caxpy:n=4
..caxpy:n=3
....ccopy:n=4
..ccopy:n=3
.............cscal:n=4
....cswap:n=4
..cswap:n=3
.....daxpy:n=4
..daxpy:n=3
....dcopy:n=4
..dcopy:n=3
.............dscal:n=4
....dswap:n=4
..dswap:n=3
.....saxpy:n=4
..saxpy:n=3
....scopy:n=4
..scopy:n=3
.............sscal:n=4
....sswap:n=4
..sswap:n=3
.....zaxpy:n=4
..zaxpy:n=3
....zcopy:n=4
..zcopy:n=3
.............zscal:n=4
....zswap:n=4
..zswap:n=3
..............................................................................
.............................................................................
......................................................................
../usr/lib/python2.3/site-packages/scipy/interpolate/fitpack2.py:410: 
UserWarning:
The coefficients of the spline returned have been computed as the
minimal norm least-squares solution of a (numerically) rank deficient
system (deficiency=7). If deficiency is large, the results may be
inaccurate. Deficiency may strongly depend on the value of eps.
   warnings.warn(message)
.............................................................................................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 :    0.9999999999999997
cc.brentq :    0.9999999999999577



function f3

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000000000
cc.brenth :    1.0000000000000009
cc.brentq :    1.0000000000000011



function f4

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000001452
cc.brenth :    0.9999999999993339
cc.brentq :    0.9999999999993339



function f5

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000004574
cc.brenth :    0.9999999999991442
cc.brentq :    0.9999999999991442



function f6

cc.bisect :    1.0000000000001952
cc.ridder :    1.0000000000004279
cc.brenth :    0.9999999999999446
cc.brentq :    1.0000000000006486



.........................................................................................................................
.........................................................................................................................
.............................Gleitkomma-Ausnahme
elcorto at ramrod:~/Install/Python/SciPy/scipy$


#########################################################################################################################

-- 
Should array indices start at 0 or 1? My compromise of 0.5 was rejected 
without, I thought, proper consideration.
-- Stan Kelly-Bootle




More information about the SciPy-User mailing list