centos下安裝運行PowerGraph

有問題請留言,我會盡力解決。

centos下安裝運行PowerGraph

下載

git clone https://github.com/jegonzal/PowerGraph.git

編譯

注意:裝之前看下Github上的更新,對照着改一下下載文件裏的小bug。比如PowerGraph/CMakList.txt裏面一些軟件包的鏈接可能失效,導致make時報錯。

cd PowerGraph
./configure
cd release/toolkits/graph_analytics
make -j4

-j4 perform up to 4 build tasks in parallel

運行

1)run with exist graph

./pagerank --format=snap --graph=./數據集路徑/data/smallnetflix_mm --ncpus=8

–ncpus=8 set the number of cpu cores(8) to run the program

2) run with generated graph

./pagerank --powerlaw=100000 --ncpus=16

–powerlaw=100000 parameter set the generated graph size(100000)


附1:安裝參考

ubuntu下安裝步驟的鏈接

GraphLab 安裝在Hadoop集羣鏈接

CentOS下 Graph Analytics集羣安裝鏈接

集羣安裝部署運行Graphlab鏈接

附2:理論參考

Power Graph的關於GAS的思考


發佈了28 篇原創文章 · 獲贊 12 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章