Marwes / n-body

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All 4 programs are built by using 'make' and the executables are placed in the ./bin/ folder.¨

Each program is run as follows.

N2single NUM_BODIES ITERATIONS
N2parallel NUM_BODIES ITERATIONS NUM_THREADS
BH_single NUM_BODIES ITERATIONS THETA
BH_parallel NUM_BODIES ITERATIONS THETA NUM_THREADS

NUM_BODIES can optionally be replaced by the name of a file containing bodies created by the ./bin/generator program (also built by calling make).

generator FILENAME NUM_BODIES

To run the benchmarks found in the report you can run the bash file 'measure.sh' which runs all programs and outputs their run times.

About


Languages

Language:C++ 84.9%Language:Python 8.8%Language:Makefile 3.5%Language:Shell 2.7%