Skip to content

Commit

Permalink
Merge #1318
Browse files Browse the repository at this point in the history
1318: Fix parsing bug in 3d rising bubble driver. r=sriharshakandala a=sriharshakandala



Co-authored-by: sriharshakandala <sriharsha.kvs@gmail.com>
  • Loading branch information
bors[bot] and sriharshakandala authored Jun 13, 2023
2 parents 7fab905 + f157ef8 commit 8e77c96
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,14 @@ steps:
agents:
slurm_gpus: 1

- label: ":flower_playing_cards: Rising Bubble 3D hybrid invariant (ρe), custom resolution"
key: "gpu_rising_bubble_3d_hybrid_invariant_rhoe_custom"
command:
- "nsys profile --trace=nvtx,cuda --output=output/$$BUILDKITE_STEP_KEY/report julia --color=yes --project=examples examples/hybrid/box/bubble_3d_invariant_rhoe.jl Float64 custom 1000 1000 4 16 3 0.05 700.0"
artifact_paths:
- "examples/hybrid/box/output/gpu_bubble_3d_invariant_rhoe_custom/*"
agents:
slurm_gpus: 1

- label: ":computer: Density current 2D hybrid invariant total energy"
key: "cpu_density_current_2d_hybrid_invariant_total_energy"
Expand Down
14 changes: 7 additions & 7 deletions examples/hybrid/box/bubble_3d_invariant_rhoe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -358,13 +358,13 @@ function bubble_3d_invariant_ρe(ARGS, comms_ctx, ::Type{FT}) where {FT}
resolution = get(ARGS, 2, "low")
if resolution == "custom"
args = (
FT(get(ARGS, 3, 1000)),
FT(get(ARGS, 4, 1000)),
get(ARGS, 5, 4),
get(ARGS, 6, 16),
get(ARGS, 7, 3),
FT(get(ARGS, 8, 0.05)),
FT(get(ARGS, 9, 700.0)),
parse(FT, get(ARGS, 3, "1000")),
parse(FT, get(ARGS, 4, "1000")),
parse(Int, get(ARGS, 5, "4")),
parse(Int, get(ARGS, 6, "16")),
parse(Int, get(ARGS, 7, "3")),
parse(FT, get(ARGS, 8, "0.05")),
parse(FT, get(ARGS, 9, "700.0")),
)
else
args = ()
Expand Down

0 comments on commit 8e77c96

Please sign in to comment.