Skip to content

Commit

Permalink
CI: Add GitLab workflow to test on CSD3 A100s
Browse files Browse the repository at this point in the history
  • Loading branch information
mirenradia committed Feb 14, 2024
1 parent 9013a0b commit 0bf3f31
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
stages:
- test

variables:
MODULEPATHS_A100: >
/usr/local/software/spack/spack-modules/a100-20210927/linux-centos8-zen2
/usr/local/software/spack/spack-modules/a100-20210927/linux-centos8-zen3
MODULES_A100: >
rhel8/slurm
rhel8/global
openmpi/4.1.1/gcc-9.4.0-epagguv
gcc/9.4.0/gcc-11.2.0-72sgv5z
BUILD_CONFIG: >
USE_CUDA=TRUE
CUDA_ARCH=80
COMP=gnu
DEBUG=TRUE
TEST=TRUE
USE_ASSERTION=TRUE
SRUN_FLAGS: >
--qos=INTR
--nodes=1
--ntasks=1
--gres=gpu:1
--time=00:10:00
--account=SHELLARD-SL3-GPU
--partition=ampere
csd3-a100:
stage: test
tags:
- csd3
script:
- cd ..
- git clone --depth 1 https://github.com/AMReX-Codes/amrex
- cd ${CI_PROJECT_DIR}/Tests
- module purge
- module use ${MODULEPATHS_A100}
- module load ${MODULES_A100}
- make -j 8 ${BUILD_CONFIG}
- srun ${SRUN_FLAGS} make test ${BUILD_CONFIG}

0 comments on commit 0bf3f31

Please sign in to comment.