Commit 4c4ddf6a authored by Kyle Shaver's avatar Kyle Shaver Committed by Swann Perarnau

[ci] add simple job for Theta runner

Add job step in `.ecp-ci.yml` plus the right variables to launch CI job
on theta. Not that Theta has mom nodes, so it's a bit different.

Make use of only: variable to limit job definition depending on mirror
being used within ECP.
parent 944c378c
Pipeline #8760 passed with stages
in 8 minutes and 23 seconds
variables:
NMC_FE1_SLURM_PARAMETERS: "--nodes=1 --partition=ecp-p9-4v100"
ANL_THETA_PROJECT_SERVICE_USER: "cscstss"
ANL_THETA_SCHEDULER_PARAMETERS: "-A CSC250STPR19 -n 1 -t 20 -q debug-flat-quad"
stages:
- build
......@@ -9,8 +11,11 @@ nmc:batch:env:
tags:
- nmc
only:
- master
- staging
refs:
- master
- staging
variables:
- $ECP_MIRROR == "NMC"
script:
- uname -a
- module avail
......@@ -25,12 +30,14 @@ nmc:batch:env:
make:nmc-cuda-check:
stage: build
variables:
tags:
- nmc
only:
- master
- staging
refs:
- master
- staging
variables:
- $ECP_MIRROR == "NMC"
script:
- module load numactl hwloc cuda
- env | grep -i cuda
......@@ -47,12 +54,14 @@ make:nmc-cuda-check:
make:nmc-cuda-home:
stage: build
variables:
tags:
- nmc
only:
- master
- staging
refs:
- master
- staging
variables:
- $ECP_MIRROR == "NMC"
script:
- module load numactl hwloc cuda
- env | grep -i cuda
......@@ -65,3 +74,33 @@ make:nmc-cuda-home:
paths:
- tests/test-suite.log
- config.log
make:theta-batch:
stage: build
tags:
- ecp-theta
- batch
only:
refs:
- master
- staging
variables:
- $ECP_MIRROR == "THETA"
script:
- |
cat > aml-ci-script.sh << EOF
#!/bin/bash
module list
./autogen.sh
./configure
make -j63
make check VERBOSE=1
EOF
- cat aml-ci-script.sh
- chmod +x aml-ci-script.sh
- aprun aml-ci-script.sh
artifacts:
when: on_failure
paths:
- tests/*.log
- config.log
......@@ -6,3 +6,4 @@ Nicolas Denoyelle <ndenoyelle@anl.gov>
Clement Foyer <cfoyer@cray.com>
Brice Videau <bvideau@anl.gov>
Aleksandr Danilin <danilin96@gmail.com>
Kyle Shaver <kshaver@anl.gov>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment