Skip to content

Implementation of the parallel version of the Kahn algorithm (Topological Order).

Notifications You must be signed in to change notification settings

gthomas08/Parallel-Processing-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Processing Project

This project is part of the Computer Engineering and Informatics Department (CEID) of University of Patras curriculum.

Summary

The goal of this project was to implement the parallel version of the Kahn algorithm in order to find the topological order of a given graph. This was done using C and the OpenMP API. More specifically, a subset of OpenMP API called tasks were used in order to achieve the parallelization of the algorithm.

Compilation

gcc -o kahnAlgorithm -O0 -fopenmp kahnAlgorithm.c functions.c linked_list.c

Run

./kahnAlgorithm x

Where x is the number of threads.

About

Implementation of the parallel version of the Kahn algorithm (Topological Order).

Topics

Resources

Stars

Watchers

Forks

Languages