Skip to content

Commit

Permalink
Disable Panzer examles for CUDA builds on 'ride' (trilinos#2318, TRIL…
Browse files Browse the repository at this point in the history
…-171)

The Panzer examples don't build on CUDA as noted in trilinos#2318.
  • Loading branch information
bartlettroscoe committed Mar 9, 2018
1 parent 9b13b37 commit 20b984d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/std/atdm/ride/tweaks/CUDA-DEBUG-CUDA.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/CUDA_COMMON_TWEAKS.cmake")
1 change: 1 addition & 0 deletions cmake/std/atdm/ride/tweaks/CUDA-RELEASE-CUDA.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/CUDA_COMMON_TWEAKS.cmake")
9 changes: 9 additions & 0 deletions cmake/std/atdm/ride/tweaks/CUDA_COMMON_TWEAKS.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ATDM_SET_ENABLE(Panzer_ENABLE_EXAMPLES OFF)
ATDM_SET_ENABLE(PanzerCore_ENABLE_EXAMPLES OFF)
ATDM_SET_ENABLE(PanzerDofMgr_ENABLE_EXAMPLES OFF)
ATDM_SET_ENABLE(PanzerDiscFE_ENABLE_EXAMPLES OFF)
ATDM_SET_ENABLE(PanzerAdaptersSTK_ENABLE_EXAMPLES OFF)
ATDM_SET_ENABLE(PanzerAdaptersIOSS_ENABLE_EXAMPLES OFF)
ATDM_SET_ENABLE(PanzerMiniEM_ENABLE_EXAMPLES OFF)
# ToDo: Change TriBITS so that, by default, Panzer_ENABLE_EXAMPLES=OFF will
# disable examples in the Panzer subpackages!q
2 changes: 2 additions & 0 deletions cmake/std/atdm/ride/tweaks/GNU-DEBUG-OPENMP.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#ATDM_SET_ENABLE(KokkosCore_UnitTest_OpenMP_MPI_1_DISABLE ON)
#ATDM_SET_ENABLE(KokkosCore_UnitTest_Serial_MPI_1_DISABLE ON)

0 comments on commit 20b984d

Please sign in to comment.