Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Sep 27, 2023
1 parent 89daffb commit 50dde93
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ steps:
- label: ":rocket: JET n-failures (inference)"
command: >
julia --color=yes --project=perf perf/jet_test_nfailures.jl
sphere_baroclinic_wave_rhoe_equilmoist_edmf jet_n_failures
jet_n_failures
agents:
slurm_mem: 20GB

Expand Down
5 changes: 1 addition & 4 deletions perf/benchmark.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import ClimaAtmos as CA
include("common.jl")

target_job = ARGS[1]
job_id = get(ARGS, 2, nothing)
if isnothing(job_id)
job_id = target_job
end
job_id = get(ARGS, 2, target_job)

config_dict =
target_job != "default" ? CA.config_from_target_job(target_job) :
Expand Down
2 changes: 0 additions & 2 deletions perf/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ function AtmosCoveragePerfConfig(; config_dict = CA.default_config_dict())
config_dict["precip_model"] = nothing
config_dict["rad"] = nothing
config_dict["apply_limiter"] = false
@show config_dict["job_id"]
end
@show config_dict
return CA.AtmosConfig(config_dict)
end

Expand Down
5 changes: 1 addition & 4 deletions perf/flame.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import ClimaAtmos as CA
include("common.jl")

target_job = ARGS[1]
job_id = get(ARGS, 2, nothing)
if isnothing(job_id)
job_id = target_job
end
job_id = get(ARGS, 2, target_job)

config_dict =
target_job != "default" ? CA.config_from_target_job(target_job) :
Expand Down
6 changes: 2 additions & 4 deletions perf/jet_test_nfailures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import ClimaAtmos as CA
include("common.jl")

target_job = ARGS[1]
job_id = get(ARGS, 2, nothing)
if isnothing(job_id)
job_id = target_job
end
job_id = get(ARGS, 2, target_job)

config_dict =
target_job != "default" ? CA.config_from_target_job(target_job) :
Expand Down Expand Up @@ -38,6 +35,7 @@ using Test
# we have introduced an inference failure. We hope to drive
# this number down to 0.
n_allowed_failures = 680
@show n
@test n n_allowed_failures
if n < n_allowed_failures
@info "Please update the n-failures to $n"
Expand Down

0 comments on commit 50dde93

Please sign in to comment.