Skip to content

Commit

Permalink
Merge pull request #3027 from CliMA/zs/cleanup_ci
Browse files Browse the repository at this point in the history
clean up ci jobs
  • Loading branch information
szy21 authored May 18, 2024
2 parents 28bdfe2 + 59882de commit 68a2d59
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 116 deletions.
52 changes: 11 additions & 41 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,27 +242,6 @@ steps:
agents:
slurm_constraint: icelake|cascadelake|skylake|epyc

- label: ":computer: no lim ARS baroclinic wave (ρe) equilmoist with cloud diagnostics"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_baroclinic_wave_rhoe_equilmoist_cldiag.yml
--job_id sphere_baroclinic_wave_rhoe_equilmoist_cldiag
artifact_paths: "sphere_baroclinic_wave_rhoe_equilmoist_cldiag/output_active/*"

- label: ":computer: no lim ARS baroclinic wave (ρe) equilmoist explicit vertdiff"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_baroclinic_wave_rhoe_equilmoist_expvdiff.yml
--job_id sphere_baroclinic_wave_rhoe_equilmoist_expvdiff
artifact_paths: "sphere_baroclinic_wave_rhoe_equilmoist_expvdiff/output_active/*"

- label: ":computer: no lim ARS baroclinic wave (ρe) equilmoist implicit vertdiff"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_baroclinic_wave_rhoe_equilmoist_impvdiff.yml
--job_id sphere_baroclinic_wave_rhoe_equilmoist_impvdiff
artifact_paths: "sphere_baroclinic_wave_rhoe_equilmoist_impvdiff/output_active/*"

# Add this back when we figure out what to do with SSP and zalesak
# - label: ":computer: SSP zalesak tracer & energy upwind baroclinic wave (ρe_tot) equilmoist"
# command: >
Expand Down Expand Up @@ -305,7 +284,7 @@ steps:
- group: "Sphere Examples (Aquaplanet)"
steps:

- label: ":umbrella: aquaplanet (ρe_tot) equilmoist allsky radiation monin_obukhov varying insolation gravity wave (gfdl_restart) high top with 1-moment micro"
- label: ":umbrella: aquaplanet (ρe_tot) equil allsky monin_obukhov varying insol gravity wave (gfdl_restart) high top 1-moment"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_aquaplanet_rhoe_equilmoist_allsky_gw_res.yml
Expand All @@ -314,16 +293,7 @@ steps:
agents:
slurm_mem: 20GB

- label: ":computer: aquaplanet (ρe_tot) nonequilmoist allsky radiation monin_obukhov varying insolation gravity wave (gfdl_restart) high top with 1-moment micro"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_aquaplanet_rhoe_nonequilmoist_allsky_gw_res.yml
--job_id sphere_aquaplanet_rhoe_nonequilmoist_allsky_gw_res
artifact_paths: "sphere_aquaplanet_rhoe_nonequilmoist_allsky_gw_res/output_active/*"
agents:
slurm_mem: 20GB

- label: ":computer: aquaplanet (ρe_tot) equilmoist allsky radiation monin_obukhov varying insolation gravity wave (raw_topo) high top zonally asymmetric"
- label: ":computer: aquaplanet (ρe_tot) equil allsky monin_obukhov varying insol gravity wave (raw_topo) high top zonally asymmetric"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_aquaplanet_rhoe_equilmoist_allsky_gw_raw_zonallyasymmetric.yml
Expand All @@ -336,6 +306,15 @@ steps:
agents:
slurm_mem: 20GB
slurm_constraint: icelake|cascadelake|skylake|epyc

- label: ":computer: aquaplanet (ρe_tot) nonequilmoist allsky radiation monin_obukhov varying insolation high top 1-moment"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/sphere_aquaplanet_rhoe_nonequilmoist_allsky.yml
--job_id sphere_aquaplanet_rhoe_nonequilmoist_allsky
artifact_paths: "sphere_aquaplanet_rhoe_nonequilmoist_allsky/output_active/*"
agents:
slurm_mem: 20GB

- label: ":computer: aquaplanet (ρe_tot) slabocean equilmoist allsky radiation monin_obukhov varying insolation"
command: >
Expand Down Expand Up @@ -980,15 +959,6 @@ steps:
agents:
slurm_mem: 48GB

- label: ":fire: Flame graph: perf target (barowave jfnk)"
command: >
julia --color=yes --project=perf perf/flame.jl
--config_file $PERF_CONFIG_PATH/flame_sphere_baroclinic_wave_rhoe_equilmoist_expvdiff.yml
--job_id flame_sphere_baroclinic_wave_rhoe_equilmoist_expvdiff
artifact_paths: "flame_sphere_baroclinic_wave_rhoe_equilmoist_expvdiff/*"
agents:
slurm_mem: 40GB

