[SciPy-User] SciPy-User Digest, Vol 96, Issue 47

Xiong Deng dbigbear@gmail....
Mon Aug 29 01:54:42 CDT 2011

```Dear Bruce,

My Linux is：

Red Hat Enterprise Linux AS release 4 (Nahant Update 3)

Many thanks
John

On 28 August 2011 22:39, <scipy-user-request@scipy.org> wrote:

> Send SciPy-User mailing list submissions to
>        scipy-user@scipy.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mail.scipy.org/mailman/listinfo/scipy-user
> or, via email, send a message with subject or body 'help' to
>        scipy-user-request@scipy.org
>
> You can reach the person managing the list at
>        scipy-user-owner@scipy.org
>
> than "Re: Contents of SciPy-User digest..."
>
>
> Today's Topics:
>
>   1. Install Scipy Errors: ImportError: /path_to/liblapack.so:
>      undefined symbol: ztbsv_ (Johnny)
>   2. How can I solve a equation like
>      sqrt(log(x)*erfc(exp(log(x)+1)) - 1) = 2 and exp((log(x) -
>      1.5)**2 - 3) = 5 (Johnny)
>   3. Re: How can I solve a equation like
>      sqrt(log(x)*erfc(exp(log(x)+1)) - 1) = 2 and exp((log(x) -
>      1.5)**2 - 3) = 5 (Robert Kern)
>   4. Re: Return variable value by function value (Andy Wilson)
>   5. Sotring data for fast access (ali franco)
>   6. Does odeint return derivative (ali franco)
>   7. RectBivariateSpline (ali franco)
>   8. Re: Install Scipy Errors: ImportError: /path_to/liblapack.so:
>      undefined symbol: ztbsv_ (Bruce Southey)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 27 Aug 2011 23:16:06 -0700 (PDT)
> From: Johnny <dbigbear@gmail.com>
> Subject: [SciPy-User] Install Scipy Errors: ImportError:
>        /path_to/liblapack.so: undefined symbol: ztbsv_
> To: scipy-user@scipy.org
> Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi all,
>
> I am installing lapack, atlas, numpy, scipy on my LINUX for TEN times,
> but always encountering the problem:
>
> [work <at> XXX]\$ python -c 'import scipy.optimize;
> scipy.optimize.test()'
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> scipy/optimize/__init__.py", line 11, in <module>
>    from lbfgsb import fmin_l_bfgs_b
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> scipy/optimize/lbfgsb.py", line 28, in <module>
>    import _lbfgsb
> ImportError: /home/work/local/lib/liblapack.so: undefined symbol:
> ztbsv_
>
> I can pass some other tests like:
>
>
> [work <at> XXX:~/local]\$ python -c 'import scipy.ndimage;
> scipy.ndimage.test()'
> Running unit tests for scipy.ndimage
> NumPy version 1.6.1
> NumPy is installed in /home/work/local/python-2.7.1/lib/python2.7/site-
> packages/numpy
> SciPy version 0.9.0
> SciPy is installed in /home/work/local/python-2.7.1/lib/python2.7/site-
> packages/scipy
> Python version 2.7.1 (r271:86832, Jan 13 2011, 22:17:56) [GCC 3.4.5
> 20051201 (Red Hat 3.4.5-2)]
> nose version 1.1.2
>
> .........S.................................................................................................................................................................................................................................................................................................................................................................................................................
> ----------------------------------------------------------------------
> Ran 411 tests in 1.247s
>
> OK (SKIP=1)
>
> The problem seems due to the lib of Lapack. So I tried the solutions
> posted on the internet before.
>
> 1) The liblapack.so may be not complete...SO I tried this:
>    # integrate lapack with atlas:
>    cd lib/
>    mkdir tmp
>    cd tmp/
>    ar x ../liblapack.a
>    cp ~/path_to/lapack-3.1.1/lapack_LINUX.a ../liblapack.a
>    ar r ../liblapack.a *.o
>    cd ../..
>    make check
>    make ptcheck
>    cp include/* ~/include/
>    cp lib/*.a ~/lib/
>
> That is, after installing atlas, there is another liblapack.a (in
> addition to the lapack_LINUX.a after Lapack) in its lib, but it is
> about 500k, so I integrate it with the lapack_LINUX.a from installing
> Lapack. The final liblapack.a is about 9.3m, The liblapack.so is about
> 5m
>
> 2) re-install Lapack and atlas many times....No use
>
> 3) I found there is a lapack.so under scipy/lib, and it is about 500K,
> but I think it may be not the problem, becaues the failure is
> "ImportError: /home/work/local/lib/liblapack.so: undefined symbol:
> ztbsv_". Scipy seemed to import liblapack.so in my general lib
> directory...
>
> 4) One thing  I am not sure is that I used gcc 4.7 and gfortran to
> compile lapack and atlas, but my python 2.7 was built using gcc
> 3.4.5.....Is this a problem?
>
>
> Anyone can help?
> _______________________________________________________________
> My configuration of the installation:
>
> * ATLAS 3.8.4
> * lapack 3.3.1
> * numpy 1.6.1
> * SciPy version 0.9.0
> * dateutil 1.5
> * Python version 2.7.1 (r271:86832, Jan 13 2011, 22:17:56) [GCC 3.4.5
> 20051201 (Red Hat 3.4.5-2)]
> * nose version 1.1.2
> * gcc (GCC) 4.7.0 20110820 (experimental)
> * LINUX: Linux XXX 2.6.9_5-9-0-0 #1 SMP Wed Jun 23 14:03:19 CST 2010
> x86_64 x86_64 x86_64 GNU/Linux
>
> site.cfg of Scipy:
>
> [DEFAULT]
> library_dirs = /home/work/local/lib
> include_dirs = /home/work/local/include
> [lapack_opt]
> libraries = lapack, f77blas, cblas, atlas
>
> site.cfg of Numpy:
>
> [DEFAULT]
> library_dirs = /home/work/local/lib
> include_dirs = /home/work/local/include
> [lapack_opt]
> libraries = lapack, f77blas, cblas, atlas
>
>
> In addition, there are failures as well when test Numpy:
>
> >>> import numpy
> >>> numpy.test('1')
> Running unit tests for numpy
> NumPy version 1.6.1
> NumPy is installed in /home/work/local/python-2.7.1/lib/python2.7/site-
> packages/numpy
> Python version 2.7.1 (r271:86832, Jan 13 2011, 22:17:56) [GCC 3.4.5
> 20051201 (Red Hat 3.4.5-2)]
> nose version 1.1.2
> ======================================================================
> FAIL: Test basic arithmetic function errors
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/testing/decorators.py", line 215, in knownfailer
>    return f(*args, **kwargs)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/core/tests/test_numeric.py", line 367, in
> test_floating_exceptions_power
>    np.power, ftype(2), ftype(2**fi.nexp))
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/core/tests/test_numeric.py", line 271, in assert_raises_fpe
>    "Type %s did not raise fpe error '%s'." % (ftype, fpeerr))
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/testing/utils.py", line 34, in assert_
>    raise AssertionError(msg)
> AssertionError: Type <type 'numpy.float64'> did not raise fpe error
> 'overflow'.
>
> ======================================================================
> FAIL: Test generic loops.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/core/tests/test_ufunc.py", line 86, in test_generic_loops
>    assert_almost_equal(fone(x), fone_val, err_msg=msg)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/testing/utils.py", line 448, in assert_almost_equal
>    raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal to 7 decimals PyUFunc_F_F
>  ACTUAL: array([ 0.+0.j,  0.+0.j,  0.+0.j,  0.+0.j,  0.+0.j],
> dtype=complex64)
>  DESIRED: 1
>
> ======================================================================
> FAIL: test_umath.TestComplexFunctions.test_loss_of_precision(<type
> 'numpy.complex64'>,)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/nose/
> case.py", line 197, in runTest
>    self.test(*self.arg)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/core/tests/test_umath.py", line 931, in check_loss_of_precision
>    check(x_basic, 2*eps/1e-3)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/core/tests/test_umath.py", line 901, in check
>    'arcsinh')
> AssertionError: (0, 0.0010023052, 0.9987238, 'arcsinh')
>
> ======================================================================
> FAIL: test_umath.TestComplexFunctions.test_precisions_consistent
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/nose/
> case.py", line 197, in runTest
>    self.test(*self.arg)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/core/tests/test_umath.py", line 812, in
> test_precisions_consistent
>    assert_almost_equal(fcf, fcd, decimal=6, err_msg='fch-fcd %s'%f)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/testing/utils.py", line 448, in assert_almost_equal
>    raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal to 6 decimals fch-fcd <ufunc 'arcsin'>
>  ACTUAL: 2.3561945j
>  DESIRED: (0.66623943249251527+1.0612750619050355j)
>
> ======================================================================
> FAIL: test_kind.TestKind.test_all
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/nose/
> case.py", line 197, in runTest
>    self.test(*self.arg)
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/f2py/tests/test_kind.py", line 30, in test_all
>    'selectedrealkind(%s): expected %r but got %r' %  (i,
> selected_real_kind(i), selectedrealkind(i)))
>  File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> numpy/testing/utils.py", line 34, in assert_
>    raise AssertionError(msg)
> AssertionError: selectedrealkind(19): expected -1 but got 16
>
> ----------------------------------------------------------------------
> Ran 3552 tests in 29.977s
>
> FAILED (KNOWNFAIL=3, failures=5)
> <nose.result.TextTestResult run=3552 errors=0 failures=5>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 27 Aug 2011 23:18:54 -0700 (PDT)
> From: Johnny <dbigbear@gmail.com>
> Subject: [SciPy-User] How can I solve a equation like
>        sqrt(log(x)*erfc(exp(log(x)+1)) - 1) = 2 and exp((log(x) - 1.5)**2 -
>        3) = 5
> To: scipy-user@scipy.org
> Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi, I am trying to solve the follow equation:
>
> solve(x * ((1.0 / sqrt(2 * pi) * x * sigma) * exp(-0.5 * (log(x) -
> mu)**2 / sigma**2)) + 0.5 * erfc((mu - log(x)) / (sigma * sqrt(2))) -
> 1, x)
>
> I am not sure Scipy can do it and how it can do it ?
>
>
> Many thanks
> Xiong
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 28 Aug 2011 02:36:06 -0500
> From: Robert Kern <robert.kern@gmail.com>
> Subject: Re: [SciPy-User] How can I solve a equation like
>        sqrt(log(x)*erfc(exp(log(x)+1)) - 1) = 2 and exp((log(x) - 1.5)**2 -
>        3) = 5
> To: SciPy Users List <scipy-user@scipy.org>
> Message-ID:
>        <CAF6FJiv55hN-FkNmXryXy1s0Opc-n96z=RkF2o4wNnxnDoU=Pw@mail.gmail.com
> >
> Content-Type: text/plain; charset=UTF-8
>
> On Sun, Aug 28, 2011 at 01:18, Johnny <dbigbear@gmail.com> wrote:
> > Hi, I am trying to solve the follow equation:
> >
> > solve(x * ((1.0 / sqrt(2 * pi) * x * sigma) * exp(-0.5 * (log(x) -
> > mu)**2 / sigma**2)) + 0.5 * erfc((mu - log(x)) / (sigma * sqrt(2))) -
> > 1, x)
> >
> > I am not sure Scipy can do it and how it can do it ?
>
> [~]
> |18> from numpy import sqrt, log, exp
>
> [~]
> |19> from scipy.special import erfc
>
> [~]
> |20> def f(x, mu=1.0, sigma=0.1):
> ...>     return x * ((1.0 / sqrt(2 * pi) * x * sigma) * exp(-0.5 * (log(x)
> -
> ...>         mu)**2 / sigma**2)) + 0.5 * erfc((mu - log(x)) / (sigma *
> sqrt(2))) - 1.0
> ...>
>
> [~]
> |21> from scipy.optimize import fsolve
>
> [~]
> |22> fsolve(f, 3.0)
> array([ 2.88207063])
>
> [~]
> |23> f(_)
> array([  4.44089210e-16])
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
> ? -- Umberto Eco
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 27 Aug 2011 09:47:28 -0500
> From: Andy Wilson <wilson.andrew.j@gmail.com>
> Subject: Re: [SciPy-User] Return variable value by function value
> To: SciPy Users List <scipy-user@scipy.org>
> Message-ID:
>        <CAPpTVmqA9P4NHjC3TH0YfrLSe0ukbkMcz+2zTA4O6xLyJrkeug@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> If an approximation is good enough, you can use scipy.interpolate.interp1d
> to get a function that returns interpolated values. Your example doesn't
> quite work because 0.95 is out of the range of the initial input.
>
>
> import numpy as np
> import scipy.interpolate
>
> x = np.arange(0,100)
> y = np.sqrt(1 - x**2/10E+4)
>
> interp_func = scipy.interpolate.interp1d(x, y, kind='quadratic')
>
> new_x = 0.95
> interp_y = interp_func(new_x)
> actual_y = np.sqrt(1 - new_x**2/10E+4)
>
> print "actual value: %s" % actual_y
> print "interpolated value %s" % interp_y
> print "difference: %s" % (actual_y - interp_y)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/scipy-user/attachments/20110827/544ae7a2/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Sun, 28 Aug 2011 15:21:40 +1200
> From: ali franco <ali.franco95@gmail.com>
> Subject: [SciPy-User] Sotring data for fast access
> To: scipy-user@scipy.org
> Message-ID:
>        <CAPoWvn7g-NKf21eopVKrDsbTXCDbxK3cj5pyKQ=JfD829mQcwQ@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> There are two parts to my question. One: I have to do a double integration
> on a grid
>
> answer = integrate (  f(x,y) times besselfunction(x,y))
>
> Now, I have read that the besselfunction can be precomputed and saved to
> disk for fast access. How do I do this? Right now, I am evaluating the
> besselfunction from scipy.special as it is required.
>
> Second question: I have numerically integrated a differential equation and
> I
> use the splined solution to solve other differential equations. However the
> splined solution is slow. Is there a way to make this faster?
>
> thanks guys
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/scipy-user/attachments/20110828/3f4acea4/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Sun, 28 Aug 2011 23:02:54 +1200
> From: ali franco <ali.franco95@gmail.com>
> Subject: [SciPy-User] Does odeint return derivative
> To: scipy-user@scipy.org
> Message-ID:
>        <CAPoWvn5oZFr637aZJBhm4Ws9i-pjsMbR4xGdr5oQa6dN=CSn_g@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am solving a system of differential equations using odeint. Is there a
> simpler way of also getting the derivative other than calculating the
> derivative from the solutions obtained which in my case is going to take
> alot of extra time.
>
> thanks
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/scipy-user/attachments/20110828/f2f55861/attachment-0001.html
>
> ------------------------------
>
> Message: 7
> Date: Sun, 28 Aug 2011 23:48:57 +1200
> From: ali franco <ali.franco95@gmail.com>
> Subject: [SciPy-User] RectBivariateSpline
> To: scipy-user@scipy.org
> Message-ID:
>        <CAPoWvn6Bo=iwpA+oHVUs_wFyCHNFLw9Bxai4kBMMMo5TMurakg@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Can RectBivariateSpline be used to calculated derivatives and integrals? If
> it can't, can you please suggest some thing else that does. I have to use a
> two dimensional spline on a rectangular mesh. The problem with alternatives
> to RectBivariateSpline such as BivariateSpline , And UnivariateSpline I
> found was that they require the data be specified either on a square grid
> or
> that they be equally spaced neither of which my data points satisfy.
> thanks
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/scipy-user/attachments/20110828/1251bbf9/attachment-0001.html
>
> ------------------------------
>
> Message: 8
> Date: Sun, 28 Aug 2011 09:40:15 -0500
> From: Bruce Southey <bsouthey@gmail.com>
> Subject: Re: [SciPy-User] Install Scipy Errors: ImportError:
>        /path_to/liblapack.so: undefined symbol: ztbsv_
> To: SciPy Users List <scipy-user@scipy.org>
> Message-ID:
>        <CAAea2pb=4WQ=dJqxhOK7tmP-r2qfvDrka1mXTQE6-5A1+69xtQ@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sun, Aug 28, 2011 at 1:16 AM, Johnny <dbigbear@gmail.com> wrote:
> > Hi all,
> >
> > I am installing lapack, atlas, numpy, scipy on my LINUX for TEN times,
> > but always encountering the problem:
> >
> > [work <at> XXX]\$ python -c 'import scipy.optimize;
> > scipy.optimize.test()'
> > Traceback (most recent call last):
> > ?File "<string>", line 1, in <module>
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > scipy/optimize/__init__.py", line 11, in <module>
> > ? ?from lbfgsb import fmin_l_bfgs_b
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > scipy/optimize/lbfgsb.py", line 28, in <module>
> > ? ?import _lbfgsb
> > ImportError: /home/work/local/lib/liblapack.so: undefined symbol:
> > ztbsv_
> >
> > I can pass some other tests like:
> >
> >
> > [work <at> XXX:~/local]\$ python -c 'import scipy.ndimage;
> > scipy.ndimage.test()'
> > Running unit tests for scipy.ndimage
> > NumPy version 1.6.1
> > NumPy is installed in /home/work/local/python-2.7.1/lib/python2.7/site-
> > packages/numpy
> > SciPy version 0.9.0
> > SciPy is installed in /home/work/local/python-2.7.1/lib/python2.7/site-
> > packages/scipy
> > Python version 2.7.1 (r271:86832, Jan 13 2011, 22:17:56) [GCC 3.4.5
> > 20051201 (Red Hat 3.4.5-2)]
> > nose version 1.1.2
> >
> .........S.................................................................................................................................................................................................................................................................................................................................................................................................................
> > ----------------------------------------------------------------------
> > Ran 411 tests in 1.247s
> >
> > OK (SKIP=1)
> >
> > The problem seems due to the lib of Lapack. So I tried the solutions
> > posted on the internet before.
> >
> > 1) The liblapack.so may be not complete...SO I tried this:
> > ? ?# integrate lapack with atlas:
> > ? ?cd lib/
> > ? ?mkdir tmp
> > ? ?cd tmp/
> > ? ?ar x ../liblapack.a
> > ? ?cp ~/path_to/lapack-3.1.1/lapack_LINUX.a ../liblapack.a
> > ? ?ar r ../liblapack.a *.o
> > ? ?cd ../..
> > ? ?make check
> > ? ?make ptcheck
> > ? ?cp include/* ~/include/
> > ? ?cp lib/*.a ~/lib/
> >
> > That is, after installing atlas, there is another liblapack.a (in
> > addition to the lapack_LINUX.a after Lapack) in its lib, but it is
> > about 500k, so I integrate it with the lapack_LINUX.a from installing
> > Lapack. The final liblapack.a is about 9.3m, The liblapack.so is about
> > 5m
> >
> > 2) re-install Lapack and atlas many times....No use
> >
> > 3) I found there is a lapack.so under scipy/lib, and it is about 500K,
> > but I think it may be not the problem, becaues the failure is
> > "ImportError: /home/work/local/lib/liblapack.so: undefined symbol:
> > ztbsv_". Scipy seemed to import liblapack.so in my general lib
> > directory...
> >
> > 4) One thing ?I am not sure is that I used gcc 4.7 and gfortran to
> > compile lapack and atlas, but my python 2.7 was built using gcc
> > 3.4.5.....Is this a problem?
> >
> >
> > Anyone can help?
> > _______________________________________________________________
> > My configuration of the installation:
> >
> > * ATLAS 3.8.4
> > * lapack 3.3.1
> > * numpy 1.6.1
> > * SciPy version 0.9.0
> > * dateutil 1.5
> > * Python version 2.7.1 (r271:86832, Jan 13 2011, 22:17:56) [GCC 3.4.5
> > 20051201 (Red Hat 3.4.5-2)]
> > * nose version 1.1.2
> > * gcc (GCC) 4.7.0 20110820 (experimental)
> > * LINUX: Linux XXX 2.6.9_5-9-0-0 #1 SMP Wed Jun 23 14:03:19 CST 2010
> > x86_64 x86_64 x86_64 GNU/Linux
> >
> > site.cfg of Scipy:
> >
> > [DEFAULT]
> > library_dirs = /home/work/local/lib
> > include_dirs = /home/work/local/include
> > [lapack_opt]
> > libraries = lapack, f77blas, cblas, atlas
> >
> > site.cfg of Numpy:
> >
> > [DEFAULT]
> > library_dirs = /home/work/local/lib
> > include_dirs = /home/work/local/include
> > [lapack_opt]
> > libraries = lapack, f77blas, cblas, atlas
> >
> >
> > In addition, there are failures as well when test Numpy:
> >
> >>>> import numpy
> >>>> numpy.test('1')
> > Running unit tests for numpy
> > NumPy version 1.6.1
> > NumPy is installed in /home/work/local/python-2.7.1/lib/python2.7/site-
> > packages/numpy
> > Python version 2.7.1 (r271:86832, Jan 13 2011, 22:17:56) [GCC 3.4.5
> > 20051201 (Red Hat 3.4.5-2)]
> > nose version 1.1.2
> > ======================================================================
> > FAIL: Test basic arithmetic function errors
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/testing/decorators.py", line 215, in knownfailer
> > ? ?return f(*args, **kwargs)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/core/tests/test_numeric.py", line 367, in
> > test_floating_exceptions_power
> > ? ?np.power, ftype(2), ftype(2**fi.nexp))
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/core/tests/test_numeric.py", line 271, in assert_raises_fpe
> > ? ?"Type %s did not raise fpe error '%s'." % (ftype, fpeerr))
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/testing/utils.py", line 34, in assert_
> > ? ?raise AssertionError(msg)
> > AssertionError: Type <type 'numpy.float64'> did not raise fpe error
> > 'overflow'.
> >
> > ======================================================================
> > FAIL: Test generic loops.
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/core/tests/test_ufunc.py", line 86, in test_generic_loops
> > ? ?assert_almost_equal(fone(x), fone_val, err_msg=msg)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/testing/utils.py", line 448, in assert_almost_equal
> > ? ?raise AssertionError(msg)
> > AssertionError:
> > Arrays are not almost equal to 7 decimals PyUFunc_F_F
> > ?ACTUAL: array([ 0.+0.j, ?0.+0.j, ?0.+0.j, ?0.+0.j, ?0.+0.j],
> > dtype=complex64)
> > ?DESIRED: 1
> >
> > ======================================================================
> > FAIL: test_umath.TestComplexFunctions.test_loss_of_precision(<type
> > 'numpy.complex64'>,)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/nose/
> > case.py", line 197, in runTest
> > ? ?self.test(*self.arg)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/core/tests/test_umath.py", line 931, in check_loss_of_precision
> > ? ?check(x_basic, 2*eps/1e-3)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/core/tests/test_umath.py", line 901, in check
> > ? ?'arcsinh')
> > AssertionError: (0, 0.0010023052, 0.9987238, 'arcsinh')
> >
> > ======================================================================
> > FAIL: test_umath.TestComplexFunctions.test_precisions_consistent
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/nose/
> > case.py", line 197, in runTest
> > ? ?self.test(*self.arg)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/core/tests/test_umath.py", line 812, in
> > test_precisions_consistent
> > ? ?assert_almost_equal(fcf, fcd, decimal=6, err_msg='fch-fcd %s'%f)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/testing/utils.py", line 448, in assert_almost_equal
> > ? ?raise AssertionError(msg)
> > AssertionError:
> > Arrays are not almost equal to 6 decimals fch-fcd <ufunc 'arcsin'>
> > ?ACTUAL: 2.3561945j
> > ?DESIRED: (0.66623943249251527+1.0612750619050355j)
> >
> > ======================================================================
> > FAIL: test_kind.TestKind.test_all
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/nose/
> > case.py", line 197, in runTest
> > ? ?self.test(*self.arg)
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/f2py/tests/test_kind.py", line 30, in test_all
> > ? ?'selectedrealkind(%s): expected %r but got %r' % ?(i,
> > selected_real_kind(i), selectedrealkind(i)))
> > ?File "/home/work/local/python-2.7.1/lib/python2.7/site-packages/
> > numpy/testing/utils.py", line 34, in assert_
> > ? ?raise AssertionError(msg)
> > AssertionError: selectedrealkind(19): expected -1 but got 16
> >
> > ----------------------------------------------------------------------
> > Ran 3552 tests in 29.977s
> >
> > FAILED (KNOWNFAIL=3, failures=5)
> > <nose.result.TextTestResult run=3552 errors=0 failures=5>
> > _______________________________________________
> > SciPy-User mailing list
> > SciPy-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-user
> >
> Hi,
> What Linux distro are you actually using?
> Unless you have some issue, I would install the atlas version provided
> by the distro as I have long term success with Fedora's packages
> across multiple versions.
>
> If you still want to build it yourself, then you need to be using the
> same compiler version everywhere.
>
> The ztbsv_ error suggests that you have not build blas, lapack and
> atlas correctly. It is hard to get those right so very carefully check
> the build logs and run the associated tests.
>
> Bruce
>
>
> ------------------------------
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
> End of SciPy-User Digest, Vol 96, Issue 47
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20110829/02a40084/attachment-0001.html
```