centos下安装运行PowerGraph

来源:互联网 发布:知乎wifi不能用 编辑:程序博客网 时间:2024/06/12 00:31

有问题请留言,我会尽力解决。

centos下安装运行PowerGraph

下载

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

编译

注意:装之前看下Github上的更新,对照着改一下下载文件里的小bug。比如PowerGraph/CMakList.txt里面一些软件包的链接可能失效,导致make时报错。

cd PowerGraph./configurecd release/toolkits/graph_analyticsmake -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的思考