Giter Site home page Giter Site logo

snapworld's Introduction

Snapworld++

Improved Distributed Graph Processing

System Requirements

  • Python 2.6.6

  • Ruby 1.8.7 (with Rake)

  • gnuplot (To prevent snap from printing spurious error messages)
  • swig (For snap-python)
  • nodejs (For running the broker)

Installing

Below are the steps to install Snapworld.

1.  Setup your SSH keys for GitHub, instructions can be found here:
    https://help.github.com/articles/generating-ssh-keys
2. % mkdir hanworks; cd hanworks
    In your workspace create a directory called hanworks and change dir. 
3. % git clone [email protected]:snap-stanford/snapworld.git
    Clone the snapworld repository.
4. % cd snapworld; rake setup
    This only needs to be run on initial setup, it pulls the other
    necessary repositiories, and builds the project.

Running

Below are the steps to install and run Snapworld.

1.  In the snapworld directory open the Rakefile and change HOST_N to
    the number of machines you want to use. This number is a total and 
    includes the master and supervisors, ex. HOST_N=5
2.  In the snapworld directory open the snapw.config and configure
    the parameters for your test. Specifically make sure to modify the
    hosts list to only include the machines you want to use. Also set the
    other parameters (nodes, range, stat_tasks, gen_tasks, drange).
3. % rake test
    In the snapworld directory kickoff the test with rake test.

Stopping

To stop a job type do the following.

1. % rake cleanup
    This command will kill all of the processes running on all of the
  machines.

Metrics

To view metrics graphs associated with a given run, log into iln01 and

1. % cd python
    Currently it has to be run from this directory.
2. % ./log_parser process_run -f PATH_OF_master.log_FILE
    Run using ./log_parser instead of python log_parser to make sure
    it uses the correction version of Python.

snapworld's People

Contributors

cwildman avatar markulrich avatar minghan avatar nikhilkhadke avatar roks avatar smacke avatar

Watchers

 avatar

snapworld's Issues

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.