plato icon indicating copy to clipboard operation
plato copied to clipboard

编译使用

Open guojin1211 opened this issue 5 years ago • 7 comments

您好,能发一份详细点的编译、使用教程吗?

guojin1211 avatar Oct 10 '20 05:10 guojin1211

编译: 1.需要一个可以访问外网的linux开发环境,下载plato源代码。 2.安装依赖文件,依次执行如下命令: sudo ./docker/install-dependencies.sh ./3rdtools.sh distclean && ./3rdtools.sh install 3.编译,执行如下命令: ./build.sh 4.本地测试,执行如下命令: ./scripts/run_pagerank_local.sh

使用: plato是分布式图计算框架,基于mpi通信,需要对mpi的机制和使用方法有一定了解。 可以参考例子:./scripts/run_pagerank.sh

ustcyu avatar Oct 13 '20 13:10 ustcyu

执行./build.sh,一直报错ERROR: An error occurred during the fetch of repository 'remote_coverage_tools',请问是哪里出错了?请指点

guojin1211 avatar Oct 14 '20 07:10 guojin1211

和 https://github.com/Tencent/plato/issues/117 是同一个问题吗?

ustcyu avatar Oct 14 '20 08:10 ustcyu

报错一样。117是在ubuntu上部署。116在windows10上装的centOS7上部署。用docker部署也没有完成,请指导,谢谢

guojin1211 avatar Oct 14 '20 09:10 guojin1211

应该是bazel有问题,重新走一遍编译流程试一下吧

ustcyu avatar Oct 14 '20 10:10 ustcyu

[root@centosjin admin]# bazel version WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Wed Nov 20 15:04:55 2019 (1574262295) Build timestamp: 1574262295 Build timestamp as int: 1574262295

这样的bazel应该是安装对了不?

guojin1211 avatar Oct 14 '20 11:10 guojin1211

看最后的build.sh是否执行成功即可

ustcyu avatar Oct 15 '20 13:10 ustcyu