[Numpy-discussion] optimize.leastsq crashs my interpreter

Ed Schofield schofield at ftw.at
Tue Jul 11 05:37:25 CDT 2006


John Hassler wrote:
> Ed Schofield <schofield <at> ftw.at> writes:
>
>   
>> Hmmm ... it could be an ATLAS problem.  What's your processor?  I built
>> the SciPy 0.4.9 binaries against Pearu's ATLAS binaries for Pentium 2,
>> thinking that this would give maximum compatibility ...
>>
>> Or perhaps it's something else.  Could someone with this problem please
>> post a backtrace?
>>     
>
>
> This computer is an AMD Athlon 1600+ running Windows XP.
>
> <snip>
>
> All of the versions of scipy using numpy crash with XP whenever I access 
> any of the functions in "optimize" or "integrate" which (I assume) call the
> Fortran libraries.
>
> In the current version, running scipy.test() gives an "unhandled
> exception." Debug shows a pointer to: 
> 020CA9C3 xorps xmm6,xmm6
>
> <snip>
>
> Some other information: 
>   
>>>> scipy.__version__ '0.4.9' 
>>>>         
>
>   
>>>> scipy.__numpy_version__ '0.9.8' 
>>>>         
>
>   
>>>> scipy.show_numpy_config()
>>>>         
>
> atlas_threads_info: NOT AVAILABLE
>
> blas_opt_info: libraries = ['f77blas', 'cblas', 'atlas'] library_dirs =
> ['C:\\Libraries\\ATLAS_3.6.0_WIN_P4'] define_macros = [('ATLAS_INFO',
> '"\\"3.6.0\\""')] language = c include_dirs =
> ['C:\\Libraries\\ATLAS_3.6.0_WIN_P4']
>
> plus similar stuff. Probably the important thing is the "ATLAS ... P4"
> line.
>   

Thanks, John -- this is helpful.  (Hans too, thanks for your testing). 
This looks like a problem with the NumPy build.  Travis, could you have
compiled the Win32 binaries accidentally against the P4/SSE2 ATLAS library?

-- Ed





More information about the Numpy-discussion mailing list