Skip to content

Commit

Permalink
Commenting out find_package(MPI) for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricchevalier19 committed Apr 12, 2024
1 parent c840c1b commit e6c626a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions perf_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ enable_testing()
# find Kokkos Comm to do a standalone build
if (NOT TARGET KokkosComm::KokkosComm)
find_package(KokkosComm REQUIRED)
endif()

# Find MPI, useful for standalone tests and for having MPI_EXEC macros
find_package(MPI REQUIRED)
# Find MPI, useful for standalone tests and for having MPI_EXEC macros
# find_package(MPI REQUIRED) # not needed, KokkosComm already does this
endif()

include(FetchContent)

Expand Down
6 changes: 3 additions & 3 deletions unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ enable_testing()
# find Kokkos Comm to do a standalone build
if (NOT TARGET KokkosComm::KokkosComm)
find_package(KokkosComm REQUIRED)
endif()

# Find MPI, useful for standalone tests and for having MPI_EXEC macros
find_package(MPI REQUIRED)
# Find MPI, useful for standalone tests and for having MPI_EXEC macros
# find_package(MPI REQUIRED) # not needed, KokkosComm already does this
endif()

include(FetchContent)

Expand Down

0 comments on commit e6c626a

Please sign in to comment.