An open API service indexing awesome lists of open source software.

https://github.com/gthomas08/parallel-processing-project

Implementation of the parallel version of the Kahn algorithm (Topological Order).
https://github.com/gthomas08/parallel-processing-project

c kahns-alogrithm openmp topological-order topological-sort

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.