From: Denis Davydov Date: Sat, 7 Oct 2017 19:10:58 +0000 (+0200) Subject: explicitly oversubscribe with MPI for quick tests X-Git-Tag: v9.0.0-rc1~981^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c18fccf3084d8a51016a4c86714c5da9175584c8;p=dealii.git explicitly oversubscribe with MPI for quick tests --- diff --git a/tests/quick_tests/CMakeLists.txt b/tests/quick_tests/CMakeLists.txt index 13c1d65716..925d38d5fc 100644 --- a/tests/quick_tests/CMakeLists.txt +++ b/tests/quick_tests/CMakeLists.txt @@ -59,7 +59,7 @@ MACRO(make_quicktest test_basename build_name mpi_run) # this is a hack to make sure the -OK file is deleted # even if compilation fails. ADD_CUSTOM_TARGET(kill-${_target}-OK - COMMAND rm -f ${_target}-OK + COMMAND rm -f ${_target}-OK WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) ADD_DEPENDENCIES(${_target} kill-${_target}-OK) @@ -70,7 +70,10 @@ MACRO(make_quicktest test_basename build_name mpi_run) -P ${CMAKE_SOURCE_DIR}/cmake/scripts/run_test.cmake WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) - SET_TESTS_PROPERTIES(${_target} PROPERTIES LABEL "sanity checks") + SET_TESTS_PROPERTIES(${_target} PROPERTIES + LABEL "sanity checks" + ENVIRONMENT "OMPI_MCA_rmaps_base_oversubscribe=1") + # ^^^ Allow oversubscription for MPI (needed for Openmpi@3.0) ENDMACRO()