Skip to content

Commit 5a89425

Browse files
charleskawczynskiCharlie Kawczynski
andauthored
Use ClimaCore mask (#1050)
Co-authored-by: Charlie Kawczynski <[email protected]>
1 parent 14670af commit 5a89425

File tree

23 files changed

+617
-509
lines changed

23 files changed

+617
-509
lines changed

.buildkite/Manifest-v1.11.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@ weakdeps = ["CUDA", "MPI"]
392392
ClimaCommsMPIExt = "MPI"
393393

394394
[[deps.ClimaCore]]
395-
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "UnrolledUtilities"]
396-
git-tree-sha1 = "36577494c1b57504130140b764de85d537c28e3f"
395+
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LazyBroadcast", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "UnrolledUtilities"]
396+
git-tree-sha1 = "b2d001e8f6b5dd3ae3c1265c73a5a5de42acd80d"
397397
uuid = "d414da3d-4745-48bb-8d80-42e94e092884"
398-
version = "0.14.29"
398+
version = "0.14.30"
399399
weakdeps = ["CUDA", "Krylov"]
400400

401401
[deps.ClimaCore.extensions]
@@ -1594,6 +1594,11 @@ deps = ["Artifacts", "Pkg"]
15941594
uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
15951595
version = "1.11.0"
15961596

1597+
[[deps.LazyBroadcast]]
1598+
git-tree-sha1 = "6d2586dfde8b989198181fe21b8b6d0a42787ab8"
1599+
uuid = "9dccce8e-a116-406d-9fcc-a88ed4f510c8"
1600+
version = "1.0.0"
1601+
15971602
[[deps.LazyModules]]
15981603
git-tree-sha1 = "a560dd966b386ac9ae60bdd3a3d3a326062d3c3e"
15991604
uuid = "8cdb02fc-e678-4876-92c5-9defec4f444e"

.buildkite/pipeline.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ steps:
109109
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/water_energy_conservation.jl"
110110
artifact_paths: "experiments/standalone/Soil/water_energy_conservation/output_active/*full_soil_*png"
111111

112-
- label: "Richards Runoff CPU"
113-
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/richards_runoff.jl"
114-
artifact_paths: "experiments/standalone/Soil/artifacts/cpu/output_active/*png"
115-
agents:
116-
slurm_mem: 16G
117-
118112
- label: "Global Run CPU"
119113
command: "julia --color=yes --project=.buildkite experiments/integrated/global/global_soil_canopy.jl"
120114
artifact_paths: "experiments/integrated/global/output_active/*png"
@@ -131,14 +125,6 @@ steps:
131125

132126
- group: "Experiments on GPU"
133127
steps:
134-
- label: "Richards Runoff GPU"
135-
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/richards_runoff.jl"
136-
artifact_paths: "experiments/standalone/Soil/artifacts/gpu/output_active/*png"
137-
agents:
138-
slurm_ntasks: 1
139-
slurm_gpus: 1
140-
env:
141-
CLIMACOMMS_DEVICE: "CUDA"
142128

143129
- label: "Richards comparison to Bonan: GPU"
144130
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/richards_comparison.jl"

.dev/Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
33

44
[compat]
5-
JuliaFormatter = "1"
6-
5+
JuliaFormatter = "1"

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ main
66

77
v0.5.13
88
-------
9+
- add masking of ocean PR[#1050](https://github.com/CliMA/ClimaLand.jl/pull/1050)
910
- fix for GPU compatibility of integrated land model coupled
1011
flux calculations PR[#1093](https://github.com/CliMA/ClimaLand.jl/pull/1093)
1112

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ NeuralSnowExt = ["CSV", "DataFrames", "HTTP", "Flux", "StatsBase", "BSON"]
3737
BSON = "0.3.9"
3838
CSV = "0.10.14"
3939
ClimaComms = "0.6.2"
40-
ClimaCore = "0.14.23"
40+
ClimaCore = "0.14.30"
4141
ClimaDiagnostics = "0.2.10"
4242
ClimaParams = "0.10.2"
4343
ClimaUtilities = "0.1.24"

docs/Manifest-v1.11.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ version = "0.6.6"
377377
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
378378

379379
[[deps.ClimaCore]]
380-
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "UnrolledUtilities"]
381-
git-tree-sha1 = "36577494c1b57504130140b764de85d537c28e3f"
380+
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LazyBroadcast", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "UnrolledUtilities"]
381+
git-tree-sha1 = "b2d001e8f6b5dd3ae3c1265c73a5a5de42acd80d"
382382
uuid = "d414da3d-4745-48bb-8d80-42e94e092884"
383-
version = "0.14.29"
383+
version = "0.14.30"
384384

385385
[deps.ClimaCore.extensions]
386386
ClimaCoreCUDAExt = "CUDA"
@@ -1647,6 +1647,11 @@ deps = ["Artifacts", "Pkg"]
16471647
uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
16481648
version = "1.11.0"
16491649

1650+
[[deps.LazyBroadcast]]
1651+
git-tree-sha1 = "6d2586dfde8b989198181fe21b8b6d0a42787ab8"
1652+
uuid = "9dccce8e-a116-406d-9fcc-a88ed4f510c8"
1653+
version = "1.0.0"
1654+
16501655
[[deps.LazyModules]]
16511656
git-tree-sha1 = "a560dd966b386ac9ae60bdd3a3d3a326062d3c3e"
16521657
uuid = "8cdb02fc-e678-4876-92c5-9defec4f444e"

experiments/benchmarks/richards.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ if profiler == "flamegraph"
305305
end
306306

307307
if get(ENV, "BUILDKITE_PIPELINE_SLUG", nothing) == "climaland-benchmark"
308-
PREVIOUS_BEST_TIME = 2.99
308+
PREVIOUS_BEST_TIME = 1.49
309309
if average_timing_s > PREVIOUS_BEST_TIME + std_timing_s
310310
@info "Possible performance regression, previous average time was $(PREVIOUS_BEST_TIME)"
311311
elseif average_timing_s < PREVIOUS_BEST_TIME - std_timing_s

experiments/benchmarks/snowy_land.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ if profiler == "flamegraph"
490490
@info "Saved allocation flame to $alloc_flame_file"
491491
end
492492
if get(ENV, "BUILDKITE_PIPELINE_SLUG", nothing) == "climaland-benchmark"
493-
PREVIOUS_BEST_TIME = 3.98
493+
PREVIOUS_BEST_TIME = 3.29
494494
if average_timing_s > PREVIOUS_BEST_TIME + std_timing_s
495495
@info "Possible performance regression, previous average time was $(PREVIOUS_BEST_TIME)"
496496
elseif average_timing_s < PREVIOUS_BEST_TIME - std_timing_s

0 commit comments

Comments
 (0)