- label: ":fire: Flame graph: perf target (frierson diffusion)"
command: >
julia --color=yes --project=perf perf/flame.jl
Expand Down
2 changes: 1 addition & 1 deletion config/model_configs/gpu_aquaplanet_dyamond.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ approximate_linear_solve_iters: 2
surface_setup: "DefaultMoninObukhov"
rayleigh_sponge: true
dt: "100secs"
t_end: "12hours"
t_end: "8hours"
prescribed_aerosols: ["CB1", "CB2", "DST01", "DST02", "DST03", "DST04", "OC1", "OC2", "SO4", "SOA", "SSLT01", "SSLT02", "SSLT03", "SSLT04"]
toml: [toml/longrun_aquaplanet_dyamond.toml]
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ non_orographic_gravity_wave: true
dz_bottom: 300.0
vert_diff: "true"
idealized_insolation: false
z_max: 45000.0
z_max: 55000.0
precip_model: "0M"
cloud_model: "grid_scale"
surface_temperature: "ZonallyAsymmetric"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
z_elem: 25
z_max: 45000.0
z_max: 55000.0
dz_bottom: 300.0
dt: "400secs"
t_end: "24hours"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
z_elem: 25
z_max: 45000.0
z_max: 55000.0
dz_bottom: 300.0
dt: "400secs"
t_end: "18hours"
Expand All @@ -12,12 +12,5 @@ precip_model: "nothing"
rad: "allskywithclear"
idealized_insolation: false
rayleigh_sponge: true
non_orographic_gravity_wave: true
orographic_gravity_wave: "gfdl_restart"
surface_setup: "DefaultMoninObukhov"
prescribed_aerosols: ["CB1", "CB2"]
toml: [toml/sphere_aquaplanet_rhoe_equilmoist_allsky_gw_res.toml]
diagnostics:
- short_name: [edt, evu]
reduction_time: average
period: "18hours"

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ t_end: "4days"
dz_bottom: 300.0
vert_diff: "true"
forcing: "held_suarez"
z_max: 45000.0
z_max: 55000.0
precip_model: "0M"
regression_test: true
viscous_sponge: true
Expand Down
2 changes: 1 addition & 1 deletion config/model_configs/sphere_held_suarez_rhoe_hightop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ forcing: "held_suarez"
dt: "400secs"
z_elem: 25
deep_atmosphere: true
z_max: 45000.0
z_max: 55000.0
2 changes: 1 addition & 1 deletion config/perf_configs/flame_perf_gw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ toml:
orographic_gravity_wave: "raw_topo"
idealized_insolation: false
non_orographic_gravity_wave: true
z_max: 45000.0
z_max: 55000.0
7 changes: 1 addition & 6 deletions perf/flame.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ allocs_limit["flame_perf_target_tracers"] = 1_184_407
allocs_limit["flame_perf_target_edmfx"] = 1_383_200
allocs_limit["flame_perf_diagnostics"] = 21_359_336
allocs_limit["flame_perf_target_diagnostic_edmfx"] = 1_936_480
allocs_limit["flame_sphere_baroclinic_wave_rhoe_equilmoist_expvdiff"] =
4_018_252_656
allocs_limit["flame_perf_target_frierson"] = 4_015_547_056
allocs_limit["flame_perf_target_threaded"] = 2_298_355
allocs_limit["flame_perf_target_callbacks"] = 1_285_460
Expand All @@ -64,10 +62,7 @@ sampling_rate = expected_allocs <= max_allocs_for_full_sampling ? 1 : 0.01

# Some jobs are problematic (the ones with Krylov mostly)
# https://github.com/pfitzseb/ProfileCanvas.jl/issues/34
if job_id in (
"flame_sphere_baroclinic_wave_rhoe_equilmoist_expvdiff",
"flame_perf_target_frierson",
)
if job_id in ("flame_perf_target_frierson",)
sampling_rate = 0.001
end

Expand Down
21 changes: 1 addition & 20 deletions post_processing/ci_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -692,24 +692,6 @@ function make_plots(
make_plots_generic(output_paths, vars, z = 1500)
end


function make_plots(
::Val{:sphere_baroclinic_wave_rhoe_equilmoist_expvdiff},
output_paths::Vector{<:AbstractString},
)
simdirs = SimDir.(output_paths)
short_names, reduction = ["ta", "hus"], "average"
vars = map_comparison(simdirs, short_names) do simdir, short_name
get(simdir; short_name, reduction) |> ClimaAnalysis.average_lon
end
make_plots_generic(
output_paths,
vars,
time = LAST_SNAP,
more_kwargs = YLINEARSCALE,
)
end

LongMoistBaroWavePlots = Union{
Val{:longrun_bw_rhoe_equil_highres},
Val{:longrun_zalesak_tracer_energy_bw_rhoe_equil_highres},
Expand Down Expand Up @@ -762,7 +744,6 @@ function make_plots(
end

MoistHeldSuarezPlots = Union{
Val{:sphere_baroclinic_wave_rhoe_equilmoist_impvdiff},
Val{:sphere_held_suarez_rhoe_equilmoist_hightop_sponge},
Val{:longrun_hs_rhoe_equil_55km_nz63_0M},
Val{:longrun_hs_rhoe_equil_55km_nz63_0M_deepatmos},
Expand Down Expand Up @@ -910,7 +891,7 @@ end

AquaplanetPlots = Union{
Val{:mpi_sphere_aquaplanet_rhoe_equilmoist_clearsky},
Val{:sphere_aquaplanet_rhoe_nonequilmoist_allsky_gw_res},
Val{:sphere_aquaplanet_rhoe_nonequilmoist_allsky},
Val{:longrun_aquaplanet_rhoe_equil_55km_nz63_gray_0M},
Val{:longrun_aquaplanet_rhoe_equil_55km_nz63_clearsky_0M},
Val{:longrun_aquaplanet_rhoe_equil_55km_nz63_clearsky_diagedmf_diffonly_0M},
Expand Down
5 changes: 4 additions & 1 deletion regression_tests/ref_counter.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
160
161

# 161:
# - Change domain top to 55 km in simulations with high top

# 160:
# - Introduces initial conditions for the baroclinic-wave
Expand Down

0 comments on commit 68a2d59

Please sign in to comment.