Newer
Older
# Nbody
## Description
Nbody simulation is a simulation of a dynamical system of particles, usually under the influence of physical forces, such as gravity.
## Versions
We have several implementations of this benchmark:
* **01.nbody_cuda:** Parallel version using CUDA tasks
* **02.nbody_hybrid:** Parallel version using a combination of CUDA and SMP tasks in alternating iterations
## Execution instructions
To run the program use:
```
./nbody [input-file]
Input files can be found in the *data/input* folder.
The programs creates a *nbody_out.xyz* file which can be compared with the reference file in the *data/output* folder to check for correctness.