Installing ATLAS in Ubuntu - HiFiLES/HiFiLES-solver GitHub Wiki
Follow these steps line by line. The corresponding commands are shown below the comments.
# Disable throttling so ATLAS installation goes through
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
mkdir /usr/local/atlas
# Configure ATLAS from the directory in which you would like it installed
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)
make build
# check that ATLAS gives correct answers (takes about 40 seconds)
make check
# check that ATLAS runs in parallel (takes about 40 seconds)
make ptcheck
# check speed (takes about 40 seconds)
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