Skip to content

Instantly share code, notes, and snippets.

@sangheestyle
Last active August 29, 2015 14:10
Show Gist options
  • Save sangheestyle/9ada3bb57f81ac1e9003 to your computer and use it in GitHub Desktop.
Save sangheestyle/9ada3bb57f81ac1e9003 to your computer and use it in GitHub Desktop.
BLAS for numpy
wget http://hivelocity.dl.sourceforge.net/project/math-atlas/Stable/3.10.2/atlas3.10.2.tar.bz2
tar jxf atlas3.10.2.tar.bz2

  288  tar jxf atlas3.10.2.tar.bz2 
  289  ls
  290  cd ATLAS/
  291  ls
  292  cd ..
  293  clear
  294  ls
  295  mkdir atlas
  296  mv ATLAS atlas/src-3.10.2
  297  wget http://www.netlib.org/lapack/lapack-3.5.0.tgz
  298  mkdir intel
  299  cd intel
  300  cpufreq-selector -g performance
  301  suod cpufreq-selector -g performance
  302  sudo cpufreq-selector -g performance
  303  sudo apt-get install cpufreq-selector
  304  sudo apt-get install cpufrequtil
  305  sudo apt-get install cpufrequtils
  306  sudo apt-get install -t testing cpufrequtils
  307  sudo cpufreq-selector -g performance
  308  sudo cpufreq-set -r -g performance
../configure --prefix=/usr/lib/atlas-base --shared --with-netlib-lapack-tarfile=../lapack-3.5.0.tgz
[DEFAULT]
library_dirs = /usr/lib/atlas-base
include_dirs = /usr/lib/atlas-base
[atlas]
atlas_libs = lapack, f77blas, cblas, atlas
[amd]
amd_libs = amd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment