Skip to content

Commit

Permalink
drop GPU action ubuntu image
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 16, 2025
1 parent fd3b194 commit b31abb0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gpu_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency:

jobs:
gpu-compilation:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -29,13 +29,13 @@ jobs:
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0
- name: Install CUDA
run: .github/workflows/dependencies/dependencies_nvcc.sh 12.5
run: .github/workflows/dependencies/dependencies_nvcc.sh 11.8

- name: Install hypre
run: |
wget -q https://github.com/hypre-space/hypre/archive/refs/tags/v2.32.0.tar.gz
tar xfz v2.32.0.tar.gz
cd hypre-2.32.0/src
wget -q https://github.com/hypre-space/hypre/archive/refs/tags/v2.28.0.tar.gz
tar xfz v2.28.0.tar.gz
cd hypre-2.28.0/src
CUDA_HOME=/usr/local/cuda HYPRE_CUDA_SM=60 ./configure --with-cxxstandard=17 --with-cuda --enable-unified-memory --without-MPI
make -j 4
make install
Expand All @@ -56,5 +56,5 @@ jobs:
- name: Compile problems for GPU
run: |
export PATH=$PATH:/usr/local/cuda/bin
export AMREX_HYPRE_HOME=${PWD}/hypre-2.32.0/src/hypre
export AMREX_HYPRE_HOME=${PWD}/hypre-2.28.0/src/hypre
python3 external/cpp-linter-action/run_on_changed_files.py ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} -header-filter=Castro -ignore-files="amrex|Microphysics" -gpu

0 comments on commit b31abb0

Please sign in to comment.