Skip to content

Commit f3350c9

Browse files
committed
Allow MPI to run as root
1 parent 2425310 commit f3350c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/space-time-stack/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ if(KokkosTools_ENABLE_MPI)
1212
RANKS 2
1313
)
1414
target_link_libraries(test_threshold_with_imbalance PRIVATE MPI::MPI_CXX)
15+
set_property(
16+
TEST test_threshold_with_imbalance
17+
APPEND PROPERTY ENVIRONMENT "OMPI_ALLOW_RUN_AS_ROOT=1;OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1"
18+
)
1519
endif()

0 commit comments

Comments
 (0)