| File | Date | Author | Commit |
|---|---|---|---|
| datasets | 2021-04-01 |
|
[5b218a] Moved datasets in general folder |
| instructions | 2021-03-22 |
|
[374d63] set |
| metrics | 2021-03-25 |
|
[0ada5b] dels |
| report | 2021-03-25 |
|
[0ada5b] dels |
| source | 2021-04-01 |
|
[5b218a] Moved datasets in general folder |
| readme.md | 2021-05-12 |
|
[4e7191] Update readme.md |
Manos Chatzakis (csd4238@csd.uoc.gr)
The folder is organized as follows:
pagerank:
----datasets \
----metrics \
----source \
----report \
----readme.md
To compile the program you can use "make", supposing makefile and pagerank.c are in the same directory.\
Make targets are: {all,gcc,clean}
To run an instance of the program, use: \
$./page_rank -f input_dataset -m -t threads \
To see all possible configurations, type:\
$./page_rank -h
eg: \
$./page_rank -f datasets/enron.txt -m -t 2 \
will run the program with 2 threads for the enron dataset and it will print the total time for pagerank calculation.
The code can parse any dataset provided the follow the following format: \
SrcID DstID //no self loops allowed\
It ignores comment lines, which are the lines that start with "#".
A csv file following the described format is produced in the same directory with the executable as "pagerank.csv"
A brief report presenting the development method and measurements is provided.