Skip to content
Relaxation technique in parallel using POSIX threads, barriers and condition variables.
C Shell C++ Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
bmpfile.c
bmpfile.h
grid.c
grid.h
notes
relax.c
scale.pbs
scale.sh
speedup.pbs
speedup.sh
test.sh
thread.c
thread.h
time.sh

README.md

parallel-relaxation

Relaxation technique in parallel using POSIX threads, barriers and condition variables.

Compiling

First make sure you have the dependencies:

sudo apt-get install gcc gnuplot

Then to compile and run:

make
./relax

Test Scripts

The test scripts record execution time of the program for various parameters. time.sh varies the number of threads used and produces a graph of the execution times. Running speedup.sh after time.sh produces a speedup a graph:

speedup graph

You can’t perform that action at this time.