ci: Add RADIUSS stack to cloud CI (#23922)

Add RADIUSS software stack to gitlab PR testing pipelines
This commit is contained in:
Tamara Dahlgren 2021-08-02 09:19:35 -07:00 committed by GitHub
parent 71cd303362
commit 413ea10e78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 131 additions and 2 deletions

View file

@ -125,7 +125,6 @@ e4s-develop-build:
job: e4s-develop-generate
strategy: depend
########################################
# E4S on Power
########################################
@ -159,7 +158,6 @@ e4s-on-power-develop-build:
job: e4s-on-power-develop-generate
strategy: depend
#########################################
# Build tests for different build-systems
#########################################
@ -188,3 +186,38 @@ build_systems-develop-build:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
job: build_systems-develop-generate
strategy: depend
#########################################
# RADIUSS
#########################################
.radiuss:
variables:
SPACK_CI_STACK_NAME: radiuss
.radiuss-generate:
extends: [ ".radiuss"]
image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2021-05-15", "entrypoint": [""] }
# --------- PRs ---------
radiuss-pr-generate:
extends: [ ".radiuss-generate", ".pr-generate" ]
radiuss-pr-build:
extends: [ ".radiuss", ".pr-build" ]
trigger:
include:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
job: radiuss-pr-generate
strategy: depend
# --------- Develop ---------
radiuss-develop-generate:
extends: [ ".radiuss-generate", ".develop-generate" ]
radiuss-develop-build:
extends: [ ".radiuss", ".develop-build" ]
trigger:
include:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
job: radiuss-develop-generate
strategy: depend

View file

@ -0,0 +1,96 @@
spack:
concretization: separately
view: false
config:
concretizer: clingo
install_tree:
root: /home/software/radiuss
padded_length: 512
projections:
all: '{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
packages:
all:
target: [x86_64]
providers:
mpi: [mvapich2]
definitions:
#- compilers: ['%gcc@8.3.1', '%clang@10.0.0']
- compilers: ['%gcc@7.5.0']
# Note skipping spot since no spack package for it
- radiuss:
#- ascent # ^conduit@0.6.0
#- axom
- blt
- caliper
#- care
#- chai
- conduit # ^hdf5+shared
- flux-core
#- flux-sched
#- glvis # ^mesa-glu@9.0.0 ^mesa18~llvm
- hypre
- lbann
#- lvarray ^raja~openmp # per Ben Corbett Issue #23192
- mfem
#- py-hatchet
#- py-maestrowf
#- py-merlin
#- py-shroud
#- raja
#- samrai
- scr
#- sundials
#- umpire ~openmp
#- visit # ^mesa-glu@9.0.0
- xbraid
- zfp
mirrors:
mirror: "s3://spack-binaries-develop/radiuss"
specs:
- matrix:
- [$radiuss]
- [$compilers]
gitlab-ci:
image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2021-05-15", "entrypoint": [""] }
script:
- . "./share/spack/setup-env.sh"
- spack --version
- cd ${SPACK_CONCRETE_ENV_DIR}
- spack env activate --without-view .
- spack config add "config:install_tree:projections:${SPACK_JOB_SPEC_PKG_NAME}:'morepadding/{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'"
- spack -d ci rebuild
mappings:
- match: [ascent, axom, sundials, umpire, vtk-h, vtk-m]
runner-attributes:
tags: ["spack", "public", "xlarge", "x86_64"]
- match: ['@:']
runner-attributes:
tags: ["spack", "public", "large", "x86_64"]
temporary-storage-url-prefix: "s3://spack-binaries-prs/pipeline-storage"
service-job-attributes:
before_script:
- . "./share/spack/setup-env.sh"
- spack --version
- cd share/spack/gitlab/cloud_pipelines/stacks/radiuss
- spack env activate --without-view .
image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2021-05-15", "entrypoint": [""] }
#before_script:
# - . "./share/spack/setup-env.sh"
# - spack --version
# - cd share/spack/gitlab/cloud_pipelines/stacks/radiuss
# - spack env activate --without-view .
tags: ["spack", "public", "medium", "x86_64"]
cdash:
build-group: RADIUSS
url: https://cdash.spack.io
project: Spack Testing
site: Cloud Gitlab Infrastructure