Skip to content

Commit 8a50206

Browse files
committed
Reduce number of tests while debugging
1 parent 9e06dea commit 8a50206

File tree

1 file changed

+84
-84
lines changed

1 file changed

+84
-84
lines changed

.github/workflows/eamxx-kokkos-develop-testing.yml

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
strategy:
7474
fail-fast: false
7575
matrix:
76-
build_type: [sp, dbg, fpe, opt]
76+
build_type: [dbg] #[sp, dbg, fpe, opt]
7777
name: gcc-openmp / ${{ matrix.build_type }}
7878
steps:
7979
- name: Check out the repository
@@ -101,87 +101,87 @@ jobs:
101101
submit: ${{ env.submit }}
102102
cmake-configs: CMAKE_CXX_STANDARD=20;Kokkos_ENABLE_IMPL_VIEW_LEGACY=ON;Kokkos_ENABLE_DEPRECATED_CODE_4=ON;Kokkos_ENABLE_OPENMP=ON;
103103
ekat: ${{ env.ekat }}
104-
gcc-cuda:
105-
if: |
106-
${{
107-
github.event_name != 'workflow_dispatch' ||
108-
(
109-
github.event.inputs.job_to_run == 'gcc-cuda' ||
110-
github.event.inputs.job_to_run == 'all'
111-
)
112-
}}
113-
runs-on: [self-hosted, ghci-snl-cuda, cuda, gcc]
114-
strategy:
115-
fail-fast: false
116-
matrix:
117-
test:
118-
- build_type: sp
119-
SK: OFF
120-
- build_type: dbg
121-
SK: ON
122-
- build_type: opt
123-
SK: OFF
124-
name: gcc-cuda / ${{ matrix.test.build_type }}
125-
steps:
126-
- name: Check out the repository
127-
uses: actions/checkout@v5
128-
with:
129-
persist-credentials: false
130-
show-progress: false
131-
submodules: recursive
132-
- name: Fetch most recent kokkos develop
133-
run: |
134-
cd externals/ekat/extern/kokkos
135-
if ! git remote | grep -q upstream; then
136-
git remote add upstream https://github.com/kokkos/kokkos.git
137-
fi
138-
git fetch upstream
139-
git checkout upstream/develop
140-
- name: Show action trigger
141-
uses: ./.github/actions/show-workflow-trigger
142-
- name: Get CUDA Arch
143-
run: |
144-
# Ensure nvidia-smi is available
145-
if ! command -v nvidia-smi &> /dev/null; then
146-
echo "nvidia-smi could not be found. Please ensure you have Nvidia drivers installed."
147-
exit 1
148-
fi
104+
# gcc-cuda:
105+
# if: |
106+
# ${{
107+
# github.event_name != 'workflow_dispatch' ||
108+
# (
109+
# github.event.inputs.job_to_run == 'gcc-cuda' ||
110+
# github.event.inputs.job_to_run == 'all'
111+
# )
112+
# }}
113+
# runs-on: [self-hosted, ghci-snl-cuda, cuda, gcc]
114+
# strategy:
115+
# fail-fast: false
116+
# matrix:
117+
# test:
118+
# - build_type: sp
119+
# SK: OFF
120+
# - build_type: dbg
121+
# SK: ON
122+
# - build_type: opt
123+
# SK: OFF
124+
# name: gcc-cuda / ${{ matrix.test.build_type }}
125+
# steps:
126+
# - name: Check out the repository
127+
# uses: actions/checkout@v5
128+
# with:
129+
# persist-credentials: false
130+
# show-progress: false
131+
# submodules: recursive
132+
# - name: Fetch most recent kokkos develop
133+
# run: |
134+
# cd externals/ekat/extern/kokkos
135+
# if ! git remote | grep -q upstream; then
136+
# git remote add upstream https://github.com/kokkos/kokkos.git
137+
# fi
138+
# git fetch upstream
139+
# git checkout upstream/develop
140+
# - name: Show action trigger
141+
# uses: ./.github/actions/show-workflow-trigger
142+
# - name: Get CUDA Arch
143+
# run: |
144+
# # Ensure nvidia-smi is available
145+
# if ! command -v nvidia-smi &> /dev/null; then
146+
# echo "nvidia-smi could not be found. Please ensure you have Nvidia drivers installed."
147+
# exit 1
148+
# fi
149149

