Skip to content

Installing ATLAS in Ubuntu

mlopez14 edited this page Aug 8, 2015 · 3 revisions
# To disable throttling
apt-get install indicator-cpufreq
indicator-cpufreq

# A chip icon will appear in the menu bar; click on it and select "performance"; CPU throttling has been disabled

# Download ATLAS from https://sourceforge.net/project/showfiles.php?group_id=23725    (http://math-atlas.sourceforge.net/atlas_install/node4.html) and save in ~/Desktop

# Create directory in which to untar 
mkdir ~/Desktop/ATLAS_Install

# Untar
cd ~/Desktop/ATLAS_Install
tar xvfj ~/Desktop/atlas3.10.1.tar.bz2 

# Create directory in which to install ATLAS; use this directory to not have to change makefile in sd++
mkdir /usr/local/atlas

# Configure ATLAS
cd /usr/local/atlas
~/Desktop/ATLAS_Install/ATLAS/./configure

# If configured properly, it should say "DONE configure" at the end

# build ATLAS (takes a while; about 5 minutes in Nikola)
make build

# check that ATLAS gives correct answers (takes about 40 seconds in Nikola)
make check

# check that ATLAS runs in parallel (takes about 40 seconds in Nikola)
make ptcheck

# check speed (takes about 40 seconds in Nikola)
make time

# copy libs to install dir
make install

# If something goes wrong (somewhat likely), go to http://math-atlas.sourceforge.net/atlas_install/node6.html
Clone this wiki locally