Skip to content

Commit 2674832

Browse files
committed
Reformulate IMEX ARK and SSPRK timestepping schemes
1 parent 044923f commit 2674832

37 files changed

+1569
-1718
lines changed

.buildkite/pipeline.yml

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ agents:
22
queue: new-central
33
slurm_mem: 8G
44
modules: climacommon/2024_04_05
5-
partition: expansion
65

76
env:
87
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
98
OPENBLAS_NUM_THREADS: 1
109
JULIA_NVTX_CALLBACKS: gc
1110
OMPI_MCA_opal_warn_on_missing_libcuda: 0
1211
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
12+
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
1313

1414
steps:
1515
- label: "init cpu env"
@@ -24,40 +24,38 @@ steps:
2424
- echo "--- Instantiate perf"
2525
- "julia --project=perf -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"
2626

27+
- echo "--- Instantiate docs"
28+
- "julia --project=docs -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"
29+
2730
- echo "--- Package status"
2831
- "julia --project -e 'using Pkg; Pkg.status()'"
29-
30-
31-
# - label: "init gpu env"
32-
# key: "init_gpu_env"
33-
# command:
34-
# - echo "--- Configure MPI"
35-
# - julia -e 'using Pkg; Pkg.add("MPIPreferences"); using MPIPreferences; use_system_binary()'
36-
37-
# - echo "--- Instantiate project"
38-
# - "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"
39-
40-
# - echo "--- Instantiate test"
41-
# - "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile()'"
42-
43-
# - echo "--- Initialize CUDA runtime"
44-
# - "julia --project -e 'using CUDA; CUDA.precompile_runtime(); CUDA.versioninfo()'"
45-
46-
# - echo "--- Package status"
47-
# - "julia --project -e 'using Pkg; Pkg.status()'"
48-
# slurm_gres: "gpu:1"
32+
agents:
33+
slurm_gpus: 1
4934

5035
- wait
5136

5237
- label: "CPU tests"
5338
command: "julia --project=test --check-bounds=yes test/runtests.jl"
5439
artifact_paths: "output/*"
5540

56-
# - label: "GPU tests"
57-
# command:
58-
# - "julia --project=test --check-bounds=yes test/runtests.jl CuArray"
59-
# artifact_paths: "output/*"
60-
# slurm_gres: "gpu:1"
41+
- label: "Deformational flow limiter test (CPU)"
42+
command:
43+
- "julia --project=docs --check-bounds=yes docs/src/test_deformational_flow.jl CPU"
44+
artifact_paths: "output_CPU/*"
45+
46+
- label: "Deformational flow limiter test (GPU)"
47+
command:
48+
- "julia --project=docs docs/src/test_deformational_flow.jl GPU"
49+
artifact_paths: "output_GPU/*"
50+
agents:
51+
slurm_gpus: 1
52+
53+
- label: "Deformational flow limiter test (GPU w/ check-bounds)"
54+
command:
55+
- "julia --project=docs --check-bounds=yes docs/src/test_deformational_flow.jl GPU_checkbounds"
56+
artifact_paths: "output_GPU_checkbounds/*"
57+
agents:
58+
slurm_gpus: 1
6159

6260
- label: "Flame graph (1D diffusion)"
6361
command: "julia --project=perf perf/flame.jl --job_id diffusion_1D"

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ LinearOperators = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125"
1616
NVTX = "5da4648a-3479-48b8-97b9-01cb529c0a1f"
1717
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1818
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
19+
UnrolledUtilities = "0fe1646c-419e-43be-ac14-22321958931b"
1920

2021
[compat]
2122
ClimaComms = "0.4, 0.5"
@@ -30,4 +31,5 @@ LinearOperators = "2"
3031
NVTX = "0.3"
3132
SciMLBase = "1, 2"
3233
StaticArrays = "1"
34+
UnrolledUtilities = "0.1"
3335
julia = "1.8"

0 commit comments

Comments
 (0)