Skip to content

Commit

Permalink
Merge branch 'E3SM-Project:master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwjones authored Dec 3, 2024
2 parents 871ea4f + 2444ff4 commit 11c9afc
Show file tree
Hide file tree
Showing 199 changed files with 7,134 additions and 5,349 deletions.
5 changes: 1 addition & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ updates:
schedule:
interval: "weekly"
assignees:
- "rljacob"
- "bartgol"
reviewers:
- "mahf708"
- "bartgol"
labels:
- "AT: Integrate Without Testing"
6 changes: 4 additions & 2 deletions .github/workflows/e3sm-gh-ci-cime-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: gh

on:
pull_request:
branches: [ master ]
branches:
- master
- maint-3.0
paths:
# first, yes to these
- '.github/workflows/e3sm-gh-ci-cime-tests.yml'
Expand Down Expand Up @@ -40,7 +42,7 @@ jobs:
- SMS_D_Ln5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu
- ERS_Ld5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu.eamxx-prod
container:
image: ghcr.io/e3sm-project/containers-ghci:ghci-0.2.0
image: ghcr.io/e3sm-project/containers-ghci:ghci-0.2.1

steps:
-
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/e3sm-gh-ci-w-cime-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: gh-w

on:
pull_request:
branches: [ master ]
branches:
- master
- maint-3.0
paths-ignore:
- 'mkdocs.yaml'
- 'docs/**'
Expand All @@ -27,7 +29,7 @@ jobs:
- SMS_D_Ld1_P8.ne4pg2_oQU480.WCYCL2010NS.ghci-oci_gnu
- ERS_Ld3_P8.ne4pg2_oQU480.WCYCL2010NS.ghci-oci_gnu.allactive-wcprod_1850
container:
image: ghcr.io/e3sm-project/containers-ghci:ghci-0.2.0
image: ghcr.io/e3sm-project/containers-ghci:ghci-0.2.1

steps:
-
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/e3sm-gh-md-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
branches: ["master"]
paths:
- '**/*.md'
# for now let's not lint files in eamxx
- '!components/eamxx/**/*.md'

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
Expand All @@ -27,7 +25,7 @@ jobs:
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v17
- uses: DavidAnson/markdownlint-cli2-action@v18
if: steps.changed-files.outputs.any_changed == 'true'
with:
config: 'docs/.markdownlint.json'
Expand Down
88 changes: 0 additions & 88 deletions .github/workflows/e3sm-gh-tools-mkatmsrffile-test.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/eamxx-gh-ci-standalone.yml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/eamxx-gh-pages.yml

This file was deleted.

39 changes: 37 additions & 2 deletions .github/workflows/eamxx-sa-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: eamxx-sa-coverage

on:
workflow_dispatch:
inputs:
submit:
description: 'Force cdash submission'
required: true
type: boolean

# Add schedule trigger for nightly runs at midnight MT (Standard Time)
schedule:
Expand All @@ -13,7 +18,8 @@ concurrency:
cancel-in-progress: true

env:
submit: ${{ github.event_name == 'schedule' && 'true' || 'false' }} # Submit to cdash only for nightlies
# Submit to cdash only for nightlies or if the user explicitly forced a submission via workflow dispatch
submit: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.submit) }}

jobs:
gcc-openmp:
Expand Down Expand Up @@ -48,11 +54,40 @@ jobs:
submodules: recursive
- name: Show action trigger
uses: ./.github/actions/show-workflow-trigger
- name: Get CUDA Arch
run: |
# Ensure nvidia-smi is available
if ! command -v nvidia-smi &> /dev/null; then
echo "nvidia-smi could not be found. Please ensure you have Nvidia drivers installed."
exit 1
fi
# Get the GPU model from nvidia-smi, and set env for next step
gpu_model=$(nvidia-smi --query-gpu=name --format=csv,noheader | head -n 1)
case "$gpu_model" in
*"H100"*)
echo "Hopper=ON" >> $GITHUB_ENV
echo "CUDA_ARCH=90" >> $GITHUB_ENV
ARCH=90
;;
*"A100"*)
echo "Ampere=ON" >> $GITHUB_ENV
echo "CUDA_ARCH=80" >> $GITHUB_ENV
;;
*"V100"*)
echo "Volta=ON" >> $GITHUB_ENV
echo "CUDA_ARCH=70" >> $GITHUB_ENV
;;
*)
echo "Unsupported GPU model: $gpu_model"
exit 1
;;
esac
- name: Run tests
uses: ./.github/actions/test-all-scream
with:
build_type: cov
machine: ghci-snl-cuda
generate: false
submit: ${{ env.submit }}
cmake-configs: Kokkos_ARCH_VOLTA70=ON;CMAKE_CUDA_ARCHITECTURES=70
cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }}
Loading

0 comments on commit 11c9afc

Please sign in to comment.