Skip to content

Commit

Permalink
Fix: leave default for OMPT support in Caliper
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Zuzek committed Nov 12, 2021
1 parent 8a1fa7f commit 5b7e037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ if(KokkosTools_ENABLE_PAPI)
else()
message(STATUS "PAPI support disabled")
endif()
find_package(OpenMP)
if(KokkosTools_ENABLE_MPI)
find_package(MPI REQUIRED)
message(STATUS "Found MPI ${MPI_CXX_VERSION}")
Expand Down
8 changes: 2 additions & 6 deletions cmake/configure_tpls.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ macro(configure_caliper)
set(CALIPER_WITH_FORTRAN OFF) # Build and install Fortran wrappers.
set(CALIPER_WITH_KOKKOS ON) # Enable Kokkos profiling support

# Build with support for the OpenMP tools interface.
if(OpenMP_FOUND)
set(CALIPER_WITH_OMPT ON)
else()
set(CALIPER_WITH_OMPT OFF)
endif()
# Note: Let Caliper figure that out or it may fail on missing omp-tools.h
# set(CALIPER_WITH_OMPT OFF) # Build with support for the OpenMP tools interface.

set(CALIPER_WITH_SAMPLER ON) # Enable time-based sampling on Linux.
set(CALIPER_WITH_TOOLS ON) # Build Caliper’s tools (i.e, cali-query and mpi-caliquery). Default: On.
Expand Down

0 comments on commit 5b7e037

Please sign in to comment.