diff --git a/.github/workflows/build-hpc.yml b/.github/workflows/build-hpc.yml index 63d01dfc..4d128b9b 100644 --- a/.github/workflows/build-hpc.yml +++ b/.github/workflows/build-hpc.yml @@ -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 @@ -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: @@ -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