Skip to content

nikos912000/parallel-pagerank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Pagerank using Pthreads

A serial and a parallel implementation of Pagerank algorithm, in C, using Pthreads.

4th Course Assignment for Parallel and Distributed Computing Systems (2013).

How to use

  1. Download a graph to use (eg. web-Google.txt from here). You might need to remove any headers from the file.
  2. Run make command in a unix-based system
  3. Run the executable given the appropriate arguments
Arguments for serial version
  • graph filename
  • nodes
  • threshold
  • d

Example:

./pagerank_serial web-Google.txt 916428 0.0001 0.85
Arguments for PTHREADS version
  • graph filename
  • nodes
  • threshold
  • d
  • threads

Example:

./pagerank_pthreads web-Google.txt 916428 0.0001 0.85 8

Output

Info messages in stdout.

Releases

No releases published

Packages

No packages published