Skip to content

Commit

Permalink
Merge Pull Request #13637 from sebrowne/Trilinos/promote-uninitialize…
Browse files Browse the repository at this point in the history
…d-warning

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'Add `uninitialized` to promoted warnings list'
PR Author: sebrowne
  • Loading branch information
trilinos-autotester authored Dec 4, 2024
2 parents 3345ccd + 655b422 commit 6ed51ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmake/ProjectCompilerPostConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ IF (KokkosEnable)
ENDIF()

set(upcoming_warnings shadow ${Trilinos_ADDITIONAL_WARNINGS})
set(promoted_warnings parentheses sign-compare unused-variable reorder)
set(promoted_warnings parentheses sign-compare unused-variable reorder uninitialized)

if("${Trilinos_WARNINGS_MODE}" STREQUAL "WARN")
enable_warnings("${upcoming_warnings}")
Expand Down
16 changes: 9 additions & 7 deletions packages/framework/ini-files/config-specs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1249,8 +1249,10 @@ opt-set-cmake-var Sacado_ENABLE_HIERARCHICAL_DFAD BOOL FORCE : ON
opt-set-cmake-var Tpetra_INST_SERIAL BOOL FORCE : ON
opt-set-cmake-var Zoltan_ENABLE_Scotch BOOL FORCE : OFF

[CUDA11-RUN-SERIAL-TESTS]
[CUDA-RUN-SERIAL-TESTS]
opt-set-cmake-var Kokkos_CoreUnitTest_Cuda1_SET_RUN_SERIAL BOOL FORCE : ON
opt-set-cmake-var Kokkos_CoreUnitTest_CudaTimingBased_SET_RUN_SERIAL BOOL FORCE : ON
opt-set-cmake-var Kokkos_CoreUnitTest_Default_SET_RUN_SERIAL BOOL FORCE : ON
opt-set-cmake-var KokkosKernels_sparse_cuda_MPI_1_SET_RUN_SERIAL BOOL FORCE : ON
opt-set-cmake-var KokkosKernels_batched_dla_cuda_MPI_1_SET_RUN_SERIAL BOOL FORCE : ON
opt-set-cmake-var Intrepid2_unit-test_MonolithicExecutable_Intrepid2_Tests_MPI_1_SET_RUN_SERIAL BOOL FORCE : ON
Expand Down Expand Up @@ -1532,7 +1534,7 @@ opt-set-cmake-var Adelus_vector_random_npr4_rhs1_MPI_4_DISABLE BOOL : ON

use PACKAGE-ENABLES|NO-EPETRA

use CUDA11-RUN-SERIAL-TESTS
use CUDA-RUN-SERIAL-TESTS

[rhel8_sems-cuda-11.4.2-sems-gnu-10.1.0-sems-openmpi-4.1.4_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_all]
# uses sems-v2 modules
Expand Down Expand Up @@ -1561,8 +1563,7 @@ use PACKAGE-ENABLES|NO-PACKAGE-ENABLES
use PACKAGE-ENABLES|NO-EPETRA
use COMMON_SPACK_TPLS
use SEMS_COMMON_CUDA

use CUDA11-RUN-SERIAL-TESTS
use CUDA-RUN-SERIAL-TESTS

opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL FORCE : OFF

Expand Down Expand Up @@ -1678,7 +1679,7 @@ opt-set-cmake-var Adelus_vector_random_npr4_rhs1_MPI_4_DISABLE BOOL : ON

use PACKAGE-ENABLES|NO-EPETRA

use CUDA11-RUN-SERIAL-TESTS
use CUDA-RUN-SERIAL-TESTS

[rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_all]
# uses sems-v2 modules
Expand Down Expand Up @@ -2113,14 +2114,15 @@ use USE-UVM|NO
use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-EPETRA
use SEMS_COMMON_CUDA
use CUDA-RUN-SERIAL-TESTS

opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL : ON
opt-set-cmake-var TPL_ENABLE_X11 BOOL : OFF
opt-set-cmake-var MPI_EXEC_PRE_NUMPROCS_FLAGS STRING FORCE : --bind-to;none --mca btl ^smcuda
opt-set-cmake-var Kokkos_ENABLE_IMPL_CUDA_MALLOC_ASYNC BOOL : OFF

[rhel8_cuda-11-gcc-openmpi_release_static_Ampere80_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_no-package-enables]
use rhel8_cuda-gcc-openmpi_release_static_Ampere80_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_no-package-enables
use CUDA11-RUN-SERIAL-TESTS
opt-set-cmake-var ROL_test_elementwise_TpetraMultiVector_MPI_4_DISABLE BOOL : ON

[rhel8_cuda-gcc-openmpi_release_static_Ampere80_no-asan_complex_no-fpic_mpi_pt_no-rdc_uvm_deprecated-on_no-package-enables]
Expand All @@ -2139,7 +2141,7 @@ use USE-UVM|YES
use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-EPETRA
use SEMS_COMMON_CUDA
use CUDA11-RUN-SERIAL-TESTS
use CUDA-RUN-SERIAL-TESTS

opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL FORCE : OFF
opt-set-cmake-var Kokkos_ENABLE_TESTS BOOL FORCE : ON
Expand Down

0 comments on commit 6ed51ae

Please sign in to comment.