Debian Codegraph @

cmake/std/atdm/ats2/tweaks/Tweaks.cmake

raw
1 #
2 # Set up to limit running on GPUs
3 #
4
5 ATDM_SET_CACHE(Trilinos_AUTOGENERATE_TEST_RESOURCE_FILE ON CACHE BOOL)
6 ATDM_SET_CACHE(Trilinos_CUDA_NUM_GPUS 4 CACHE STRING)
7 ATDM_SET_CACHE(Trilinos_CUDA_SLOTS_PER_GPU 2 CACHE STRING)
8
9 #
10 # Disables across multiple builds on 'ats2'
11 #
12
13 IF (ATDM_NODE_TYPE STREQUAL "CUDA")
14 # Adelus always needs -M -gpu passed to jsrun, but trilinos_jsrun cannot support this
15 # for single rank MPI processes without breaking the invocation of other Trilinos tests
16 ATDM_SET_ENABLE(Adelus_vector_random_MPI_1_DISABLE ON)
17 ENDIF()
18
19 IF (ATDM_CMAKE_BUILD_TYPE STREQUAL "DEBUG")
20
21 # Disable some expensive KokkosKernels tests in pure debug builds (#6464)
22 ATDM_SET_ENABLE(KokkosKernels_sparse_serial_MPI_1_DISABLE ON)
23
24 # Disable test that just has problems with BinUtils interaction (#6821)
25 ATDM_SET_ENABLE(TeuchosCore_show_stack_DISABLE ON)
26
27 ENDIF()
28
29 IF (Trilinos_ENABLE_DEBUG)
30
31 # STEQR() test fails on IBM Power systems with current TPL setup (#2410, #6166)
32 ATDM_SET_ENABLE(TeuchosNumerics_DISABLE_STEQR_TEST ON)
33
34 # Disable Tempus tests that started timing out in debug builds when
35 # Trilinos_ENABLE_DEBUG=ON was set PR #5970 (#6009)
36 ATDM_SET_ENABLE(Tempus_BackwardEuler_MPI_1_DISABLE ON)
37 ATDM_SET_ENABLE(Tempus_DIRK_ASA_MPI_1_DISABLE ON)
38 ATDM_SET_ENABLE(Tempus_ExplicitRK_ASA_MPI_1_DISABLE ON)
39 ATDM_SET_ENABLE(Tempus_HHTAlpha_MPI_1_DISABLE ON)
40 ATDM_SET_ENABLE(Tempus_IMEX_RK_Combined_FSA_MPI_1_DISABLE ON)
41 ATDM_SET_ENABLE(Tempus_IMEX_RK_Partitioned_Staggered_FSA_Partitioned_IMEX_RK_1st_Order_MPI_1_DISABLE ON)
42 ATDM_SET_ENABLE(Tempus_IMEX_RK_Staggered_FSA_MPI_1_DISABLE ON)
43 ATDM_SET_ENABLE(Tempus_Newmark_MPI_1_DISABLE ON)
44
45 # Disble some timing out ROL tests (#6124)
46 ATDM_SET_ENABLE(ROL_example_PDE-OPT_helmholtz_example_02_MPI_1_DISABLE ON)
47 ATDM_SET_ENABLE(ROL_example_PDE-OPT_navier-stokes_example_01_MPI_4_DISABLE ON)
48
49 ENDIF()