Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Tristan/fix spack build #9

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 0 additions & 100 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ include:
file:
- github-project-pipelines.gitlab-ci.yml
- spack-build.gitlab-ci.yml
- project: nse/ci
file:
- ci/lib/tox-bb5.yml

workflow:
rules:
Expand All @@ -20,103 +17,6 @@ default:

stages:
- build
- test

variables:
SPACK_PACKAGE: py-multiscale-run
SPACK_PACKAGE_DEPENDENCIES: ^hdf5~cxx

.tox-template:
tags: [bb5_map]
variables:
EXTRA_MODULES:
unstable:gcc
unstable:git
unstable:gmsh
unstable:hpe-mpi
unstable:julia
unstable:neurodamus-neocortex-multiscale
unstable:petsc
unstable:py-libsonata
unstable:py-mpi4py
unstable:py-notebook
unstable:py-numpy
unstable:py-petsc4py
unstable:py-scipy
unstable:steps

pytest:
extends: .spack_test
script:
# Tell Git how to re-write BBP GitLab URLs to use a token instead of SSH
- !reference [.bbp_gitlab_access, script]
- !reference [.spack_test, script]

# TODO: reinstate when ratV10 is working
# integration:
# extends: .spack_test
# timeout: 10 minutes
# variables:
# bb5_duration: "00:10:00"
# bb5_ntasks: 2

.nrun_test:
extends: .spack_test
timeout: 3 hours
artifacts:
when: always
paths:
- msr-sim-$CI_JOB_NAME_SLUG/RESULTS/*
expire_in: 4 hours
variables:
bb5_memory: 64G
bb5_ntasks: 32
bb5_duration: "03:00:00"
script:
- spack ${SPACK_EXTRA_FLAGS} load /${SPACK_INSTALLED_HASH}
- ${SPACK_SOURCE_DIR}/.ci/test_simulation.sh

.dualrun_test:
extends: .nrun_test
timeout: 2 hours
variables:
steps: "true"
metabolism: "false"
bloodflow: "false"

dualrun_test 1/16:
extends: .dualrun_test
variables:
bb5_ntasks: 1
bb5_duration: "02:00:00"
tstop: 105

dualrun_test 2/16:
extends: .dualrun_test
variables:
bb5_ntasks: 2
tstop: 105

dualrun_test 16/16:
extends: .dualrun_test
variables:
bb5_ntasks: 16

nrun_[steps, metab, bf]:
extends: .nrun_test
parallel:
matrix:
- steps: ["false", "true"]
metabolism: ["false", "true"]
bloodflow: ["false", "true"]

init_julia_create_test:
extends: .spack_test
timeout: 1 hours
when: manual
variables:
bb5_duration: "01:00:00"
bb5_ntasks: 2
script:
- spack ${SPACK_EXTRA_FLAGS} load /${SPACK_INSTALLED_HASH}
- ${SPACK_SOURCE_DIR}/.ci/test_init_julia_create.sh