From 7b77019e0e0dcbf14968ad94c8ef134707be34c2 Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Mon, 31 Jul 2023 23:15:22 -0700 Subject: [PATCH 1/2] Error on NaNs in driver solution --- examples/hybrid/driver.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/hybrid/driver.jl b/examples/hybrid/driver.jl index 6da22f75b4..8e8f423eac 100644 --- a/examples/hybrid/driver.jl +++ b/examples/hybrid/driver.jl @@ -178,6 +178,7 @@ end @info "on a vertical $z_stretch_string grid" walltime = @elapsed sol = OrdinaryDiffEq.solve!(integrator) +any(isnan, sol.u[end]) && error("NaNs found in result.") if is_distributed # replace sol.u on the root processor with the global sol.u if ClimaComms.iamroot(comms_ctx) From 30b39e7fc4afd473a2d639f469c8b3bbc185daa2 Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Wed, 2 Aug 2023 08:30:04 -0700 Subject: [PATCH 2/2] Soft fail on dry HS rhoe --- .buildkite/pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 3bc000fb94..5eca154b84 100755 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1255,6 +1255,7 @@ steps: - "examples/hybrid/sphere/output/held_suarez_rhoe/Float32/*" env: TEST_NAME: "sphere/held_suarez_rhoe" + soft_fail: true - label: ":computer: Float64 3D sphere dry Held-Suarez (ρθ)" key: "cpu_held_suarez_rho_theta_float64"