Skip to content

Commit c919367

Browse files
authored
Merge pull request #1576 from CliMA/zs/benchmark
add benchmark configs for flagship amip
2 parents 97eeb0b + fde4a9d commit c919367

File tree

4 files changed

+117
-1
lines changed

4 files changed

+117
-1
lines changed

.buildkite/benchmarks/pipeline.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,32 @@ steps:
2929

3030
- wait
3131

32+
- group: "GPU benchmarks for flagship amip"
33+
steps:
34+
- label: "GPU AMIP with prognostic EDMF + 1M + integrated land (16 helems)"
35+
key: "gpu_amip_progedmf_1M_land_he16"
36+
command: "srun julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_progedmf_1m_land_he16.yml --job_id gpu_amip_progedmf_1M_land_he16"
37+
artifact_paths: "experiments/ClimaEarth/output/gpu_amip_progedmf_1M_land_he16/artifacts/*"
38+
env:
39+
CLIMACOMMS_DEVICE: "CUDA"
40+
agents:
41+
slurm_gpus_per_task: 1
42+
slurm_cpus_per_task: 4
43+
slurm_ntasks: 1
44+
slurm_mem: 16GB
45+
46+
- label: "GPU AMIP with prognostic EDMF + 1M + integrated land (30 helems)"
47+
key: "gpu_amip_progedmf_1M_land_he30"
48+
command: "srun julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_progedmf_1m_land_he30.yml --job_id gpu_amip_progedmf_1M_land_he30"
49+
artifact_paths: "experiments/ClimaEarth/output/gpu_amip_progedmf_1M_land_he30/artifacts/*"
50+
env:
51+
CLIMACOMMS_DEVICE: "CUDA"
52+
agents:
53+
slurm_gpus_per_task: 1
54+
slurm_cpus_per_task: 4
55+
slurm_ntasks: 1
56+
slurm_mem: 16GB
57+
3258
- group: "GPU benchmarks"
3359
steps:
3460
- label: "GPU ClimaAtmos without diagnostic EDMF"
@@ -82,6 +108,7 @@ steps:
82108
slurm_cpus_per_task: 4
83109
slurm_ntasks: 2
84110
slurm_mem: 16GB
111+
85112

86113
- group: "Generate output table"
87114
steps:
@@ -95,7 +122,7 @@ steps:
95122
- "gpu_amip_diagedmf"
96123
- "gpu_amip_diagedmf_io"
97124

98-
- label: ":envelope: Slack report: CPU/GPU AMIP/Atmos-only table"
125+
- label: ":envelope: Slack report: GPU AMIP/Atmos-only table"
99126
depends_on:
100127
- "compare_amip_climaatmos_amip_diagedmf"
101128
command:
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FLOAT_TYPE: "Float32"
2+
albedo_model: "CouplerAlbedo"
3+
atmos_config_file: "config/atmos_configs/climaatmos_progedmf.yml"
4+
checkpoint_dt: "366days"
5+
coupler_toml: ["toml/amip_progedmf_1m.toml"]
6+
dt: "30secs"
7+
dt_cpl: "30secs"
8+
dt_rad: "600secs"
9+
energy_check: false
10+
h_elem: 16
11+
land_model: "integrated"
12+
mode_name: "amip"
13+
radiation_reset_rng_seed: true
14+
start_date: "20100101"
15+
surface_setup: "PrescribedSurface"
16+
t_end: "1200secs"
17+
topo_smoothing: true
18+
topography: "Earth"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FLOAT_TYPE: "Float32"
2+
albedo_model: "CouplerAlbedo"
3+
atmos_config_file: "config/atmos_configs/climaatmos_progedmf.yml"
4+
checkpoint_dt: "366days"
5+
coupler_toml: ["toml/amip_progedmf_1m.toml"]
6+
dt: "30secs"
7+
dt_cpl: "30secs"
8+
dt_rad: "600secs"
9+
energy_check: false
10+
h_elem: 30
11+
land_model: "integrated"
12+
mode_name: "amip"
13+
radiation_reset_rng_seed: true
14+
start_date: "20100101"
15+
surface_setup: "PrescribedSurface"
16+
t_end: "1200secs"
17+
topo_smoothing: true
18+
topography: "Earth"

toml/amip_progedmf_1m.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[zd_rayleigh]
2+
value = 40000.0
3+
4+
[zd_viscous]
5+
value = 40000.0
6+
7+
[alpha_rayleigh_sgs_tracer]
8+
value = 1e-3
9+
10+
[EDMF_min_area]
11+
value = 1.0e-5
12+
13+
[EDMF_max_area]
14+
value = 0.7
15+
16+
[entr_inv_tau]
17+
value = 0.0002
18+
19+
[entr_coeff]
20+
value = 0.2
21+
22+
[min_area_limiter_scale]
23+
value = 0
24+
25+
[min_area_limiter_power]
26+
value = 100
27+
28+
[detr_inv_tau]
29+
value = 0
30+
31+
[detr_coeff]
32+
value = 0
33+
34+
[detr_buoy_coeff]
35+
value = 0
36+
37+
[detr_vertdiv_coeff]
38+
value = 0
39+
40+
[detr_massflux_vertdiv_coeff]
41+
value = 1
42+
43+
[pressure_normalmode_drag_coeff]
44+
value = 40.0
45+
46+
[tracer_vertical_diffusion_factor]
47+
value = 0
48+
49+
[condensation_evaporation_timescale]
50+
value = 100
51+
52+
[sublimation_deposition_timescale]
53+
value = 100

0 commit comments

Comments
 (0)