-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge -next with CT changes, basics working
- Loading branch information
Showing
47 changed files
with
808 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,23 @@ | ||
# Continuous Integration testing for KHARMA | ||
# a.k.a did we break the basics? | ||
# This version run on LANL Darwin | ||
# See .gitlab-ci-docker.yml for a generic version, | ||
# which can be run on any Docker runner w/GPUs | ||
|
||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
SCHEDULER_PARAMETERS: "-N 1 --qos=debug -p volta-x86" | ||
HOST_ARCH: HSW | ||
NPROC: "" | ||
OMP_NUM_THREADS: 28 | ||
OMP_PROC_BIND: "false" | ||
MPI_EXE: mpirun | ||
MPI_NUM_PROCS: 2 | ||
HTTP_PROXY: http://proxyout.lanl.gov:8080 | ||
http_proxy: http://proxyout.lanl.gov:8080 | ||
HTTPS_PROXY: http://proxyout.lanl.gov:8080 | ||
https_proxy: http://proxyout.lanl.gov:8080 | ||
NO_PROXY: lanl.gov,localhost,127.0.0.1,0.0.0.0,::1 | ||
no_proxy: lanl.gov,localhost,127.0.0.1,0.0.0.0,::1 | ||
|
||
### DEFAULT TEST BEHAVIOR ### | ||
default: | ||
tags: | ||
- darwin-slurm-shared | ||
# Load Python | ||
before_script: | ||
- module load miniconda3 | ||
|
||
# Always keep logs and plots. Results should be printed to console! | ||
artifacts: | ||
when: always | ||
paths: | ||
- tests/*/*.png | ||
- tests/*/*.txt | ||
|
||
# Tests can be executed in parallel, | ||
# but be careful about GPU arch | ||
stages: | ||
- build | ||
- tests | ||
trigger_darwin: | ||
trigger: | ||
include: scripts/ci/darwin.yml | ||
|
||
# Default rules | ||
.default-rules: | ||
rules: | ||
- if: $CI_COMMIT_BRANCH == "dev" | ||
when: always | ||
- when: manual | ||
allow_failure: false | ||
|
||
# Build, obviously overrides script/artifacts | ||
build: | ||
extends: .default-rules | ||
stage: build | ||
before_script: | ||
- echo "Skipping pyharm install in build." | ||
script: | ||
- export PREFIX_PATH=$PWD/external/hdf5 | ||
- ./make.sh clean cuda hdf5 volta | ||
artifacts: | ||
paths: | ||
- kharma.* | ||
- make_args | ||
trigger_nvhpc: | ||
trigger: | ||
include: scripts/ci/nvhpc.yml | ||
|
||
# Run all tests in parallel | ||
tests: | ||
extends: .default-rules | ||
stage: tests | ||
script: | ||
- cd tests/$TEST | ||
- ./run.sh | ||
parallel: | ||
matrix: | ||
- TEST: [bondi, bondi_viscous, bz_monopole, emhdmodes, mhdmodes, noh, regrid, reinit, restart, tilt_init, torus_sanity] | ||
trigger_cpu: | ||
trigger: | ||
include: scripts/ci/cpu.yml | ||
strategy: depend | ||
|
||
# TODO trigger_cpu w/intel or similar container | ||
# TODO build containers here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[submodule "external/parthenon"] | ||
path = external/parthenon | ||
url = https://github.com/parthenon-hpc-lab/parthenon.git | ||
branch = bprather/backport-bicgstab | ||
url = https://github.com/AFD-Illinois/parthenon.git | ||
branch = kharma | ||
[submodule "external/variant"] | ||
path = external/variant | ||
url = https://github.com/mpark/variant.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.