Skip to content
Snippets Groups Projects
Unverified Commit 6c44df79 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Always set --bind-to none on testrunner.

Was set on frontend only.
parent f5313b30
No related branches found
No related tags found
No related merge requests found
...@@ -176,8 +176,9 @@ set(TESTRUNNER_ADDITIONAL_ARGUMENTS ${TESTRUNNER_ADDITIONAL_ARGUMENTS} ...@@ -176,8 +176,9 @@ set(TESTRUNNER_ADDITIONAL_ARGUMENTS ${TESTRUNNER_ADDITIONAL_ARGUMENTS}
add_custom_target(tests-cleanup ${CMAKE_COMMAND} -E remove -f testrunner.xml) add_custom_target(tests-cleanup ${CMAKE_COMMAND} -E remove -f testrunner.xml)
if(OGS_USE_PETSC) if(OGS_USE_PETSC)
set(MPIRUN_ARGS --bind-to none)
if("${HOSTNAME}" MATCHES "frontend.*") if("${HOSTNAME}" MATCHES "frontend.*")
set(MPIRUN_ARGS --mca btl_openib_allow_ib 1 --bind-to none) list(APPEND MPIRUN_ARGS --mca btl_openib_allow_ib 1)
endif() endif()
set(TEST_FILTER_MPI --gtest_filter=-MPITest*) set(TEST_FILTER_MPI --gtest_filter=-MPITest*)
add_custom_target(tests add_custom_target(tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment