Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Sep 13, 2023
1 parent 34797d5 commit fe1ca4a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/model_configs/diagnostic_edmfx_bomex_box.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ z_elem: 60
z_max: 3e3
z_stretch: false
dt: "10secs"
t_end: "6hours"
t_end: "10secs"
dt_save_to_disk: "10mins"
3 changes: 2 additions & 1 deletion config/model_configs/sphere_baroclinic_wave_rhoe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ dt_save_to_disk: "2days"
regression_test: true
initial_condition: "DryBaroclinicWave"
dt: "580secs"
t_end: "10days"
t_end: "1days"
hyperdiff: "false"
job_id: "sphere_baroclinic_wave_rhoe"
6 changes: 3 additions & 3 deletions examples/hybrid/driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import OrderedCollections
using ClimaCoreTempestRemap
using ClimaCorePlots, Plots
using ClimaCoreMakie, CairoMakie
#if config.comms_ctx isa ClimaComms.SingletonCommsContext
# include(joinpath(pkgdir(CA), "perf", "jet_report_nfailures.jl"))
#end
if config.comms_ctx isa ClimaComms.SingletonCommsContext
include(joinpath(pkgdir(CA), "perf", "jet_report_nfailures.jl"))
end
include(joinpath(pkgdir(CA), "post_processing", "contours_and_profiles.jl"))
include(joinpath(pkgdir(CA), "post_processing", "post_processing_funcs.jl"))
include(
Expand Down
2 changes: 1 addition & 1 deletion perf/jet_report_nfailures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ t = integrator.t;
Yₜ = similar(Y);
ref_Y = similar(Y);
#! format: off
n["step!"] = @n_failures SciMLBase.step!(integrator);
#n["step!"] = @n_failures SciMLBase.step!(integrator);
n["limited_tendency!"] = @n_failures CA.limited_tendency!(Yₜ, Y, p, t);
n["horizontal_advection_tendency!"] = @n_failures CA.horizontal_advection_tendency!(Yₜ, Y, p, t);
n["horizontal_tracer_advection_tendency!"] = @n_failures CA.horizontal_tracer_advection_tendency!(Yₜ, Y, p, t);
Expand Down

0 comments on commit fe1ca4a

Please sign in to comment.