]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Quicktests: Use mpirun configured by FindMPI.cmake instead of generic "mpirun -n"
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Feb 2014 18:21:11 +0000 (18:21 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Feb 2014 18:21:11 +0000 (18:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@32414 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/tests/quick_tests/CMakeLists.txt

index a94370078007fdcde0ead038c94e1b4beb51b0a6..1d6da9b8e8ef6a751184f87f9cccfd871e9ed719 100644 (file)
@@ -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}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.