Damian Stachura
- Install glfw3 and glm
sudo apt-get update
sudo apt-get install libglm-dev glibglfw3-dev libglfw3 - Install CUDA 9.2
Go to CUDA installation
Go to subsection 2.6 and go to the download section.
Then choose sufficient options and finally you will choose deb(local).
Later click Downlad and enter commands from installation guide below - Thrust Library
sudo apt-get update
sudo apt-get install libthrust-dev
- Clone repository
Move to your favourite directory and enter following command
git clone https://github.com/damian1996/N-Body-Simulation.git - Run program
Enter following commands to run program
cd N-Body-Simulation
cd Naive
make clean && make
./out/main\
In the main interface are four versions of simulation to choose. Each algorithm will have 3D visualization of the simulation in which it is possible to scroll and to zoom.