forked from GraphChi/graphchi-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
22 lines (16 loc) · 780 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## Building
You can build GraphChi with any IDE, or using Maven. Just
write on the command-line:
```
mvn assembly:assembly -DdescriptorId=jar-with-dependencies
```
## Running GraphChi
To run the pagerank example:
```
java -Xmx2048m -cp target/graphchi-java-0.2-jar-with-dependencies.jar edu.cmu.graphchi.apps.Pagerank [GRAPH-FILENAME] [NUM-OF-SHARDS] [FILETYPE]
```
or Connected Components:
```
java -Xmx2048m -cp target/graphchi-java-0.2-jar-with-dependencies.jar edu.cmu.graphchi.apps.ConnectedComponents [GRAPH-FILENAME] [NUM-OF-SHARDS] [FILETYPE]
```
Above, FILETYPE can be "edgelist" or "adjlist". See https://github.com/GraphChi/graphchi-cpp/wiki/Edge-List-Format and https://github.com/GraphChi/graphchi-cpp/wiki/Adjacency-List-Format for descriptions.