From 4a1c84bad3a0fe7aed97ef4670cd1fe54c95ce73 Mon Sep 17 00:00:00 2001 From: maier Date: Wed, 5 Feb 2014 18:21:11 +0000 Subject: [PATCH] Quicktests: Use mpirun configured by FindMPI.cmake instead of generic "mpirun -n" git-svn-id: https://svn.dealii.org/trunk@32414 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/tests/quick_tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/tests/quick_tests/CMakeLists.txt b/deal.II/tests/quick_tests/CMakeLists.txt index a943700780..1d6da9b8e8 100644 --- a/deal.II/tests/quick_tests/CMakeLists.txt +++ b/deal.II/tests/quick_tests/CMakeLists.txt @@ -43,7 +43,7 @@ MACRO(make_quicktest test_basename build_name mpi_run) IF("${mpi_run}" STREQUAL "") SET(_command ./${_target}) ELSE() - SET(_command mpirun -n ${mpi_run} ./${_target}) + SET(_command ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} ${mpi_run} ${MPIEXEC_PREFLAGS} ./${_target}) ENDIF() ADD_CUSTOM_TARGET(${_target}.run DEPENDS ${_target} -- 2.39.5