Git Product home page Git Product logo

ps-mpi's Introduction

ps-mpi

code is based on ps-lite.

Build

Update your own proxy config in the dependency

ifndef WGET
# PLEASE use your own proxy config
WGET = wget -e use_proxy=yes -e http_proxy=127.0.0.1:8889 -e https_proxy=127.0.0.1:8889
endif

Clone and build

git clone https://github.com/DLFC/ps-mpi
cd ps-lite && make -j4

Run example

cd tests
./local_mpi.sh

./local_mpi.sh 中修改,可运行三个示例。

修改细节

  1. 修改 Makefile 修改编译器 g++mpic++
  2. 修改运行脚本和测试样例,使得其适合 mpi 启动。
  3. 修改 postoffice.cc ,初始化时按 mpirank 分配 role
  4. 增加 message.h 中结构 Node 的成员 rank_mpi 记录节点的 mpi_rank 。并修改 meta.proto
  5. 修改 zmq_van.h 。将 data 传递的方式改为 mpi

ps-mpi's People

Contributors

shenggan avatar spencercjh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.