Skip to content

Commit

Permalink
add runs to longrun pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Mar 20, 2024
1 parent 56d492c commit adf704a
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .buildkite/longruns/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ env:

CONFIG_PATH: "config/longrun_configs"
PERF_CONFIG_PATH: "config/perf_configs"
MODEL_CONFIG_PATH: "config/model_configs"
ATMOS_CONFIG_PATH: "config/atmos_configs"

timeout_in_minutes: 1440

Expand Down Expand Up @@ -408,3 +410,42 @@ steps:
command:
- slack-upload -c "#coupler-report" -f perf/output/perf_diff_target_amip_n1_shortrun/flame_diff.html -m png -n amip_fine_flamegraphdiff -x "AMIP Longrun FlameGraphDiff"
- slack-upload -c "#coupler-report" -f perf/output/perf_diff_target_amip_n1_shortrun/flame_diff_self_count.html -m png -n amip_fine_flamegraphdiffself -x "AMIP Longrun FlameGraphDiffSelf"

- group: "Table output targets"

steps:

- label: "GPU AMIP DYAMOND"
key: "gpu_amip_dyamond"
command: "srun julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --config_file $MODEL_CONFIG_PATH/gpu_amip_dyamond.yml"
artifact_paths: "experiments/AMIP/output/amip/gpu_amip_dyamond_artifacts/*"
agents:
slurm_gpus: 1
slurm_mem: 16GB

- label: "CPU AMIP DYAMOND"
key: "amip_dyamond"
command: "srun julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --config_file $MODEL_CONFIG_PATH/amip_dyamond.yml"
artifact_paths: "experiments/AMIP/output/amip/amip_dyamond_artifacts/*"
agents:
slurm_ntasks_per_node: 1
slurm_nodes: 1
slurm_mem_per_cpu: 16G

# Note: These config files live in the ClimaAtmos repository
- label: "GPU aquaplanet DYAMOND"
key: "gpu_aquaplanet_dyamond"
command: "srun julia --color=yes --project=test/ test/component_model_tests/climaatmos_standalone/atmos_driver.jl --config_file $ATMOS_CONFIG_PATH/gpu_aquaplanet_dyamond.yml"
artifact_paths: "experiments/AMIP/output/gpu_aquaplanet_dyamond/*"
agents:
slurm_gpus: 1
slurm_mem: 16GB

- label: "CPU aquaplanet DYAMOND"
key: "aquaplanet_dyamond"
command: "srun julia --color=yes --project=test/ test/component_model_tests/climaatmos_standalone/atmos_driver.jl --config_file $ATMOS_CONFIG_PATH/aquaplanet_dyamond.yml"
artifact_paths: "experiments/AMIP/output/aquaplanet_dyamond/*"
agents:
slurm_ntasks_per_node: 1
slurm_nodes: 1
slurm_mem_per_cpu: 16G
23 changes: 23 additions & 0 deletions config/atmos_configs/aquaplanet_dyamond.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
dt_save_state_to_disk: "Inf"
dt_save_to_sol: "Inf"
output_default_diagnostics: false
h_elem: 30
z_max: 55000.0
z_elem: 63
dz_bottom: 30.0
dz_top: 3000.0
moist: "equil"
precip_model: "0M"
rad: "allskywithclear"
idealized_insolation: false
dt_rad: "1hours"
dt_cloud_fraction: "1hours"
vert_diff: "FriersonDiffusion"
implicit_diffusion: true
approximate_linear_solve_iters: 2
surface_setup: "DefaultMoninObukhov"
rayleigh_sponge: true
dt: "100secs"
t_end: "12hours"
job_id: "aquaplanet_dyamond"
toml: [toml/longrun_aquaplanet_dyamond.toml]
23 changes: 23 additions & 0 deletions config/atmos_configs/gpu_aquaplanet_dyamond.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
dt_save_state_to_disk: "Inf"
dt_save_to_sol: "Inf"
output_default_diagnostics: false
h_elem: 30
z_max: 55000.0
z_elem: 63
dz_bottom: 30.0
dz_top: 3000.0
moist: "equil"
precip_model: "0M"
rad: "allskywithclear"
idealized_insolation: false
dt_rad: "1hours"
dt_cloud_fraction: "1hours"
vert_diff: "FriersonDiffusion"
implicit_diffusion: true
approximate_linear_solve_iters: 2
surface_setup: "DefaultMoninObukhov"
rayleigh_sponge: true
dt: "100secs"
t_end: "12hours"
job_id: "gpu_aquaplanet_dyamond"
toml: [toml/longrun_aquaplanet_dyamond.toml]
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if !(isnothing(atmos_config_file))
config = CA.default_config_dict()
else
@info "Using Atmos configuration from $atmos_config_file"
config = CA.override_default_config(joinpath(pkgdir(CA), atmos_config_file))
config = CA.override_default_config(joinpath(pkgdir(ClimaCoupler), atmos_config_file))
end

# Specify atmos output directory to be inside the coupler output directory
Expand Down
5 changes: 5 additions & 0 deletions toml/longrun_aquaplanet_dyamond.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[zd_rayleigh]
value = 35000.0

[alpha_rayleigh_uh]
value = 0.0

0 comments on commit adf704a

Please sign in to comment.