[Numpy-discussion] numpy blas running slow: how to check that it is properly linked

Samuel John scipy at samueljohn.de
Wed Sep 7 09:08:27 EDT 2011


On 06.09.2011, at 22:13, David Cottrell wrote:

> Thanks, I didn't realize dot was not just calling dgemm or some
> variant which I assume would be reasonably fast. I see dgemm appears
> in the numpy code in various places such as the lapack_lite module.
> 
> I ran the svd test on the solaris setup and will check the OSX run
> when back at my laptop. 8.4 seconds is slightly slower than matlab but
> still seems reasonable.
> 
> $ ./test_03.py
> No ATLAS:
> (1000, 1000) (1000,) (1000, 1000)
> 8.17235898972

I just ran your benchmark code on OSX 10.7.1 on an 2011 MacBook Pro (core-i7) with numpy.version.version '2.0.0.dev-900d82e':
   Using ATLAS:
   ((1000, 1000), (1000,), (1000, 1000))
   0.908223152161

cheers, 
 Samuel


More information about the NumPy-Discussion mailing list