Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Robert Kern
Mathew Yeates wrote: > Thanks Robert > I have a deadline and don't have time to install ATLAS. Instead I'm > installing clapack. Is this the corrrect thing to do? No. Just leave things alone if you don't have an accelerated BLAS at hand. -- Robert Kern "I have come to believe that the whole wo

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
Thanks Robert I have a deadline and don't have time to install ATLAS. Instead I'm installing clapack. Is this the corrrect thing to do? Mathew Robert Kern wrote: > Mathew Yeates wrote: > >> I'm the one who created libblas.a so I must have done something wrong. >> This is lapack-3.1.1. >>

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Robert Kern
Mathew Yeates wrote: > I'm the one who created libblas.a so I must have done something wrong. > This is lapack-3.1.1. No, you didn't do anything wrong, per se, you just built the reference F77 BLAS. It's not an accelerated BLAS, so there's no point in using it with numpy. There's not way you *can

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
I'm the one who created libblas.a so I must have done something wrong. This is lapack-3.1.1. Robert Kern wrote: > If your BLAS just the reference BLAS, don't bother with _dotblas. It won't be > any faster than the default implementation in numpy. You only get a win if you > are using an accelera

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Robert Kern
If your BLAS just the reference BLAS, don't bother with _dotblas. It won't be any faster than the default implementation in numpy. You only get a win if you are using an accelerated BLAS with the CBLAS interface for C-style row-major matrices. Your libblas does not seem to be such an accelerated BL

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
more info. My blas library has zaxpy defined but not cblas_zaxpy Mathew Yeates wrote: > my site,cfg just is > [DEFAULT] > library_dirs = /home/myeates/lib > include_dirs = /home/myeates/include > > python setup.py config gives > F2PY Version 2_3979 > blas_opt_info: > blas_mkl_info: > libraries

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
my site,cfg just is [DEFAULT] library_dirs = /home/myeates/lib include_dirs = /home/myeates/include python setup.py config gives F2PY Version 2_3979 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in /home/myeates/lib NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLA

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Robert Kern
Mathew Yeates wrote: > oops. sorry > from numpy.core import _dotblas > ImportError: > /home/myeates/lib/python2.5/site-packages/numpy/core/_dotblas.so: > undefined symbol: cblas_zaxpy Okay, yes, that's the problem. liblapack depends on libblas. Make sure that you specify one to use. Follow the d

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
oops. sorry from numpy.core import _dotblas ImportError: /home/myeates/lib/python2.5/site-packages/numpy/core/_dotblas.so: undefined symbol: cblas_zaxpy Robert Kern wrote: > Mathew Yeates wrote: > >> yes, I get >> from numpy.core import _dotblas >> ImportError: No module named multiarray >>

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
yes Robert Kern wrote: > Mathew Yeates wrote: > >> yes, I get >> from numpy.core import _dotblas >> ImportError: No module named multiarray >> > > That's just weird. Can you import numpy.core.multiarray by itself? > > ___ Numpy-discussion ma

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Robert Kern
Mathew Yeates wrote: > yes, I get > from numpy.core import _dotblas > ImportError: No module named multiarray That's just weird. Can you import numpy.core.multiarray by itself? -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
yes, I get from numpy.core import _dotblas ImportError: No module named multiarray Now what? uname -a Linux 2.6.9-55.0.2.EL #1 Tue Jun 12 17:47:10 EDT 2007 i686 athlon i386 GNU/Linux Robert Kern wrote: > Mathew Yeates wrote: > >> Hi >> When I try >> import numpy >> id(numpy.dot) == id(numpy.

Re: [Numpy-discussion] help! not using lapack

2007-08-29 Thread Robert Kern
Mathew Yeates wrote: > Hi > When I try > import numpy > id(numpy.dot) == id(numpy.core.multiarray.dot) > > I get True. But I have liblapck.a installed in ~/lib and I put the lines > [DEFAULT] > library_dirs = /home/myeates/lib > include_dirs = /home/myeates/include > > in site.cfg > In fact, when

[Numpy-discussion] help! not using lapack

2007-08-29 Thread Mathew Yeates
Hi When I try import numpy id(numpy.dot) == id(numpy.core.multiarray.dot) I get True. But I have liblapck.a installed in ~/lib and I put the lines [DEFAULT] library_dirs = /home/myeates/lib include_dirs = /home/myeates/include in site.cfg In fact, when I build and run a sytem trace I see that lib