[Scipy-tickets] [SciPy] #1170: integrate.quad crashes with SIGILL
SciPy Trac
scipy-tickets@scipy....
Sun May 9 03:31:28 CDT 2010
#1170: integrate.quad crashes with SIGILL
----------------------------------+-----------------------------------------
Reporter: Joe | Owner: rgommers
Type: defect | Status: new
Priority: normal | Milestone: 0.8.0
Component: Official binaries | Version: 0.7.0
Keywords: scipy integrate quad |
----------------------------------+-----------------------------------------
Comment(by rgommers):
So the installer picks the right file (nosse).
I'm assuming it has something to do with the machine dependent constants.
I found a [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34345 bug report]
that looks related. Modifying that test for g77 like:
{{{
PROGRAM TEST
IMPLICIT NONE
DOUBLE PRECISION d1mach
write(6,*)1,d1mach(1)
write(6,*)2,d1mach(2)
write(6,*)3,d1mach(3)
write(6,*)4,d1mach(4)
write(6,*)5,d1mach(5)
stop
END PROGRAM TEST
}}}
and compiling against the d1mach.f in quadpack with g77,
{{{
$ wine ../../.wine/drive_c/MinGW/bin/g77.exe test.f d1mach.f
-I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/numpy/core/include -o testd1mach.exe
}}}
gives me a little test binary that I'll attach here. Can you run that and
see if it crashes? For me the output is:
{{{
1 2.22507386E-308
2 1.79769313E+308
3 1.11022302E-016
4 2.22044605E-016
5 0.301029996
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1170#comment:11>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list