Concurrent Device Development Module
Continous Assessment 1
Daniel Hayden & Frank Rooney
See more information about the project below the image:
Re-create the famous Wa-Tor program in Serial C++ then Concurrently
Read the original Wator Project paper here: https://github.com/josephkehoe/CDD101/blob/master/Concurrency/project/wator_dewdney%20(1).pdf
We decided to use the SFML graphics library over just OpenGL alone as it gives more options.
To install SFML on UBUNTU:
sudo apt-get install libsfml-dev
Download SFML, Open the downloaded directory in terminal, enter:
$ sudo cp -r include/SFML /usr/include
$ sudo cp -r /lib/* /usr/lib
$ sudo cp -r share/SFML /usr/share
This will add the libraries to your HDD and allow you to comiple the Wator program.
To compile the program, open the repo in the command prompt and type "make"
To clean/remove the object files type "make clean"
To run the program once compiled, type "./main"
sudo apt-get update
sudo apt install valgrind
sudo apt install kcachegrind
see profile.sh for more info
chmod 755 ./profile.sh first to run this file via command line.
Enter "./profile.sh" in the terminal to run
This file will clean, build and run the program and produce a valgrind profiling report
on compleation the valgrind report can be viewed with kcachegrind GUI tool
Master = Serial Multithreadded = Parallel