Skip to content

Commit

Permalink
Move back to new cuda image
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornung67 committed Jul 23, 2024
1 parent 1813462 commit b9eb4a5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
matrix:
## target: [gcc12, gcc13, clang13, clang14_debug, clang15, intel2024, cuda12.3_debug, hip5.6, intel2024_sycl]
target: [gcc12, gcc13, clang13, clang14_debug, clang15, cuda11.2, hip5.6, intel2024_sycl]
target: [gcc12, gcc13, clang13, clang14_debug, clang15, cuda12.3, hip5.6, intel2024_sycl]
runs-on: ubuntu-latest
steps:
- run: |
Expand Down
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ RUN /bin/bash -c "source /opt/intel/oneapi/setvars.sh 2>&1 > /dev/null && \

## Building with this image takes well over an hour if it completes.
## Often it fails because the build never starts.
##FROM ghcr.io/llnl/radiuss:ubuntu-22.04-cuda-12-3 AS cuda12.3_debug
##ENV GTEST_COLOR=1
##COPY . /home/raja/workspace
##WORKDIR /home/raja/workspace/build
##RUN cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DBLT_CXX_STD=c++14 -DCMAKE_CUDA_ARCHITECTURES=70 .. && \
## make -j 16

## Try an older rse-ops image....
FROM ghcr.io/rse-ops/cuda-ubuntu-20.04:cuda-11.2.2 AS cuda11.2
FROM ghcr.io/llnl/radiuss:ubuntu-22.04-cuda-12-3 AS cuda12.3
ENV GTEST_COLOR=1
COPY . /home/raja/workspace
WORKDIR /home/raja/workspace/build
RUN . /opt/spack/share/spack/setup-env.sh && spack load cuda && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On -DCMAKE_CUDA_STANDARD=14 -DCMAKE_CUDA_ARCHITECTURES=70 -DENABLE_OPENMP=On .. && \
make -j 8
RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DBLT_CXX_STD=c++14 -DCMAKE_CUDA_ARCHITECTURES=70 .. && \
make -j 16

## Try an older rse-ops image....
##FROM ghcr.io/rse-ops/cuda-ubuntu-20.04:cuda-11.2.2 AS cuda11.2
##ENV GTEST_COLOR=1
##COPY . /home/raja/workspace
##WORKDIR /home/raja/workspace/build
##RUN . /opt/spack/share/spack/setup-env.sh && spack load cuda && \
## cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On -DCMAKE_CUDA_STANDARD=14 -DCMAKE_CUDA_ARCHITECTURES=70 -DENABLE_OPENMP=On .. && \
## make -j 8

# TODO: We should switch to ROCm 6 -- size issues when creating image
FROM ghcr.io/llnl/radiuss:hip-5.6.1-ubuntu-20.04 AS hip5.6
Expand Down

0 comments on commit b9eb4a5

Please sign in to comment.