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
Two versions of the program are compiled:
* nbody-unified: Uses CUDA unified memory and needs a Nvidia GPU with pascal or newer architecture
* nbody: Uses regular CUDA memory. Not executable in the current version of Nanos6
A debug version is provided for each version.
## Execution instructions
To run the program use:
```
./nbody-unified-p [input-file]
```
Input files can be found in the *data* folder. The programs outputs a *nbody_out.xyz* file which can be compared with the reference file in the *data* folder to check for correctness.