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

Remove Legacy CUDA and disable QMC_CUDA build option #4431

Merged
merged 13 commits into from
Feb 1, 2023
Prev Previous commit
Next Next commit
Remove legacy CUDA from CI.
  • Loading branch information
ye-luo committed Feb 1, 2023
commit ec01605444ce46cb2bb99a224872ef15853e4da5
8 changes: 0 additions & 8 deletions .github/workflows/ci-github-actions-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ jobs:
fail-fast: false
matrix:
jobname: [
GCC9-NoMPI-Legacy-CUDA-Real-Mixed, # mixed precision
GCC9-NoMPI-Legacy-CUDA-Complex-Mixed,
GCC9-NoMPI-Legacy-CUDA-Real, # full precision
GCC9-NoMPI-Legacy-CUDA-Complex,
Clang15-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
Clang15-MPI-CUDA-AFQMC-Offload-Real,
Clang15-MPI-CUDA-AFQMC-Offload-Complex-Mixed,
Expand Down Expand Up @@ -222,10 +218,6 @@ jobs:
ROCm-Clang13-NoMPI-CUDA2HIP-Real,
ROCm-Clang13-NoMPI-CUDA2HIP-Complex-Mixed,
ROCm-Clang13-NoMPI-CUDA2HIP-Complex,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real-Mixed,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex-Mixed,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex,
]

steps:
Expand Down
36 changes: 0 additions & 36 deletions tests/test_automation/github-actions/ci/run_step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,31 +258,6 @@ case "$1" in
-DQMC_DATA=$QMC_DATA_DIR \
${GITHUB_WORKSPACE}
;;
*"ROCm-Clang13-MPI-Legacy-CUDA2HIP"*)
echo 'Configure for building CUDA2HIP with clang compilers shipped with ROCM on AMD hardware'

export ROCM_PATH=/opt/rocm
export OMPI_CC=/opt/rocm/llvm/bin/clang
export OMPI_CXX=/opt/rocm/llvm/bin/clang++

# Make current environment variables available to subsequent steps
echo "ROCM_PATH=/opt/rocm" >> $GITHUB_ENV
echo "OMPI_CC=/opt/rocm/llvm/bin/clang" >> $GITHUB_ENV
echo "OMPI_CXX=/opt/rocm/llvm/bin/clang++" >> $GITHUB_ENV

cmake -GNinja \
-DCMAKE_C_COMPILER=/usr/lib64/openmpi/bin/mpicc \
-DCMAKE_CXX_COMPILER=/usr/lib64/openmpi/bin/mpicxx \
-DMPIEXEC_EXECUTABLE=/usr/lib64/openmpi/bin/mpirun \
-DQMC_CUDA=1 \
-DQMC_CUDA2HIP=ON \
-DCMAKE_PREFIX_PATH="/opt/OpenBLAS/0.3.18" \
-DQMC_COMPLEX=$IS_COMPLEX \
-DQMC_MIXED_PRECISION=$IS_MIXED_PRECISION \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DQMC_DATA=$QMC_DATA_DIR \
${GITHUB_WORKSPACE}
;;
*"GCC9-MPI-CUDA-AFQMC"*)
echo 'Configure for building with ENABLE_CUDA and AFQMC, need built-from-source OpenBLAS due to bug in rpm'
cmake -GNinja \
Expand All @@ -298,17 +273,6 @@ case "$1" in
-DQMC_DATA=$QMC_DATA_DIR \
${GITHUB_WORKSPACE}
;;
*"GCC9-NoMPI-Legacy-CUDA"*)
echo 'Configure for building with Legacy CUDA'
cmake -GNinja \
-DQMC_CUDA=1 \
-DQMC_MPI=0 \
-DQMC_COMPLEX=$IS_COMPLEX \
-DQMC_MIXED_PRECISION=$IS_MIXED_PRECISION \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DQMC_DATA=$QMC_DATA_DIR \
${GITHUB_WORKSPACE}
;;
*"GCC9-NoMPI-MKL-"*)
echo 'Configure for building with GCC and Intel MKL'

Expand Down