Skip to content

Commit

Permalink
Merge branch 'main' into glw/regularized-laplacian
Browse files Browse the repository at this point in the history
  • Loading branch information
glwagner authored Dec 13, 2024
2 parents b1db287 + a8b3306 commit 86dee35
Show file tree
Hide file tree
Showing 268 changed files with 8,018 additions and 5,158 deletions.
60 changes: 44 additions & 16 deletions .buildkite/distributed/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
agents:
queue: new-central
slurm_mem: 8G
modules: climacommon/2024_05_27
slurm_mem: 8G # Note that the tests run on shared nodes, so limiting the memory usage might help in avoiding long queues
modules: climacommon/2024_10_08

env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite/distributed"
Expand All @@ -16,60 +16,74 @@ steps:
key: "init_central"
env:
TEST_GROUP: "init"
GPU_TEST: "true"
command:
- echo "--- Instantiate project"
- "julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
- echo "--- Initialize tests"
- "julia -O0 --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_gpus: 1
slurm_cpus_per_task: 8
slurm_mem: 8G
slurm_ntasks: 1
slurm_gpus_per_task: 1

- wait

- label: "🐉 cpu distributed unit tests"
key: "distributed_cpu"
env:
TEST_GROUP: "distributed"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 8G
slurm_ntasks: 4
retry:
automatic:
- exit_status: 1
limit: 1

- label: "🐲 gpu distributed unit tests"
key: "distributed_gpu"
env:
TEST_GROUP: "distributed"
GPU_TEST: "true"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 8G
slurm_ntasks: 4
slurm_gpus_per_task: 1
retry:
automatic:
- exit_status: 1
limit: 1


- label: "🦾 cpu distributed solvers tests"
key: "distributed_solvers_cpu"
env:
TEST_GROUP: "distributed_solvers"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 50G
slurm_ntasks: 4
retry:
automatic:
- exit_status: 1
limit: 1

- label: "🛸 gpu distributed solvers tests"
key: "distributed_solvers_gpu"
env:
TEST_GROUP: "distributed_solvers"
GPU_TEST: "true"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 50G
slurm_ntasks: 4
slurm_gpus_per_task: 1
retry:
Expand All @@ -81,20 +95,27 @@ steps:
key: "distributed_hydrostatic_model_cpu"
env:
TEST_GROUP: "distributed_hydrostatic_model"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 50G
slurm_ntasks: 4
retry:
automatic:
- exit_status: 1
limit: 1

- label: "🦏 gpu distributed hydrostatic model tests"
key: "distributed_hydrostatic_model_gpu"
env:
TEST_GROUP: "distributed_hydrostatic_model"
GPU_TEST: "true"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 80G # Apparently the GPU tests require more memory
slurm_ntasks: 4
slurm_gpus_per_task: 1
retry:
Expand All @@ -106,20 +127,27 @@ steps:
key: "distributed_nonhydrostatic_regression_cpu"
env:
TEST_GROUP: "distributed_nonhydrostatic_regression"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 50G
slurm_ntasks: 4
retry:
automatic:
- exit_status: 1
limit: 1

- label: "🕺 gpu distributed nonhydrostatic regression"
key: "distributed_nonhydrostatic_regression_gpu"
env:
TEST_GROUP: "distributed_nonhydrostatic_regression"
GPU_TEST: "true"
MPI_TEST: "true"
commands:
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
slurm_mem: 120G
slurm_mem: 50G
slurm_ntasks: 4
slurm_gpus_per_task: 1
retry:
Expand Down
Loading

0 comments on commit 86dee35

Please sign in to comment.