2012年6月3日
在Ubuntu上安裝GraphLab, nimfa
Ubuntu 12.04 - 64bit on vmware player
安裝nimfa
第一次apt-get update
Ubuntu Software Sources>Choose a Download Server>Select Best Server選擇下載伺服器
sudo apt-get update
遇到錯誤 "Could not get lock /var/lib/apt/lists/lock"
sudo rm /var/lib/apt/lists/lock
重新執行sudo apt-get update
安裝numpy, scipy
sudo apt-get install python-numpy python-scipy
安裝nimfa
git clone git://github.com/marinkaz/MF.git
安裝libboost
第一次update
sudo apt-get update
遇到錯誤 "Could not get lock /var/lib/apt/lists/lock"
sudo rm /var/lib/apt/lists/lock
重新執行sudo apt-get update
sudo apt-get install zlib1g-dev libbz2-dev
sudo apt-get install build-essential
sudo apt-get install libboost1.46-all-dev (版本自己注意一下)
安裝itpp
sudo apt-get install libitpp-dev libitpp7-dbg
安裝mercurial (SCM)
sudo apt-get install mercurial
安裝cmake (cross platform make)
sudo apt-get install cmake
安裝graphlab v2 from mecurial
hg clone https://code.google.com/p/graphlabapi/
hg pull
hg update
Configure and Compile
cd graphlabapi
hg pull
hg update v2
export BOOST_ROOT=/usr/
./configure
cd release/
make -j4
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言