4994d43883590afd68ce47332ca3fc5fc7caf28d
MD-Bench
A simple, sequential C version of the Mantevo miniMD benchmark.
Build
- Open the
Makefileand edit theTAGvalue according to the tool chain used. Currently supported is GCC, CLANG (LLVM), and ICC (Intel). - Open and adapt the compiler flags in
<include_<TOOLCHAIN>.mk, e.g. ininclude_ICC.mkfor the Intel tool chain. - Build the binary calling
make.
You can clean intermediate build results with make clean, and all build results with make distclean.
You have to call make clean before make if you changed the build settings.
Configuration
Currently all settings are hard-coded in main.c.
Run the benchmark
Without any options 200 steps with system size 32x32x32 is used.
The default can be changed using the following options:
-n / --nsteps <int>: set number of timesteps for simulation
-nx/-ny/-nz <int>: set linear dimension of systembox in x/y/z direction
Description
Languages
C
88.8%
Cuda
8.4%
Makefile
2.8%