Skip to content

Commit

Permalink
Add semsrhel7gpu01 node
Browse files Browse the repository at this point in the history
  • Loading branch information
ndellingwood committed May 25, 2021
1 parent 9b5695e commit 9652e39
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions scripts/cm_test_all_sandia
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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-<COMPILER_NAME>/<COMPILER_VERSION>"
CUDA_MODULE_LIST="sems-env,sems-cmake/3.17.1,sems-<COMPILER_NAME>/<COMPILER_VERSION>,sems-gcc/7.2.0"
CUDA11_MODULE_LIST="sems-env,sems-cmake/3.17.1,sems-<COMPILER_NAME>/<COMPILER_VERSION>,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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9652e39

Please sign in to comment.