Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20241206_175820 branch to master #13658

Merged
merged 34 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
26dbd33
Tpetra: Initialize KokkosKernels TPLs during init
brian-kelley Nov 25, 2024
2921025
Add support for using env variable
jmlapre Nov 13, 2024
f308170
MueLu: Add function to enforce boundary condtions on initial guess
cgcgcg Nov 27, 2024
a9ab78b
add FORCE back to Trilinos_ENABLE_TESTS
jmlapre Nov 25, 2024
37caafb
Fix out-of-bound access on RHS
vqd8a Dec 2, 2024
519dbe4
Update note
vqd8a Dec 2, 2024
dc17e77
Merge Pull Request #13635 from cgcgcg/Trilinos/enforceBCsOnInitialGuess
trilinos-autotester Dec 2, 2024
656000e
Tacho : require RocBLAS, RocSparse, and RocSolver for HIP backend
iyamazaki Dec 2, 2024
9fdb887
Tacho : update TPL instruction
iyamazaki Dec 3, 2024
3acb4c9
Merge pull request #13642 from iyamazaki/tacho-tpls
iyamazaki Dec 3, 2024
749f3fc
KOKKOS_CUSPARSE_SAFE_CALL -> IFPACK2_DETAILS_CUSPARSE_SAFE_CALL
cwpearson Dec 3, 2024
fccec09
add rhel8_sems...all-no-epetra
jmlapre Dec 2, 2024
958c71d
Fix framework unit test
sebrowne Dec 3, 2024
d92060d
Merge pull request #13630 from brian-kelley/InitTPLs
brian-kelley Dec 3, 2024
9ec47bc
build_env_info: resolve issues with ninja (#13647)
ndellingwood Dec 3, 2024
75e9183
Merge Pull Request #13646 from sebrowne/Trilinos/fix-framework-unit-test
trilinos-autotester Dec 3, 2024
dac035a
Phalanx: remove use of deprecated kokkos code in 4.5 release
rppawlo Dec 2, 2024
48adaa2
Phalanx: cleanup unit test warnings
rppawlo Dec 3, 2024
a2ae6c4
Phalanx: fix warnings for c++20 code deprecations
rppawlo Dec 3, 2024
3345ccd
Merge Pull Request #13645 from rppawlo/Trilinos/phalanx-cleanup-cpp20…
trilinos-autotester Dec 4, 2024
5461f37
Add uninitialized to promoted warnings list
sebrowne Nov 27, 2024
655b422
Run more Kokkos tests serially with CUDA builds
sebrowne Dec 3, 2024
6ed51ae
Merge Pull Request #13637 from sebrowne/Trilinos/promote-uninitialize…
trilinos-autotester Dec 4, 2024
00e64a8
TPLs BLAS and LAPACK: Add OpenBLAS to library names
cgcgcg Nov 1, 2024
9f87f1b
Correct/unify CUDA BLAS/LAPACK specs
sebrowne Dec 2, 2024
019c516
Separate BLAS/LAPACK from COMMON_SPACK_TPLS
sebrowne Dec 2, 2024
004c482
Split SEMS vs. general CUDA 11 settings
sebrowne Dec 2, 2024
773e0f9
Use default finds for BLAS and LAPACK
bartlettroscoe Nov 2, 2024
59d35c8
Merge pull request #13567 from cgcgcg/openblas
cgcgcg Dec 4, 2024
b4c1e05
Merge pull request #13644 from cwpearson/fix/13596
brian-kelley Dec 5, 2024
c6b0853
Merge pull request #13622 from jmlapre/TRILFRAME-674
jmlapre Dec 5, 2024
dc78725
Update to use CUDA-RUN-SERIAL-TESTS
jmlapre Dec 5, 2024
e5c77c1
Merge Pull Request #13657 from jmlapre/Trilinos/hotfix-for-config.ini…
trilinos-autotester Dec 5, 2024
1171455
Merge Pull Request #13640 from vqd8a/Trilinos/adelus-forward-out-of-b…
trilinos-autotester Dec 5, 2024
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
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
2 changes: 1 addition & 1 deletion cmake/TPLs/FindTPLBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ if (MSVC AND NOT
endif()

tribits_tpl_find_include_dirs_and_libraries( BLAS
REQUIRED_LIBS_NAMES "blas blas_win32")
REQUIRED_LIBS_NAMES "blas blas_win32 openblas")
2 changes: 1 addition & 1 deletion cmake/TPLs/FindTPLLAPACK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ if (MSVC AND NOT
endif()

tribits_tpl_find_include_dirs_and_libraries( LAPACK
REQUIRED_LIBS_NAMES "lapack lapack_win32")
REQUIRED_LIBS_NAMES "lapack lapack_win32 openblas")
2 changes: 1 addition & 1 deletion cmake/tribits/common_tpls/FindTPLBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# @HEADER


set(REQUIRED_LIBS_NAMES "blas blas_win32")
set(REQUIRED_LIBS_NAMES "blas blas_win32 openblas")

#
# Second, search for BLAS components (if allowed) using the standard
Expand Down
2 changes: 1 addition & 1 deletion cmake/tribits/common_tpls/FindTPLLAPACK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# to trigger the right behavior in the function
# tribits_tpl_find_include_dirs_and_libraries().
#
set(REQUIRED_LIBS_NAMES "lapack lapack_win32")
set(REQUIRED_LIBS_NAMES "lapack lapack_win32 openblas")

#
# Second, search for LAPACK components (if allowed) using the standard
Expand Down
8 changes: 5 additions & 3 deletions packages/adelus/src/Adelus_forward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ void forward(HandleType& ahandle, ZViewType& Z, RHSViewType& RHS)
// count_row++;
//}
int curr_lrid = k/nprocs_col;//note: nprocs_col (global var) cannot be read in a device function
Kokkos::parallel_for(Kokkos::RangePolicy<execution_space>(0,RHS.extent(1)), KOKKOS_LAMBDA (const int i) {
ck(0,i) = RHS(curr_lrid,i);
});
if (curr_lrid < static_cast<int>(RHS.extent(0))) { //note: to avoid out-of-bounds access on the RHS
Kokkos::parallel_for(Kokkos::RangePolicy<execution_space>(0,RHS.extent(1)), KOKKOS_LAMBDA (const int i) {
ck(0,i) = RHS(curr_lrid,i);
});
}

#if defined(ADELUS_HOST_PINNED_MEM_MPI) && (defined(KOKKOS_ENABLE_CUDA) || defined(KOKKOS_ENABLE_HIP))
Kokkos::deep_copy(h_ck,ck);
Expand Down
94 changes: 42 additions & 52 deletions packages/framework/ini-files/config-specs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -392,18 +392,16 @@ opt-set-cmake-var Scotch_LIBRARY_DIRS PATH : ${SEMS_SCOTCH_LIBRARY_PATH|ENV}
# Explicit libraries
opt-set-cmake-var TPL_DLlib_LIBRARIES PATH : ${DL_LIBRARIES|ENV}
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING : ${SEMS_NETCDF_LIBRARY_PATH|ENV}/libnetcdf.so;${SEMS_NETCDF_LIBRARY_PATH|ENV}/libpnetcdf.a
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING : ${BLAS_LIBRARIES|ENV}
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING : ${LAPACK_LIBRARIES|ENV}

[COMMON_SPACK_TPLS]
use COMMON

# BLAS & LAPACK
[SPACK_NETLIB_BLAS_LAPACK]
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : -L${BLAS_ROOT|ENV}/lib;-lblas;-lgfortran;-lgomp
opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${BLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : -L${BLAS_ROOT|ENV}/lib;-llapack;-lgfortran;-lgomp
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${BLAS_ROOT|ENV}/lib

[COMMON_SPACK_TPLS]
use COMMON

# Boost
opt-set-cmake-var BoostLib_INCLUDE_DIRS PATH FORCE : ${BOOST_INC|ENV}
opt-set-cmake-var BoostLib_LIBRARY_DIRS PATH FORCE : ${BOOST_LIB|ENV}
Expand Down Expand Up @@ -460,8 +458,6 @@ use COMMON_SPACK_TPLS

# Overrides from [COMMON_SPACK_TPLS] to let container handle the values
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : ""
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ""
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : ""
opt-set-cmake-var TPL_HDF5_LIBRARIES STRING FORCE : ""

opt-set-cmake-var SuperLU_LIBRARY_NAMES STRING FORCE : superlu;m
Expand Down Expand Up @@ -1176,11 +1172,7 @@ opt-set-cmake-var Rythmos_StepperBuilder_UnitTest_MPI_1_DISABLE BOOL : ON

[RHEL_COMPILER|CUDA]
use NODE-TYPE|CUDA
opt-set-cmake-var MPI_EXEC FILEPATH : mpiexec
opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${CBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ${CBLAS_ROOT|ENV}/lib/libblas.a;-L${CBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${LAPACK_ROOT|ENV}/lib
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : -L${LAPACK_ROOT|ENV}/lib;-lgfortran;-lgomp;${LAPACK_ROOT|ENV}/lib/liblapack.a
opt-set-cmake-var MPI_EXEC FILEPATH : mpiexec

[COMPILER|GNU]
opt-set-cmake-var MPI_EXEC FILEPATH : mpirun
Expand All @@ -1189,8 +1181,7 @@ opt-set-cmake-var Trilinos_WARNINGS_MODE STRING : WARN
[COMPILER|INTEL]
opt-set-cmake-var MPI_EXEC FILEPATH : mpirun

[SEMS_COMMON_CUDA]
# TPL ENABLE/DISABLE settings
[CUDA_TPL_ENABLES]
opt-set-cmake-var TPL_ENABLE_BLAS BOOL FORCE : ON
opt-set-cmake-var TPL_ENABLE_BinUtils BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Boost BOOL FORCE : ON
Expand All @@ -1211,20 +1202,21 @@ opt-set-cmake-var TPL_ENABLE_Scotch BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_SuperLU BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_SuperLUDist BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Zlib BOOL FORCE : ON
opt-set-cmake-var EpetraExt_ENABLE_HDF5 BOOL FORCE : OFF
opt-set-cmake-var Kokkos_ENABLE_CUDA BOOL FORCE : ON
opt-set-cmake-var Zoltan_ENABLE_Scotch BOOL FORCE : OFF

#TPL_*_LIBRARIES
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : -L${BLAS_ROOT|ENV}/lib;-lopenblas;-lgfortran;-lgomp
opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${BLAS_ROOT|ENV}/lib
[SEMS_CUDA_TPL_LOCATIONS]
opt-set-cmake-var TPL_BoostLib_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_Boost_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_DLlib_LIBRARIES FILEPATH FORCE : "-ldl"
opt-set-cmake-var TPL_HDF5_LIBRARIES STRING FORCE : ${HDF5_LIB|ENV}/libhdf5_hl.so;${HDF5_LIB|ENV}/libhdf5.a;${ZLIB_LIB|ENV}/libz.a;-ldl
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : -L${BLAS_ROOT|ENV}/lib;-lopenblas;-lgfortran;-lgomp
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${BLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_METIS_LIBRARIES STRING FORCE : ${METIS_LIB|ENV}/libmetis.so
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : -L${NETCDF_C_ROOT|ENV}/lib64;${NETCDF_C_ROOT|ENV}/lib/libnetcdf.a;${PARALLEL_NETCDF_ROOT|ENV}/lib/libpnetcdf.a;${TPL_HDF5_LIBRARIES|CMAKE}
# see https://github.com/trilinos/Trilinos/issues/11109#issuecomment-1272146298
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : /lib64/libblas.so.3
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : /lib64/liblapack.so.3

#TPL_[INCLUDE|LIBRARY]_DIRS
opt-set-cmake-var Netcdf_INCLUDE_DIRS STRING FORCE : ${NETCDF_C_INC|ENV}
opt-set-cmake-var ParMETIS_INCLUDE_DIRS STRING FORCE : ${PARMETIS_INC|ENV}
opt-set-cmake-var ParMETIS_LIBRARY_DIRS STRING FORCE : ${PARMETIS_LIB|ENV}
Expand All @@ -1233,12 +1225,13 @@ opt-set-cmake-var Scotch_LIBRARY_DIRS STRING FORCE : ${SCOTCH_LIB|ENV}
opt-set-cmake-var SuperLU_INCLUDE_DIRS STRING FORCE : ${SUPERLU_INC|ENV}
opt-set-cmake-var SuperLU_LIBRARY_DIRS STRING FORCE : ${SUPERLU_LIB|ENV}

[CUDA]
use CUDA_TPL_ENABLES

#CXX Settings
opt-set-cmake-var CMAKE_CXX_FLAGS STRING : -fPIC -Wall -Warray-bounds -Wchar-subscripts -Wcomment -Wenum-compare -Wformat -Wuninitialized -Wmaybe-uninitialized -Wmain -Wnarrowing -Wnonnull -Wreorder -Wreturn-type -Wsequence-point -Wtrigraphs -Wunused-function -Wunused-but-set-variable -Wwrite-strings

#Package Options
opt-set-cmake-var EpetraExt_ENABLE_HDF5 BOOL FORCE : OFF
opt-set-cmake-var Kokkos_ENABLE_CUDA BOOL FORCE : ON
opt-set-cmake-var Kokkos_ENABLE_CUDA_LAMBDA BOOL FORCE : ON
opt-set-cmake-var Kokkos_ENABLE_CXX11_DISPATCH_LAMBDA BOOL FORCE : ON
#opt-set-cmake-var Kokkos_ENABLE_Debug_Bounds_Check BOOL FORCE : ON
Expand All @@ -1247,10 +1240,15 @@ opt-set-cmake-var Panzer_FADTYPE STRING FORCE : "Sacado::Fad::DFad<RealType>"
opt-set-cmake-var Phalanx_KOKKOS_DEVICE_TYPE STRING FORCE : CUDA
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]
[SEMS_COMMON_CUDA]
use CUDA
use SEMS_CUDA_TPL_LOCATIONS

[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 @@ -1335,6 +1333,7 @@ use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES

use COMMON_SPACK_TPLS
use SPACK_NETLIB_BLAS_LAPACK

opt-set-cmake-var MPI_EXEC_PRE_NUMPROCS_FLAGS STRING : --bind-to;none --mca btl vader,self
opt-set-cmake-var Teko_DISABLE_LSCSTABALIZED_TPETRA_ALPAH_INV_D BOOL : ON
Expand Down Expand Up @@ -1375,6 +1374,7 @@ use USE-UVM|NO
use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES
use COMMON_SPACK_TPLS
use SPACK_NETLIB_BLAS_LAPACK

opt-set-cmake-var MPI_EXEC_PRE_NUMPROCS_FLAGS STRING : --bind-to;none --mca btl vader,self

Expand Down Expand Up @@ -1468,14 +1468,10 @@ opt-set-cmake-var TPL_ENABLE_SuperLUDist BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Zlib BOOL FORCE : ON

#TPL_*_LIBRARIES
# see https://github.com/trilinos/Trilinos/issues/11109#issuecomment-1272146298
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : /lib64/libblas.so.3
opt-set-cmake-var TPL_BoostLib_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_Boost_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_DLlib_LIBRARIES FILEPATH FORCE : "-ldl"
opt-set-cmake-var TPL_HDF5_LIBRARIES STRING FORCE : ${HDF5_LIB|ENV}/libhdf5_hl.so;${HDF5_LIB|ENV}/libhdf5.a;${ZLIB_LIB|ENV}/libz.a;-ldl
# see https://github.com/trilinos/Trilinos/issues/11109#issuecomment-1272146298
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : /lib64/liblapack.so.3
opt-set-cmake-var TPL_METIS_LIBRARIES STRING FORCE : ${METIS_LIB|ENV}/libmetis.so
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : -L${NETCDF_C_ROOT|ENV}/lib64;${NETCDF_C_ROOT|ENV}/lib/libnetcdf.a;${PARALLEL_NETCDF_ROOT|ENV}/lib/libpnetcdf.a;${TPL_HDF5_LIBRARIES|CMAKE}

Expand Down Expand Up @@ -1532,7 +1528,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,15 +1557,20 @@ 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

[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_uvm_deprecated-on_all]
use 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_uvm_deprecated-on_no-package-enables
use PACKAGE-ENABLES|ALL-NO-EPETRA

[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_uvm_deprecated-on_all-no-epetra]
use 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_uvm_deprecated-on_all

use CUDA-RUN-SERIAL-TESTS
opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL FORCE : ON

[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_no-package-enables]
# uses sems-v2 modules
use RHEL8
Expand Down Expand Up @@ -1615,14 +1616,10 @@ opt-set-cmake-var TPL_ENABLE_SuperLUDist BOOL FORCE : OFF
opt-set-cmake-var TPL_ENABLE_Zlib BOOL FORCE : ON

#TPL_*_LIBRARIES
# see https://github.com/trilinos/Trilinos/issues/11109#issuecomment-1272146298
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : /lib64/libblas.so.3
opt-set-cmake-var TPL_BoostLib_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_Boost_LIBRARIES STRING FORCE : ${BOOST_LIB|ENV}/libboost_program_options.a;${BOOST_LIB|ENV}/libboost_system.a
opt-set-cmake-var TPL_DLlib_LIBRARIES FILEPATH FORCE : "-ldl"
opt-set-cmake-var TPL_HDF5_LIBRARIES STRING FORCE : ${HDF5_LIB|ENV}/libhdf5_hl.so;${HDF5_LIB|ENV}/libhdf5.a;${ZLIB_LIB|ENV}/libz.a;-ldl
# see https://github.com/trilinos/Trilinos/issues/11109#issuecomment-1272146298
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : /lib64/liblapack.so.3
opt-set-cmake-var TPL_METIS_LIBRARIES STRING FORCE : ${METIS_LIB|ENV}/libmetis.so
opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : -L${NETCDF_C_ROOT|ENV}/lib64;${NETCDF_C_ROOT|ENV}/lib/libnetcdf.a;${PARALLEL_NETCDF_ROOT|ENV}/lib/libpnetcdf.a;${TPL_HDF5_LIBRARIES|CMAKE}

Expand Down Expand Up @@ -1678,7 +1675,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 All @@ -1703,6 +1700,7 @@ use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES

use COMMON_SPACK_TPLS
use SPACK_NETLIB_BLAS_LAPACK

opt-set-cmake-var SuperLU_LIBRARY_NAMES STRING : superlu;m
opt-set-cmake-var ML_ENABLE_SuperLU BOOL FORCE : OFF
Expand Down Expand Up @@ -1739,6 +1737,7 @@ use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES

use COMMON_SPACK_TPLS
use SPACK_NETLIB_BLAS_LAPACK

opt-set-cmake-var MPI_EXEC_PRE_NUMPROCS_FLAGS STRING : --bind-to;none --mca btl vader,self
opt-set-cmake-var CMAKE_CXX_EXTENSIONS BOOL : OFF
Expand Down Expand Up @@ -1773,6 +1772,7 @@ use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-PACKAGE-ENABLES

use COMMON_SPACK_TPLS
use SPACK_NETLIB_BLAS_LAPACK

opt-set-cmake-var SuperLU_LIBRARY_NAMES STRING FORCE : superlu;m
opt-set-cmake-var ML_ENABLE_SuperLU BOOL FORCE : OFF
Expand Down Expand Up @@ -1877,11 +1877,6 @@ use PACKAGE-ENABLES|NO-PACKAGE-ENABLES

use COMMON_SPACK_TPLS

opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm

opt-set-cmake-var MPI_EXEC_PRE_NUMPROCS_FLAGS STRING : --bind-to;none --mca btl vader,self
opt-set-cmake-var CMAKE_CXX_FLAGS STRING FORCE : -Wall -Wno-clobbered -Wno-vla -Wno-pragmas -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-literal-suffix -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-int-in-bool-context -Wno-maybe-uninitialized -Wno-nonnull-compare -Wno-address -Wno-inline

Expand Down Expand Up @@ -1934,11 +1929,6 @@ use COMMON_SPACK_TPLS

opt-set-cmake-var CMAKE_CXX_FLAGS STRING : -Wall -Wno-clobbered -Wno-vla -Wno-pragmas -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-literal-suffix -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-int-in-bool-context -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-nonnull-compare -Wno-address -Wno-inline -Wno-unused-but-set-variable -Wno-unused-label

opt-set-cmake-var TPL_BLAS_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_BLAS_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm
opt-set-cmake-var TPL_LAPACK_LIBRARY_DIRS STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib
opt-set-cmake-var TPL_LAPACK_LIBRARIES STRING FORCE : ${OPENBLAS_ROOT|ENV}/lib/libopenblas.a;-L${OPENBLAS_ROOT|ENV}/lib;-lgfortran;-lgomp;-lm

opt-set-cmake-var TPL_Netcdf_LIBRARIES STRING FORCE : ""

opt-set-cmake-var TPL_ENABLE_ParMETIS BOOL FORCE : OFF
Expand Down Expand Up @@ -2112,15 +2102,16 @@ use USE-RDC|NO
use USE-UVM|NO
use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-EPETRA
use SEMS_COMMON_CUDA
use 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 @@ -2138,13 +2129,12 @@ use USE-RDC|NO
use USE-UVM|YES
use USE-DEPRECATED|YES
use PACKAGE-ENABLES|NO-EPETRA
use SEMS_COMMON_CUDA
use CUDA11-RUN-SERIAL-TESTS
use CUDA
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


[rhel8_python_debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_pr-framework]
use PACKAGE-ENABLES|PR-FRAMEWORK

Expand Down
3 changes: 3 additions & 0 deletions packages/framework/pr_tools/LaunchDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,11 @@ def main(argv):
if args.kokkos_develop:
cmd += " --kokkos-develop"

# extra-configure-args flag currently takes precedence over the env. var.
if args.extra_configure_args:
cmd += f" --extra-configure-args=\"{args.extra_configure_args}\""
elif os.getenv("EXTRA_CONFIGURE_ARGS"):
cmd += f" --extra-configure-args=\"{os.getenv('EXTRA_CONFIGURE_ARGS')}\""

print("LaunchDriver> EXEC: " + cmd, flush=True)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ def prepare_test(self):
"F77",
"F90",
"FC",
"MODULESHOME"
"MODULESHOME",
"EXTRA_CONFIGURE_ARGS"
]
self.message("")
tr_env.set_environment.pretty_print_envvars(envvar_filter=envvars_to_print)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TrilinosPRConfigurationStandard(TrilinosPRConfigurationBase):
Implements Standard mode Trilinos Pull Request Driver
"""
def __init__(self, args):
super(TrilinosPRConfigurationStandard, self).__init__(args)
super().__init__(args)


def execute_test(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def setUp(self):
req_mem_per_core=3.0,
max_cores_allowed=12,
num_concurrent_tests=-1,
slots_per_gpu=2,
ccache_enable=False,
dry_run=False,
use_explicit_cachefile=False,
Expand Down
Loading
Loading