]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Augment documentation.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Apr 2014 03:12:22 +0000 (03:12 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Apr 2014 03:12:22 +0000 (03:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@32856 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_add_test.cmake

index cc47fb41d1cb9b1510f7b9036d887448a6751de3..bf41cec0bdddaad12150429daf35466c39d9796e 100644 (file)
@@ -258,11 +258,16 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file)
         TIMEOUT ${TEST_TIME_LIMIT}
         )
 
-      IF(_n_cpu GREATER 4)
+      #
+      # Limit concurrency of mpi tests. We can only set concurrency
+      # for the entire test, which includes the compiling and linking
+      # stages that are purely sequential. There is no good way to model
+      # this without unnecessarily restricting concurrency. Consequently,
+      # we just choose to model an "average" concurrency as one half of
+      # the number of MPI jobs.
+      #
+      IF(_n_cpu GREATER 2)
         MATH(EXPR _slots "${_n_cpu} / 2")
-        #
-        # Limit concurrency of mpi tests:
-        #
         SET_TESTS_PROPERTIES(${_test_full} PROPERTIES PROCESSORS ${_slots})
       ENDIF()
 

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.