Go to file
2020-08-19 10:06:26 +02:00
src Fix more bugs. Enable optimization for CLANG. 2020-08-19 10:00:19 +02:00
util Refactor. Fix bug in atom initialization. 2020-08-19 09:00:35 +02:00
.gitignore Initial commit 2020-07-23 16:41:14 +02:00
include_CLANG.mk Fix more bugs. Enable optimization for CLANG. 2020-08-19 10:00:19 +02:00
include_GCC.mk Initial checkin of simplified miniMD port. Does not work yet. 2020-08-11 16:34:22 +02:00
include_ICC.mk Initial checkin of simplified miniMD port. Does not work yet. 2020-08-11 16:34:22 +02:00
LICENSE Initial commit 2020-07-23 16:41:14 +02:00
Makefile Initial checkin of simplified miniMD port. Does not work yet. 2020-08-11 16:34:22 +02:00
README.md Update README.md 2020-08-19 10:06:26 +02:00

MD-Bench

A simple, sequential re-implementation in C of the Mantevo miniMD benchmark.

Build

  1. Open the Makefile and edit the TAG value according to the tool chain used. Currently supported is GCC, CLANG (LLVM), and ICC (Intel).
  2. Open and adapt the compiler flags in <include_<TOOLCHAIN>.mk, e.g. in include_ICC.mk for the Intel tool chain.
  3. 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