Skip to content

Commit

Permalink
Explain why no find_package(MPI) in tests
Browse files Browse the repository at this point in the history
Applying Carl's suggestion.
  • Loading branch information
cedricchevalier19 committed Jun 12, 2024
1 parent 0f0892a commit f869f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions perf_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ enable_testing()
if (NOT TARGET KokkosComm::KokkosComm)
find_package(KokkosComm REQUIRED)

# Find MPI, useful for standalone tests and for having MPI_EXEC macros
# find_package(MPI REQUIRED) # not needed, KokkosComm already does this
# find_package(MPI REQUIRED), useful for standalone tests and for having MPI_EXEC macros
# Commented out because KokkosComm already does this and we want to test the export is working properly
endif()

include(FetchContent)
Expand Down
4 changes: 2 additions & 2 deletions unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ enable_testing()
if (NOT TARGET KokkosComm::KokkosComm)
find_package(KokkosComm REQUIRED)

# Find MPI, useful for standalone tests and for having MPI_EXEC macros
# find_package(MPI REQUIRED) # not needed, KokkosComm already does this
# find_package(MPI REQUIRED), useful for standalone tests and for having MPI_EXEC macros
# Commented out because KokkosComm already does this and we want to test the export is working properly
endif()

include(FetchContent)
Expand Down

0 comments on commit f869f73

Please sign in to comment.