Skip to content

Commit

Permalink
Global long run
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Jul 15, 2024
1 parent 72f4b98 commit 3870469
Show file tree
Hide file tree
Showing 11 changed files with 780 additions and 66 deletions.
42 changes: 42 additions & 0 deletions .buildkite/longruns_gpu/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
agents:
queue: clima
slurm_mem: 8G
modules: common

timeout_in_minutes: 1440

steps:
- label: "init :GPU:"
key: "init_gpu_env"
command:
- echo "--- Instantiate"

- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project -e 'using Pkg; Pkg.status()'"

- julia --project=.buildkite -e 'using Pkg; Pkg.instantiate(;verbose=true)'
- julia --project=.buildkite -e 'using Pkg; Pkg.precompile()'
- julia --project=.buildkite -e 'using CUDA; CUDA.precompile_runtime()'
- julia --project=.buildkite -e 'using Pkg; Pkg.status()'

agents:
slurm_gpus: 1
slurm_cpus_per_task: 8
env:
JULIA_NUM_PRECOMPILE_TASKS: 8
JULIA_MAX_NUM_PRECOMPILE_FILES: 50

- wait

- group: "Global Land Models"
steps:

- label: ":seedling: Soil-Canopy"
command:
- julia --color=yes --project=.buildkite experiments/long_runs/land.jl
artifact_paths: "land_longrun_gpu/*png"
agents:
slurm_gpus: 1
slurm_time: 12:00:00
env:
CLIMACOMMS_DEVICE: "CUDA"
6 changes: 3 additions & 3 deletions Artifacts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
git-tree-sha1 = "ec424296df6b60cfe273ac8f981701fbbed0bd8a"

[soil_params_Gupta2020_2022]
git-tree-sha1 = "8e28b4274b10020b6cdd54b8e7585221379d9d33"
git-tree-sha1 = "c10e8f877603bfa2c018eb2dd0c51dd078abe5df"

[[soil_params_Gupta2020_2022.download]]
sha256 = "97dcf1158cba03b1fd397262bdfaf85a523f57038c337bcce163e32664d3616b"
url = "https://caltech.box.com/shared/static/f2y23qx0lggjskftzgh7ht7fsbh36gmm.gz"
sha256 = "6205d96ae7724c469eef5cd1cf3b99e186637427b6fb65ecc659fb808fc6cacf"
url = "https://caltech.box.com/shared/static/7c6yx62tzjivxfmhqyy03r6e9l1glyu1.gz"
6 changes: 4 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ ClimaLand.jl Release Notes
main
--------
- PR[#690] Use the soil parameters in creating the biogeochemistry SoilMet driver for consistency.

- Add a long run with diagnostics
PR[#688](https://github.com/CliMA/ClimaLand.jl/pull/688)
v0.13.0
--------
- NOTE: the breaking PR below was merged by accident in v0.12.5
- ![][badge-💥breaking] rename update_jacobian to compute_jacobian
and tendency_jacobian to jacobian
PR[#685](https://github.com/CliMA/ClimaLand.jl/pull/685)

v0.12.5
--------
- Turn of dss
Expand All @@ -26,6 +26,8 @@ v0.12.5
- Add base global soil canopy run to benchmark and experiments
PR [#591](https://github.com/CliMA/ClimaLand.jl/pull/591)
PR [#669](https://github.com/CliMA/ClimaLand.jl/pull/669)
- updates Jacobian for soil energy
PR[#678](https://github.com/CliMA/ClimaLand.jl/pull/678)

v0.12.4
--------
Expand Down
12 changes: 6 additions & 6 deletions experiments/integrated/global/global_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extrapolation_bc =
soil_params_mask = SpaceVaryingInput(
joinpath(
soil_params_artifact_path,
"vGalpha_map_gupta_etal2020_2.5x2.5x4.nc",
"vGalpha_map_gupta_etal2020_1.0x1.0x4.nc",
),
"α",
subsurface_space;
Expand All @@ -18,15 +18,15 @@ oceans_to_value(field, mask, value) = mask == 1.0 ? field : eltype(field)(value)
vg_α = SpaceVaryingInput(
joinpath(
soil_params_artifact_path,
"vGalpha_map_gupta_etal2020_2.5x2.5x4.nc",
"vGalpha_map_gupta_etal2020_1.0x1.0x4.nc",
),
"α",
subsurface_space;
regridder_type,
regridder_kwargs = (; extrapolation_bc,),
)
vg_n = SpaceVaryingInput(
joinpath(soil_params_artifact_path, "vGn_map_gupta_etal2020_2.5x2.5x4.nc"),
joinpath(soil_params_artifact_path, "vGn_map_gupta_etal2020_1.0x1.0x4.nc"),
"n",
subsurface_space;
regridder_type,
Expand All @@ -47,7 +47,7 @@ hydrology_cm = vg_fields_to_hcm_field.(vg_α, vg_n)
θ_r = SpaceVaryingInput(
joinpath(
soil_params_artifact_path,
"residual_map_gupta_etal2020_2.5x2.5x4.nc",
"residual_map_gupta_etal2020_1.0x1.0x4.nc",
),
"θ_r",
subsurface_space;
Expand All @@ -58,15 +58,15 @@ hydrology_cm = vg_fields_to_hcm_field.(vg_α, vg_n)
ν = SpaceVaryingInput(
joinpath(
soil_params_artifact_path,
"porosity_map_gupta_etal2020_2.5x2.5x4.nc",
"porosity_map_gupta_etal2020_1.0x1.0x4.nc",
),
"ν",
subsurface_space;
regridder_type,
regridder_kwargs = (; extrapolation_bc,),
)
K_sat = SpaceVaryingInput(
joinpath(soil_params_artifact_path, "ksat_map_gupta_etal2020_2.5x2.5x4.nc"),
joinpath(soil_params_artifact_path, "ksat_map_gupta_etal2020_1.0x1.0x4.nc"),
"Ksat",
subsurface_space;
regridder_type,
Expand Down
Loading

0 comments on commit 3870469

Please sign in to comment.