Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Dec 18, 2023
1 parent e007037 commit 425858c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ add_executable(test-main test_main.cpp
target_link_libraries(test-main KokkosComm gtest gtest_mpi)

add_test(NAME test-main
COMMAND mpirun -np 2 ./test-main
COMMAND mpirun -np 2 --oversubscribe ./test-main
)


2 changes: 2 additions & 0 deletions unit_tests/test_mpi.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <mpi.h>

#include <iostream>

int main(int argc, char *argv[]) {
// Initialize MPI before any call to gtest_mpi
MPI_Init(&argc, &argv);
Expand Down

0 comments on commit 425858c

Please sign in to comment.