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

[T] Add --bind-to none to AddTest().

parent 6c44df79
No related branches found
No related tags found
No related merge requests found
...@@ -152,10 +152,9 @@ function(AddTest) ...@@ -152,10 +152,9 @@ function(AddTest)
elseif(AddTest_WRAPPER STREQUAL "mpirun") elseif(AddTest_WRAPPER STREQUAL "mpirun")
if(MPIRUN_TOOL_PATH) if(MPIRUN_TOOL_PATH)
if("${HOSTNAME}" MATCHES "frontend.*") if("${HOSTNAME}" MATCHES "frontend.*")
set(AddTest_WRAPPER_ARGS ${AddTest_WRAPPER_ARGS} --mca list(APPEND AddTest_WRAPPER_ARGS --mca btl_openib_allow_ib 1)
btl_openib_allow_ib 1
)
endif() endif()
list(APPEND AddTest_WRAPPER_ARGS --bind-to none)
set(WRAPPER_COMMAND ${MPIRUN_TOOL_PATH}) set(WRAPPER_COMMAND ${MPIRUN_TOOL_PATH})
if("${AddTest_WRAPPER_ARGS}" MATCHES "-np;([0-9]*)") if("${AddTest_WRAPPER_ARGS}" MATCHES "-np;([0-9]*)")
set(MPI_PROCESSORS ${CMAKE_MATCH_1}) set(MPI_PROCESSORS ${CMAKE_MATCH_1})
......
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