張貼日期:Jul 08, 2015 2:29:27 AM
Caffe: Deep Learning Framework
硬體需求: Ubuntu 14.04
ATLAS (Automatically Tuned Linear Algebra Software)安裝: 線性代數的函式庫
英文安裝說明 (很複雜...)
1. turn off cpu throttling
sudo apt-get install cpufrequtils
Then edit the following file (if it doesn't exist, create it):
sudo nano /etc/default/cpufrequtils
And add the following line to it:
GOVERNOR="performance"
Now you need to disable ondemand daemon, otherwise after you reboot the settings will be overwriten.
sudo update-rc.d ondemand disable
sudo /etc/init.d/cpufrequtils restart for the new frequency
2.
Suggested commands:
bunzip2 -c atlas3.10.x.tar.bz2 | tar xfm - # create SRCdir mv ATLAS ATLAS3.10.x # get unique dir name cd ATLAS3.10.x # enter SRCdir mkdir Linux_C2D64SSE3 # create BLDdir cd Linux_C2D64SSE3 # enter BLDdir ../configure -b 64 -D c -DPentiumCPS=2400 \ # configure command --prefix=/home/whaley/lib/atlas \ # install dir --with-netlib-lapack-tarfile=/home/whaley/dload/lapack-3.4.1.tgz
# -b 64: 64-bit
# -D c -DPentiumCPS=2400, 2400 = 2.4GHz machine
# check CPU info in Ubuntu: less /proc/cpuinfo
# --with-netlib-... : add full lapack routines make build # tune & build lib make check # sanity check correct answer make ptcheck # sanity check parallel make time # check if lib is fast make install # copy libs to install dir
1. Download lapack-3.4.1.tgz