有問題請留言,我會盡力解決。
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)