Benchmarks

In this chapter we describe performance benchmark programs distributed with SUNDIALS. To enable the benchmark programs and set the installation location use the following CMake options.

SUNDIALS_ENABLE_BENCHMARKS

Enable the benchmark problems

Default: OFF

Added in version x.y.z: Replaces the deprecated option BUILD_BENCHMARKS

SUNDIALS_BENCHMARKS_INSTALL_PATH

Full path to where to install the benchmark problems

Default: CMAKE_INSTALL_PREFIX/benchmarks

Added in version x.y.z: Replaces the deprecated option BENCHMARKS_INSTALL_PATH

SUNDIALS_BENCHMARKS_OUTPUT_DIR

Location to write benchmark output files

Default: PROJECT_BINARY_DIR/Benchmarking/output

Added in version x.y.z: Replaces the deprecated option SUNDIALS_BENCHMARK_OUTPUT_DIR

SUNDIALS_BENCHMARKS_CALIPER_OUTPUT_DIR

Location to write benchmark caliper files

Default: PROJECT_BINARY_DIR/Benchmarking/caliper

Added in version x.y.z: Replaces the deprecated option SUNDIALS_BENCHMARK_CALIPER_OUTPUT_DIR

SUNDIALS_BENCHMARKS_NUM_CPUS

Number of CPU cores to run benchmarks with

Default: 40

Added in version x.y.z: Replaces the deprecated option SUNDIALS_BENCHMARK_NUM_CPUS

SUNDIALS_BENCHMARKS_NUM_GPUS

Number of GPUs to run benchmarks with

Default: 4

Added in version x.y.z: Replaces the deprecated option SUNDIALS_BENCHMARK_NUM_GPUS

The following sections describe the SUNDIALS performance benchmark problems.