Skip to content

Commit

Permalink
Also add mpiexec flags to benchmark/CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
hirschsn committed Oct 2, 2019
1 parent 926d4aa commit f8d3f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maintainer/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function(PYTHON_BENCHMARK)
set(BENCHMARK_TEST_NAME benchmark__${BENCHMARK_NAME}__parallel_${nproc})
add_test(NAME ${BENCHMARK_TEST_NAME}
COMMAND ${MPIEXEC} ${MPIEXEC_OVERSUBSCRIBE} ${MPIEXEC_NUMPROC_FLAG} ${nproc}
${CMAKE_BINARY_DIR}/pypresso ${BENCHMARK_FILE} ${BENCHMARK_ARGUMENTS})
${MPIEXEC_PREFLAGS} ${CMAKE_BINARY_DIR}/pypresso ${BENCHMARK_FILE} ${BENCHMARK_ARGUMENTS} ${MPIEXEC_POSTFLAGS})
set_tests_properties(${BENCHMARK_TEST_NAME} PROPERTIES RUN_SERIAL TRUE)
endforeach(nproc)
else()
Expand Down

0 comments on commit f8d3f28

Please sign in to comment.