Skip to content

Instantly share code, notes, and snippets.

@palday
Last active December 17, 2015 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palday/5685150 to your computer and use it in GitHub Desktop.
Save palday/5685150 to your computer and use it in GitHub Desktop.
ATLAS for R on Debian and Ubuntu
sudo apt-get build-dep atlas
sudo apt-get install build-essential dpkg-dev cdbs devscripts gfortran liblapack-dev liblapack-pic
sudo apt-get source atlas
cd atlas*
sudo fakeroot debian/rules custom
# set n equal to the number of cpus (including virtual HT cpus) minus one
for i in {0..n}; do sudo cpufreq-set -g performance -c$i; done
sudo fakeroot debian/rules custom
sudo apt-get install libatlas-base-dev libatlas-base
sudo dpkg -i libatlas3gf-*.de
sudo update-alternatives --config libblas.so.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment