Here is a quick introduction to get started with PEGASUS.
PEGASUS can be run in any machine that supports hadoop, but the shell scripts
and code packaging scripts works easily in Linux or Unix machines. PEGASUS
needs the following softwares to be installed in the system:
Hadoop 0.20.1 or greater
Apache Ant 1.7.0 or greater
Java 1.6.x or greater, preferably from Sun
Python 2.4.x or greater
Gnuplot 4.2.x or greater
Download and Install
Installation is as simple as downloading and extracting the installation file.
Download the file PEGASUSH-2.0.tar.gz
Extract the file by running the following command: tar xvzf PEGASUSH-2.0.tar.gz. Then, the directory
'PEGASUS' will be created.
PEGASUS can be run in one of the two ways: by using an interactive shell `pegasus.sh`, or by running shell scripts
for each algorithm. For first-time users, we recommend to use the interactive shell. Advanced users might want to
use shell scripts for each algorithm.
PEGASUS Interactive Shell
Type `pegasus.sh` in the installation directory. The pegasus shell appears.
Type `help` for available commands in the shell.
Type `demo` to see the demo. The demo first adds a graph file 'catepillar_star.edge' by the name 'catstar' in
PEGASUS, computes the inout degree, and generates the degree distribution plot 'catstar_deg_inout.eps'.
Running Each Algorithm
In the installation directory, type 'make' to see the demo of computing radii and diameter of an example graph
using the shell script for running radius algorithm.
For details of running PEGASUS, see the PEGASUS user guide PDF file here.
SCHOOL OF COMPUTER SCIENCE