diff --git a/scripts/cm_test_all_sandia b/scripts/cm_test_all_sandia index 9e8040f4fa..0a8d8119a5 100755 --- a/scripts/cm_test_all_sandia +++ b/scripts/cm_test_all_sandia @@ -166,6 +166,10 @@ if [[ "$HOSTNAME" == kokkos-dev\.sandia\.gov* ]]; then MACHINE=kokkos-dev fi +if [[ "$HOSTNAME" == sogpu01* ]]; then + MACHINE=sogpu +fi + if [ ! -z "$SEMS_MODULEFILES_ROOT" ]; then if [[ "$MACHINE" = "" ]]; then MACHINE=sems @@ -453,6 +457,38 @@ if [ "$MACHINE" = "sems" ]; then fi SPACK_CUDA_ARCH="+maxwell50" #use an old one SPACK_CUDA_HOST_COMPILER="%gcc@7.2.0" +elif [ "$MACHINE" = "sogpu" ]; then + source /projects/sems/modulefiles/utils/sems-modules-init.sh + + module load sems-cmake/3.17.1 sems-git + BASE_MODULE_LIST="sems-env,sems-cmake/3.17.1,sems-/" + CUDA_MODULE_LIST="sems-env,sems-cmake/3.17.1,sems-/,sems-gcc/7.2.0" + CUDA11_MODULE_LIST="sems-env,sems-cmake/3.17.1,sems-/,sems-gcc/8.3.0" + SKIP_HWLOC=True + # No sems hwloc module + + if [ -z "$ARCH_FLAG" ]; then + ARCH_FLAG="--arch=Volta70" + fi + + # Format: (compiler module-list build-list exe-name warning-flag) + COMPILERS=("gcc/5.3.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "gcc/6.1.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "gcc/6.4.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "gcc/7.2.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "gcc/7.3.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "gcc/8.3.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "gcc/9.2.0 $BASE_MODULE_LIST $GCC_BUILD_LIST g++ $GCC_WARNING_FLAGS" + "clang/5.0.1 $BASE_MODULE_LIST $CLANG_BUILD_LIST clang++ $CLANG_WARNING_FLAGS" + "clang/7.0.1 $BASE_MODULE_LIST $CLANG_BUILD_LIST clang++ $CLANG_WARNING_FLAGS" + "clang/9.0.0 $BASE_MODULE_LIST $CLANG_BUILD_LIST clang++ $CLANG_WARNING_FLAGS" + "clang/10.0.0 $BASE_MODULE_LIST $CLANG_BUILD_LIST clang++ $CLANG_WARNING_FLAGS" + "intel/17.0.1 $BASE_MODULE_LIST $INTEL_BUILD_LIST icpc $INTEL_WARNING_FLAGS" + "intel/18.0.5 $BASE_MODULE_LIST $INTEL_BUILD_LIST icpc $INTEL_WARNING_FLAGS" + "intel/19.0.5 $BASE_MODULE_LIST $INTEL_BUILD_LIST icpc $INTEL_WARNING_FLAGS" + "cuda/10.1 $CUDA_MODULE_LIST $CUDA_BUILD_LIST $KOKKOS_PATH/bin/nvcc_wrapper $CUDA_WARNING_FLAGS" + "cuda/11.1 $CUDA11_MODULE_LIST $CUDA_BUILD_LIST $KOKKOS_PATH/bin/nvcc_wrapper $CUDA_WARNING_FLAGS" + ) elif [ "$MACHINE" = "kokkos-dev" ]; then MODULE_ENVIRONMENT="source /projects/sems/modulefiles/utils/sems-modules-init.sh" eval "$MODULE_ENVIRONMENT" diff --git a/scripts/update_lib.sh b/scripts/update_lib.sh index 34ab5dd3c9..ee2f66dc40 100755 --- a/scripts/update_lib.sh +++ b/scripts/update_lib.sh @@ -20,7 +20,7 @@ check_sems_clang() { CLANGVER=$(clang --version | grep "clang version" | cut -d " " -f 3) if [[ "${CLANGVER}" = 9.* ]] || [[ "${CLANGVER}" = 10.* ]]; then # Newer gcc needed for c++ standard beyond c++14 - module swap sems-gcc/5.3.0 sems-gcc/6.4.0 + module swap sems-gcc/5.3.0 sems-gcc/8.3.0 module list fi }