[SciPy-Dev] NumPy 2.0.0.dev8671 test failure

David Cournapeau cournape@gmail....
Fri Aug 27 19:09:17 CDT 2010


On Sat, Aug 28, 2010 at 12:55 AM, Gökhan Sever <gokhansever@gmail.com> wrote:
> Hello,
> On a Fedora 13 VirtualBox setup
> Linux a 2.6.33.6-147.2.4.fc13.i686 #1 SMP Fri Jul 23 17:27:40 UTC 2010 i686
> i686 i386 GNU/Linux
> python -c 'import numpy; numpy.test()'
> Running unit tests for numpy
> NumPy version 2.0.0.dev8671
> NumPy is installed in /usr/lib/python2.6/site-packages/numpy
> Python version 2.6.4 (r264:75706, Jun  4 2010, 18:20:16) [GCC 4.4.4 20100503
> (Red Hat 4.4.4-2)]
> nose version 0.11.3
> ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K..................................................................................................................................................................................................................................K............................................................................................K......................K.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.....................................................................................................................................................................................................................................................................................................................................................................................................................................Warning:
> divide by zero encountered in log
> .......................................................................................................................................................................................................................................................................................
> ======================================================================
> FAIL: test_lapack (test_build.TestF77Mismatch)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/numpy/testing/decorators.py", line
> 146, in skipper_func
>     return f(*args, **kwargs)
>   File "/usr/lib/python2.6/site-packages/numpy/linalg/tests/test_build.py",
> line 50, in test_lapack
>     information.""")
> AssertionError: Both g77 and gfortran runtimes linked in lapack_lite ! This
> is likely to
> cause random crashes and wrong results. See numpy INSTALL.txt for more
> information.
>     "Fail the test if the expression is true."
>>>  if True: raise self.failureException, 'Both g77 and gfortran runtimes
>>> linked in lapack_lite ! This is likely to\ncause random crashes and wrong
>>> results. See numpy INSTALL.txt for more\ninformation.'
>
> ----------------------------------------------------------------------
> Ran 3024 tests in 21.928s
> FAILED (KNOWNFAIL=4, failures=1)
>
>
> Any idea how to resolve this one? I use package manager to install
> requirements. It seems g77 and gfortran are mixed for lapack, but not sure
> how to fix it. When I try to uninstall gfortran it tries to remove
> lapack/blas/atlas all.

Use python setup.py build_ext --fcompiler=gnu95

Maybe removing g77 works as well,

cheers,

David


More information about the SciPy-Dev mailing list