150-
# Get the GPU model from nvidia-smi, and set env for next step
151-
gpu_model=$(nvidia-smi --query-gpu=name --format=csv,noheader | head -n 1)
152-
case "$gpu_model" in
153-
*"H100"*)
154-
echo "Hopper=ON" >> $GITHUB_ENV
155-
echo "CUDA_ARCH=90" >> $GITHUB_ENV
156-
ARCH=90
157-
;;
158-
*"A100"*)
159-
echo "Ampere=ON" >> $GITHUB_ENV
160-
echo "CUDA_ARCH=80" >> $GITHUB_ENV
161-
;;
162-
*"V100"*)
163-
echo "Volta=ON" >> $GITHUB_ENV
164-
echo "CUDA_ARCH=70" >> $GITHUB_ENV
165-
;;
166-
*)
167-
echo "Unsupported GPU model: $gpu_model"
168-
exit 1
169-
;;
170-
esac
171-
- name: Run tests
172-
uses: ./.github/actions/test-all-eamxx
173-
with:
174-
build_type: ${{ matrix.test.build_type }}
175-
machine: ghci-snl-cuda
176-
generate: ${{ env.generate }}
177-
submit: ${{ env.submit }}
178-
cmake-configs: |
179-
CMAKE_CXX_STANDARD=20;
180-
Kokkos_ENABLE_IMPL_VIEW_LEGACY=ON; # Currently a bug exists in Kokkos' mdspan view impl
181-
Kokkos_ENABLE_DEPRECATED_CODE_4=ON; # Remove once PRs merged in MAM4xx and EKAT fixing deprecated code
182-
Kokkos_ARCH_HOPPER90=${{ env.Hopper }};
183-
Kokkos_ARCH_AMPERE80=${{ env.Ampere }};
184-
Kokkos_ARCH_VOLTA70=${{ env.Volta }};
185-
CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }};
186-
SCREAM_SMALL_KERNELS=${{ matrix.test.SK }};
187-
ekat: ${{ env.ekat }}
150+
# # Get the GPU model from nvidia-smi, and set env for next step
151+
# gpu_model=$(nvidia-smi --query-gpu=name --format=csv,noheader | head -n 1)
152+
# case "$gpu_model" in
153+
# *"H100"*)
154+
# echo "Hopper=ON" >> $GITHUB_ENV
155+
# echo "CUDA_ARCH=90" >> $GITHUB_ENV
156+
# ARCH=90
157+
# ;;
158+
# *"A100"*)
159+
# echo "Ampere=ON" >> $GITHUB_ENV
160+
# echo "CUDA_ARCH=80" >> $GITHUB_ENV
161+
# ;;
162+
# *"V100"*)
163+
# echo "Volta=ON" >> $GITHUB_ENV
164+
# echo "CUDA_ARCH=70" >> $GITHUB_ENV
165+
# ;;
166+
# *)
167+
# echo "Unsupported GPU model: $gpu_model"
168+
# exit 1
169+
# ;;
170+
# esac
171+
# - name: Run tests
172+
# uses: ./.github/actions/test-all-eamxx
173+
# with:
174+
# build_type: ${{ matrix.test.build_type }}
175+
# machine: ghci-snl-cuda
176+
# generate: ${{ env.generate }}
177+
# submit: ${{ env.submit }}
178+
# cmake-configs: |
179+
# CMAKE_CXX_STANDARD=20;
180+
# Kokkos_ENABLE_IMPL_VIEW_LEGACY=ON; # Currently a bug exists in Kokkos' mdspan view impl
181+
# Kokkos_ENABLE_DEPRECATED_CODE_4=ON; # Remove once PRs merged in MAM4xx and EKAT fixing deprecated code
182+
# Kokkos_ARCH_HOPPER90=${{ env.Hopper }};
183+
# Kokkos_ARCH_AMPERE80=${{ env.Ampere }};
184+
# Kokkos_ARCH_VOLTA70=${{ env.Volta }};
185+
# CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }};
186+
# SCREAM_SMALL_KERNELS=${{ matrix.test.SK }};
187+
# ekat: ${{ env.ekat }}

0 commit comments

Comments
 (0)