Skip to content
Snippets Groups Projects
Commit 6c5856ce authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

change back to String but use Force

parent d0efd825
Branches
Tags
No related merge requests found
......@@ -815,7 +815,7 @@ endif ( )
# OpenMPI 3.0 and higher checks the number of processes against the number of CPUs
execute_process(COMMAND ${MPIEXEC} --version RESULT_VARIABLE mpi_version_result OUTPUT_VARIABLE mpi_version_output)
if (mpi_version_result EQUAL 0 AND mpi_version_output MATCHES "\\(Open(RTE| MPI)\\) ([3-9]\\.|1[0-9])")
list ( APPEND MPIEXEC_PREFLAGS "-oversubscribe" )
set ( MPIEXEC_PREFLAGS "${MPIEXEC_PREFLAGS}" "-oversubscribe" CACHE STRING "" FORCE)
endif()
############################################################################################################################
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment