Archive for April, 2010

Howto link against system-wide BLAS library using numpy.distutils

Thursday, April 22nd, 2010

If your numpy installation uses system-wide BLAS libraries (this will most likely be the case unless you installed it through prebuilt windows binaries), you can retrieve this information at compile time to link python modules to BLAS. The function get_info in numpy.distutils.system_info will return a dictionary that contains the needed information to link against BLAS [...]