Skip to content

Commit

Permalink
ci-hpc: Add lumi to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Dec 20, 2024
1 parent a953658 commit 335005b
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/build-hpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
matrix:
name:
- ac-gpu nvhpc
- lumi-g cce

include:
- name: ac-gpu nvhpc
site: ac-batch
troika_user_secret: HPC_CI_SSH_USER
sbatch_options: |
#SBATCH --time=00:20:00
#SBATCH --nodes=1
Expand All @@ -50,6 +52,26 @@ jobs:
- prgenv/nvidia
- hpcx-openmpi/2.14.0-cuda
- fftw
workdir: "$TMPDIR"

- name: lumi-g cce
site: lumi
troika_user_secret: LUMI_CI_SSH_USER
sbatch_options: |
#SBATCH --time=00:20:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=8
#SBATCH --gpus-per-task=1
#SBATCH --partition=small-g
modules:
- CrayEnv
- PrgEnv-cray
- cce/17.0.1
- craype-accel-amd-gfx90a
- rocm/6.0.3
- cray-fftw
- buildtools
workdir: /tmp

runs-on: [self-hosted, linux, hpc]
env:
Expand All @@ -58,8 +80,10 @@ jobs:
- uses: ecmwf-actions/reusable-workflows/ci-hpc-generic@v2
with:
site: ${{ matrix.site }}
troika_user: ${{ secrets.HPC_CI_SSH_USER }}
troika_user: ${{ secrets[matrix.troika_user_secret] }}
sbatch_options: ${{ matrix.sbatch_options }}
workdir: ${{ matrix.workdir }}
output_dir: \\\$HOME
template_data: |
cmake_options:
- -DENABLE_MPI=ON
Expand Down

0 comments on commit 335005b

Please sign in to comment.