diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 66534f57757..0e2eb0bcc18 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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 diff --git a/perf/benchmark.jl b/perf/benchmark.jl index 0347875d008..ec51df1aeb3 100644 --- a/perf/benchmark.jl +++ b/perf/benchmark.jl @@ -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) : diff --git a/perf/common.jl b/perf/common.jl index 3fc35a6f728..0be9f0be9ae 100644 --- a/perf/common.jl +++ b/perf/common.jl @@ -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 diff --git a/perf/flame.jl b/perf/flame.jl index 523aad5d8bf..da234446075 100644 --- a/perf/flame.jl +++ b/perf/flame.jl @@ -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) : diff --git a/perf/jet_test_nfailures.jl b/perf/jet_test_nfailures.jl index 29f7e56b008..ba8ba52a8a1 100644 --- a/perf/jet_test_nfailures.jl +++ b/perf/jet_test_nfailures.jl @@ -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) : @@ -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"