File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -421,6 +421,10 @@ else()
421
421
endfunction ()
422
422
endif ()
423
423
424
+ # mpiexec argument to disable pinning of processes to cores. Used in test suite
425
+ # as several tests are run at the same time.
426
+ set (ESPRESSO_MPIEXEC_DONT_PIN "--bind-to none" )
427
+
424
428
#
425
429
# Boost
426
430
#
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ function(python_test)
92
92
add_test (
93
93
NAME ${TEST_NAME}
94
94
COMMAND
95
- ${MPIEXEC} ${ESPRESSO_MPIEXEC_OVERSUBSCRIBE} ${MPIEXEC_NUMPROC_FLAG}
95
+ ${MPIEXEC} ${ESPRESSO_MPIEXEC_DONT_PIN}
96
+ ${ESPRESSO_MPIEXEC_OVERSUBSCRIBE} ${MPIEXEC_NUMPROC_FLAG}
96
97
${TEST_NUM_PROC} ${MPIEXEC_PREFLAGS} ${ESPRESSO_MPIEXEC_TMPDIR}
97
98
${CMAKE_BINARY_DIR} /pypresso ${PYPRESSO_OPTIONS}
98
99
${TEST_FILE_CONFIGURED} ${TEST_ARGUMENTS} ${MPIEXEC_POSTFLAGS} )
You can’t perform that action at this time.
0 commit comments