How epcced/epcc-openmp-microbenchmarks works
Project type and purpose
• This is an open-source C microbenchmark suite for measuring OpenMP performance (EPCC OpenMP MicroBenchmark Suite).
• It provides two versions side by side:
• v3.1 (“classic” version) in openmpbench_C_v31
• v4.0 (enhanced version) in openmpbench_C_v40
• Each version builds a single CLI executable that runs a set of modular benchmarks (array, scheduling, synchronization, tasks).
File structure
• Top-level directories:
• openmpbench_C_v31/
• openmpbench_C_v40/
• In each version folder:
• Source modules: arraybench.{c,h}, schedbench.{c,h}, syncbench.{c,h}, taskbench.{c,h}
• Shared support code: common.{c,h}
• Build system: Makefile, Makefile.defs*, Licence.txt, README.md
• No frontend/backend split—this is a CLI tool with an internal modular structure.
• Build scripts detect various compilers (gcc, intel, cray, aocc in v4.0).
README for additional insights
• v4.0 adds user-control flags, improved defaults, extra statistics.
• Both versions run measurements under OpenMP: spawn threads, record timing, report results.
Final advice
• Be very detailed: break benchmarks into four modules, show the common library as the glue.
• Both build-time and run-time interactions.