Skip to content

Commit

Permalink
move the dyamond initial test to gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Dec 18, 2024
1 parent 7d472f2 commit 699fa11
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
21 changes: 12 additions & 9 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,6 @@ steps:
artifact_paths: "deep_sphere_baroclinic_wave_rhoe_equilmoist/output_active/*"
agents:
slurm_constraint: icelake|cascadelake|skylake|epyc

- label: ":computer: test DYAMOND interpolated initial conditions"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $GPU_CONFIG_PATH/gpu_aquaplanet_dyamond_summer.yml
--job_id gpu_aquaplanet_dyamond_summer
artifact_paths: "gpu_aquaplanet_dyamond_summer/output_active/*"
agents:
slurm_constraint: icelake|cascadelake|skylake|epyc

# 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"
Expand Down Expand Up @@ -974,6 +965,18 @@ steps:
agents:
slurm_gpus: 1
slurm_mem: 16G

- label: "GPU: test DYAMOND interpolated initial conditions"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $GPU_CONFIG_PATH/gpu_aquaplanet_dyamond_summer.yml
--job_id gpu_aquaplanet_dyamond_summer
artifact_paths: "gpu_aquaplanet_dyamond_summer/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 16G

- label: "GPU: Diagnostic EDMFX aquaplanet"
key: "diagnostic_edmfx_aquaplanet_gpu"
Expand Down
10 changes: 3 additions & 7 deletions config/gpu_configs/gpu_aquaplanet_dyamond_summer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dt_save_state_to_disk: "Inf"
dt_save_to_sol: "Inf"
output_default_diagnostics: false
h_elem: 16
z_max: 60000.0
z_elem: 63
Expand All @@ -13,19 +12,16 @@ rad: "allskywithclear"
insolation: "timevarying"
dt_rad: "1hours"
dt_cloud_fraction: "1hours"
vert_diff: "FriersonDiffusion"
vert_diff: "DecayWithHeightDiffusion"
implicit_diffusion: true
approximate_linear_solve_iters: 2
surface_setup: "DefaultMoninObukhov"
dt: "5secs"
t_end: "30secs"
dt: "60secs"
t_end: "1hours"
toml: [toml/longrun_aquaplanet.toml]
prescribe_ozone: true
aerosol_radiation: true
prescribed_aerosols: ["CB1", "CB2", "DST01", "OC1", "OC2", "SO4", "SSLT01"]
start_date: "20160801"
initial_condition: "artifact\"DYAMOND_SUMMER_ICS_p98deg\"/DYAMOND_SUMMER_ICS_p98deg.nc"
topography: "Earth"
diagnostics:
- short_name: [ts, ta, thetaa, ha, pfull, rhoa, ua, va, wa, hur, hus, cl, clw, cli, hussfc, evspsbl, pr, rv]
period: "30secs"
6 changes: 4 additions & 2 deletions post_processing/ci_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ end

SphereOrographyPlots = Union{
Val{:sphere_baroclinic_wave_rhoe_topography_dcmip_rs},
Val{:gpu_aquaplanet_dyamond_summer},
Val{:sphere_baroclinic_wave_rhoe_hughes2023},
}

Expand Down Expand Up @@ -828,7 +827,10 @@ function make_plots(
end

function make_plots(
::Val{:sphere_aquaplanet_rhoe_equilmoist_allsky_gw_raw_zonallyasymmetric},
::Union{
Val{:sphere_aquaplanet_rhoe_equilmoist_allsky_gw_raw_zonallyasymmetric},
Val{:gpu_aquaplanet_dyamond_summer},
},
output_paths::Vector{<:AbstractString},
)
simdirs = SimDir.(output_paths)
Expand Down

0 comments on commit 699fa11

Please sign in to comment.