[Numpy-discussion] Unhandled floating point exception running test in numpy-1.0.3 and svn 3875
Sun Jun 24 16:05:12 CDT 2007
John Ollinger <email@example.com> [2007-06-24 13:13]:
> >>> I am running gcc 3.3.1 on SuSe Linux 2.4.21-144-smp4G. The error
> >>> first occurred with numpy-1.0.3. I downloaded svn 3875 when I then
> >>> read the scipy web page and installed the latest subversion. The
> >>> test command I am using is >>> python -c 'import numpy;
> >>> numpy.test(level=1,verbosity==2)' >>> and occurs during the matvec
> >>> test. This test uses rand to generate 10x8 and 8x1
> You hit the nail on the head. It is apparently an Atlas problem. I originally
> built numpy with optimized Atlas libraries. When I deleted these from the
> site.cfg file the problem went away.
> I apologize for not including the error message in my initial post. Here it is
> in case anyone cares:
> check_matvec (numpy.core.tests.test_numeric.test_dot)Floating point exception
I recently built (using David Cournapeau's garnumpy) numpy and scipy
using ATLAS 3.7.33, gfortran, gcc 4.1.2, SUSE 10.2 (x86 kernel
126.96.36.199-34-default), and python 2.5:
Python 2.5 (r25:51908, Nov 27 2006, 19:14:46)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import scipy
>>> print numpy.__version__
>>> print scipy.__version__
Ran 526 tests in 0.432s
Ran 1596 tests in 2.942s
There doesn't appear to be a problem with recent versions of the
software. In particular, ATLAS 3.7.33 does not cause an error.
Is there some reason for you to use such old software? (gcc 3.3.1 &
kernel 2.4.21)? What platform are you building for?
More information about the Numpy-discussion