ray/README.md
2016-04-26 15:14:04 -07:00

1.6 KiB

Orchestra

Orchestra is a distributed execution framework with a Python-like programming model.

Design Decisions

For a description of our design decisions, see

Setup

Install Arrow

  1. git clone https://github.com/apache/arrow.git
  2. cd ~/arrow
  3. git checkout 2d8627cd81f83783b0ceb01d137a46b581ecba26
  4. cd ~/arrow/cpp
  5. bash setup_build_env.sh
  6. cd ~/arrow/cpp/thirdparty/flatbuffers-1.3.0
  7. export FLATBUFFERS_HOME=~/arrow/cpp/thirdparty/installed (or equivalent)
  8. cd ~/arrow/cpp/build
  9. cmake ..
  10. make
  11. sudo make install
  12. add export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/local/lib to your ~/.bashrc
  13. source ~/.bashrc

Install GRPC

  1. Follow the instructions here, though some of the instructions are outdated.
  2. cd ~/grpc
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. make install
  8. cd ..
  9. python setup.py install

Install Numbuf

  1. git clone git@github.com:amplab/numbuf.git
  2. cd numbuf/cpp/
  3. mkdir build
  4. cd build
  5. cmake ..
  6. sudo make install
  7. cd ../..
  8. cd python/
  9. mkdir build
  10. cd build
  11. cmake ..
  12. sudo make install
  13. cd ..
  14. sudo python setup.py install

Install Orchestra

  1. git clone git@github.com:amplab/photon.git
  2. cd photon
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make install
  7. cd ../lib/orchpy
  8. python setup.py install
  9. cd ~/orch/test
  10. bash gen-python-code.sh
  11. python runtest.py