Skip to content
Merged
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
7 changes: 7 additions & 0 deletions cmake/SmithBasics.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ if (NOT SMITH_BASICS_SETUP)
cmake_dependent_option(SMITH_ENABLE_MPI "Enables Smith with MPI support" ON "ENABLE_MPI" OFF)
cmake_dependent_option(SMITH_ENABLE_OPENMP "Enables Smith with OPENMP support" ON "ENABLE_OPENMP" OFF)

# Options for builtin TPLs
option(SMITH_ENABLE_GRETL "Enables Smith with Gretl Support" ON)
option(SMITH_ENABLE_CONTINUATION "Enables Smith with Continuation Solver support" ON)

if (SMITH_ENABLE_HIP OR SMITH_ENABLE_CUDA)
message(STATUS "Disabling Smith's Continuation Solver support due to currently non-supported GPU build")
set(SMITH_ENABLE_CONTINUATION FALSE CACHE BOOL "" FORCE)
endif()

#------------------------------------------------------------------------------
# Profiling options
Expand Down
5 changes: 0 additions & 5 deletions cmake/thirdparty/SetupSmithThirdParty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ if (NOT SMITH_THIRD_PARTY_LIBRARIES_FOUND)
# Can be removed once this BLT PR is merged https://github.com/LLNL/blt/pull/585 (?)
find_package(CUDAToolkit REQUIRED)
set(smith_device_depends blt::cuda CUDA::cublasLt CACHE STRING "" FORCE)
set(SMITH_ENABLE_CONTINUATION FALSE)
elseif(SMITH_ENABLE_HIP)
set(smith_device_depends blt::hip CACHE STRING "" FORCE)
set(SMITH_ENABLE_CONTINUATION FALSE)
else()
set(smith_device_depends "" CACHE STRING "" FORCE)
endif()
Expand Down Expand Up @@ -417,9 +415,6 @@ if (NOT SMITH_THIRD_PARTY_LIBRARIES_FOUND)
#------------------------------------------------------------------------------
# ContinuationSolvers
#------------------------------------------------------------------------------
if (NOT DEFINED SMITH_ENABLE_CONTINUATION)
set(SMITH_ENABLE_CONTINUATION ON)
endif()
message(STATUS "Smith Enable Continuation: ${SMITH_ENABLE_CONTINUATION}")

if(SMITH_ENABLE_CONTINUATION)
Expand Down