user1663930
user1663930

Reputation: 315

Numpy, Atlas and Lapack

I am using numpy for some array operations and it is currently extremely slow. The same operations in matlab (calculating the covariance matrix) only take a second. I have installed atlas and lapack but I am not sure if my numpy is actually using them. Does anyone know how to check that? I am using a mac

Upvotes: 0

Views: 1194

Answers (1)

user1915639
user1915639

Reputation: 257

To get numpy to use ATLAS you will either have to

  • build it from source, setting up the site.cfg file so it can find your ATLAS libraries. This has just taken me most of the day to get to work on Gentoo (see this bug report), I'm not sure my experiences translate all that well to the Mac unfortunately.
  • find a precompiled package that uses ATLAS. Anaconda or Canopy might be good places to look, although they might only include optimised libraries in the paid-for versions - I'm not sure about this.

Upvotes: 1

Related Questions