Skip to content

Commit 5bbc2a1

Browse files
Refactor the buffer system and add methods for synchronize_communication! (#4939)
* start chopping up * starting with some changes * this does not exist yet * Add method for synchronize_communication! with Nothing * Update src/DistributedComputations/communication_buffers.jl Co-authored-by: Gregory L. Wagner <[email protected]> * Update src/DistributedComputations/communication_buffers.jl Co-authored-by: Gregory L. Wagner <[email protected]> * add docstrings * Change buffer type from TwoDBuffers to TwoDBuffer * Fix typo in CornerBuffers to CornerBuffer * Refactor y_communication_buffer function signature * fix dimension mismatch --------- Co-authored-by: Gregory L. Wagner <[email protected]>
1 parent 08c8ed3 commit 5bbc2a1

File tree

6 files changed

+319
-147
lines changed

6 files changed

+319
-147
lines changed

.buildkite/distributed/pipeline.yml

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ steps:
2929

3030
- wait
3131

32-
- label: "🐉 cpu distributed unit tests"
32+
- label: "🐉 cpu unit tests"
3333
key: "distributed_cpu"
3434
env:
3535
TEST_GROUP: "distributed"
@@ -44,7 +44,7 @@ steps:
4444
- exit_status: 1
4545
limit: 1
4646

47-
- label: "🐲 gpu distributed unit tests"
47+
- label: "🐲 gpu unit tests"
4848
key: "distributed_gpu"
4949
env:
5050
TEST_GROUP: "distributed"
@@ -60,7 +60,7 @@ steps:
6060
- exit_status: 1
6161
limit: 1
6262

63-
- label: "🦾 cpu distributed solvers tests"
63+
- label: "🦾 cpu solvers tests"
6464
key: "distributed_solvers_cpu"
6565
env:
6666
TEST_GROUP: "distributed_solvers"
@@ -74,7 +74,7 @@ steps:
7474
- exit_status: 1
7575
limit: 1
7676

77-
- label: "🛸 gpu distributed solvers tests"
77+
- label: "🛸 gpu solvers tests"
7878
key: "distributed_solvers_gpu"
7979
env:
8080
TEST_GROUP: "distributed_solvers"
@@ -90,7 +90,40 @@ steps:
9090
- exit_status: 1
9191
limit: 1
9292

93-
- label: "🤺 cpu distributed hydrostatic model tests"
93+
- label: "🤿 cpu hydrostatic regression tests"
94+
key: "distributed_hydrostatic_regression_cpu"
95+
env:
96+
TEST_GROUP: "distributed_hydrostatic_regression"
97+
TEST_ARCHITECTURE: "CPU"
98+
commands:
99+
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
100+
timeout_in_minutes: 1440
101+
agents:
102+
slurm_mem: 50G
103+
slurm_ntasks: 4
104+
retry:
105+
automatic:
106+
- exit_status: 1
107+
limit: 1
108+
109+
- label: "🥽 gpu hydrostatic regression tests"
110+
key: "distributed_hydrostatic_regression_gpu"
111+
env:
112+
TEST_GROUP: "distributed_hydrostatic_regression"
113+
TEST_ARCHITECTURE: "GPU"
114+
commands:
115+
- "srun julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
116+
timeout_in_minutes: 1440
117+
agents:
118+
slurm_mem: 100G # Apparently the GPU tests require more memory
119+
slurm_ntasks: 4
120+
slurm_gpus_per_task: 1
121+
retry:
122+
automatic:
123+
- exit_status: 1
124+
limit: 1
125+
126+
- label: "🤺 cpu hydrostatic model tests"
94127
key: "distributed_hydrostatic_model_cpu"
95128
env:
96129
TEST_GROUP: "distributed_hydrostatic_model"
@@ -106,7 +139,7 @@ steps:
106139
- exit_status: 1
107140
limit: 1
108141

109-
- label: "🦏 gpu distributed hydrostatic model tests"
142+
- label: "🦏 gpu hydrostatic model tests"
110143
key: "distributed_hydrostatic_model_gpu"
111144
env:
112145
TEST_GROUP: "distributed_hydrostatic_model"
@@ -123,7 +156,7 @@ steps:
123156
- exit_status: 1
124157
limit: 1
125158

126-
- label: "🦍 cpu distributed nonhydrostatic regression"
159+
- label: "🦍 cpu nonhydrostatic regression"
127160
key: "distributed_nonhydrostatic_regression_cpu"
128161
env:
129162
TEST_GROUP: "distributed_nonhydrostatic_regression"
@@ -138,7 +171,7 @@ steps:
138171
- exit_status: 1
139172
limit: 1
140173

141-
- label: "🕺 gpu distributed nonhydrostatic regression"
174+
- label: "🕺 gpu nonhydrostatic regression"
142175
key: "distributed_nonhydrostatic_regression_gpu"
143176
env:
144177
TEST_GROUP: "distributed_nonhydrostatic_regression"

0 commit comments

Comments
 (0)