[SciPy-user] Problems during build

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Feb 21 09:55:04 CST 2002


Pearu Peterson schrieb:
> 
> On Thu, 21 Feb 2002, Nils Wagner wrote:
> 
> > ValueError: Atlas libraries not found.  Either install them in
> > /usr/lib/atlas or /usr/local/lib/atlas and re
> > try setup.py, or edit setup.py to specify your own blas and lapack
> > directories and libs
> >
> > How can I specify the blas/lapack/atlas directories and libs in setup.py
> > ?
> 
> Currently you have to edit /scipy_distutils/atlas_info.py file where in
> the header write:
>  library_path = ['/usr/lib']
> 
> You may also want to check out what follows in that file in order to make
> other adjustments for your atlas setup.
> 
> Btw, you'll need also
>   f77blas and cblas
> libraries. I didn't notice these ones from your library listing.
> 
> Pearu
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

Hi Pearu,

f77blas and cblas are in /usr/lib as well.

wagner at lisa:~/mysoftware/scipy> ls -l /usr/lib/libcb*
-rw-r--r--    1 root     root       268504 Sep 24 02:51
/usr/lib/libcblas.a
wagner at lisa:~/mysoftware/scipy> ls -l /usr/lib/libf77*
-rw-r--r--    1 root     root       343712 Sep 24 02:51
/usr/lib/libf77blas.a
wagner at lisa:~/mysoftware/scipy>

Is this o.k. ?

#import scipy_distutils.atlas_info
#scipy_distutils.atlas_info.library_path = ['/usr/lib']

Nils



More information about the SciPy-user mailing list