[SciPy-user] Windows build help

Gary pajer at iname.com
Tue Nov 21 18:13:42 CST 2006


Robert Kern wrote:
> Gary wrote:
>   
>> (The two "Make"s comes from trying different versions of the library.  
>> Same result either way.)
>>  Directory of C:\MinGW\lib\atlas
>>
>> 11/20/2006  09:41 PM    <DIR>          .
>> 11/20/2006  09:41 PM    <DIR>          ..
>> 04/11/2004  08:05 PM         6,795,178 libatlas.a
>> 04/11/2004  07:59 PM           227,300 libcblas.a
>> 04/11/2004  08:06 PM           218,844 libf77blas.a
>> 04/11/2004  08:42 PM         5,671,110 liblapack.a
>> 04/12/2004  05:12 PM             6,389 Make.WinNT_P4SSE2
>> 04/12/2004  05:17 PM             6,363 Make.WinNT_PIII
>>     
>
> Try adding this to your site.cfg file (if you don't have, go ahead and create
> one with the following contents; put it next to scipy's setup.py):
>
> [lapack_opt]
> library_dirs=c:/MinGW/lib/atlas
> libraries=lapack,f77blas,cblas,atlas
>
> [blas_opt]
> library_dirs=c:/MinGW/lib/atlas
> libraries=f77blas,cblas,atlas
>
>   
No luck.  It must be something silly.

Here's my complete site.cfg, fwiw

[atlas]
library_dirs = c:\MinGW\lib\atlas
atlas_libs = lapack, blas, cblas, atlas

[blas]
library_dirs = c:\MinGW\lib\atlas
blas_libs = cblas

[lapack]
library_dirs = c:\MinGW\lib\atlas
lapack_libs = lapack

[lapack_opt]
library_dirs=c:/MinGW/lib/atlas
libraries=lapack,f77blas,cblas,atlas

[blas_opt]
library_dirs=c:/MinGW/lib/atlas
libraries=f77blas,cblas,atlas

[amd]
library_dirs = <location of libamd.a>
include_dirs = <location of amd.h>
amd_libs = amd

[umfpack]
library_dirs = <location of libumfpack.a>
include_dirs = <location of umfpack.h>
umfpack_libs = umfpack







More information about the SciPy-user mailing list