Benchmarking program for scalar mpi reductions, and nonbatch script for running benchmarks

- New program mpi_reduce_bench
      - runs testcases defined in source
      - writes all benchmark results to a csv file, tags the testcase and benchmark run
      - takes optional argument for benchmark tag, default benchmark tag is a timestamp
    - New script mpibench.sh
      - runs the mpi_reduce_bench with defined parameters:
        - number of tasks
        - number of nodes
        - the benchmark tag for mpi_reduce_bench, default tag is the current git HEAD short hash
This commit is contained in:
Oskar Lappi
2020-06-05 19:48:40 +03:00
parent 9e5fd40838
commit 666f01a23d
4 changed files with 206 additions and 0 deletions

View File

@@ -96,6 +96,11 @@ if (BUILD_SAMPLES)
add_subdirectory(samples/cpptest)
add_subdirectory(samples/mpitest)
add_subdirectory(samples/benchmark)
add_subdirectory(samples/mpi_reduce_bench)
add_custom_target(copy-mpibench-script ALL
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/samples/mpi_reduce_bench/mpibench.sh
${CMAKE_CURRENT_BINARY_DIR}/mpibench.sh)
add_subdirectory(samples/bwtest)
add_subdirectory(samples/genbenchmarkscripts)
endif()