[SciPy-User] site.cfg problems : scipy can't find BLAS

Minh-Tri Pham pmtri80 at gmail.com
Mon Apr 12 03:22:07 EDT 2010


Hi everyone,

I've been using scipy for 4 years but I haven't posted a single message.
Sorry. :)

The following is my site.cfg configuration that works with GotoBLAS2 (at
least on my end):

[DEFAULT]
library_dirs = /usr/local/lib
include_dirs = /usr/local/include

[blas]
libraries = goto2_core2p-r1.13
language = fortran

[lapack]
libraries = goto2_core2p-r1.13
language = fortran

The trick is to use [blas] and [lapack] instead of [blas_opt] and [lapack_opt].

Best regards,
Minh-Tri

Patrick Marsh wrote:
> I know that my experience has been that I cannot pass multiple directories
> to the library setting.  When I had everything is in a single directory, I
> could get the setup script to find everything correctly, but the moment I
> put multiple directories ( ':' as a separator) nothing was found.  The only
> difference is I was using MKL for BLAS.
> 
> My simple hack was to use symbolic links to ensure everything could be found
> in the same directory.
> 
> Patrick
> 
> 
> 
> 
> On Fri, Apr 9, 2010 at 4:47 AM, John Reid <j.reid at mail.cryst.bbk.ac.uk>wrote:
> 
>> David wrote:
>>> On 04/09/2010 05:04 PM, John Reid wrote:
>>>
>>>> That's what I find frustrating : python setup.py produces all these
>>>> warnings and errors but they don't seem to relate directly to the
>>>> sections in site.cfg.
>>> Don't look at the documentation or the output, they are useless at best,
>>> when not outright confusing. You have to look at the sources to
>>> understand what's going on,
>> I tried that as well. I don't know the internals of numpy.distutils so I
>> found that frustrating too.
>>
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User at scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

-- 
Dr. Minh-Tri Pham
Research Fellow
Surrey Space Centre, University of Surrey, Guildford, GU2 7XH, UK
Mob: +44 (0) 778 774 1089 | Tel: +44 (0) 148 368 2224



More information about the SciPy-User mailing list