Skip to content

#7: Fix iteration breakdown, add frequency analysis, and plot dropped nodes #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ cmake_minimum_required(VERSION 3.17 FATAL_ERROR)
project(slow-node-detector VERSION 1.0)

set(CMAKE_CXX_STANDARD 17)

find_package(MPI REQUIRED)
find_package(KokkosKernels REQUIRED)
set(CMAKE_CXX_EXTENSIONS OFF)

add_subdirectory(src)

Expand All @@ -14,7 +12,21 @@ add_executable(
${SLOW_NODE_EXE}
"${CMAKE_SOURCE_DIR}/src/slow_node.cc"
"${CMAKE_SOURCE_DIR}/src/sensors.cc"
"${CMAKE_SOURCE_DIR}/src/freq.cc"
)

find_package(MPI REQUIRED)
target_link_libraries(${SLOW_NODE_EXE} PUBLIC MPI::MPI_CXX)
target_link_libraries(${SLOW_NODE_EXE} PUBLIC Kokkos::kokkoskernels)

find_package(MKL QUIET REQUIRED)
target_link_libraries(${SLOW_NODE_EXE} PUBLIC MKL::MKL)

find_package(Trilinos QUIET)
if (Trilinos_FOUND)
message(STATUS "Trilinos found: ${Trilinos_VERSION}")
target_link_libraries(${SLOW_NODE_EXE} PUBLIC Kokkos::kokkos)
else()
message(STATUS "Did not find Trilinos. Searching for kokkos directly.")
find_package(Kokkos REQUIRED)
target_link_libraries(${SLOW_NODE_EXE} PUBLIC Kokkos::kokkos)
endif()
Loading