Skip to content

Commit

Permalink
revising
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Jun 20, 2024
1 parent 818ed4b commit 2d5c312
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions experiments/benchmarks/land.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# # Global run of land model

# The code sets up and runs the soil/canopy model for 6 hours on a spherical domain,
# The code sets up and runs the soil/canopy model for 8 hours on a spherical domain,
# using ERA5 data. In this simulation, we have
# turned lateral flow off because horizontal boundary conditions and the
# land/sea mask are not yet supported by ClimaCore.
Expand All @@ -14,7 +14,7 @@
# Simulation Setup
# Number of spatial elements: 101 in horizontal, 15 in vertical
# Soil depth: 50 m
# Simulation duration: 6 hours
# Simulation duration: 8 hours
# Timestep: 180 s
# Timestepper: ARS343
# Maximum iterations: 1
Expand Down Expand Up @@ -579,7 +579,7 @@ function setup_and_solve_problem(; greet = false)
# We profile the setup phase as well here. This is not intended, but it is the easiest
# to set up for both CPU/GPU at the same time
t0 = 0.0
tf = 60 * 60.0 * 6
tf = 60 * 60.0 * 8
Δt = 180.0
nelements = (101, 15)
if greet
Expand Down
2 changes: 1 addition & 1 deletion experiments/integrated/global/global_soil_canopy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ cb = SciMLBase.CallbackSet(driver_cb, saving_cb)
saveat = saveat,
)

if context.device isa ClimaComms.CPUSingleThreaded
if device_suffix == "cpu"
longpts = range(-180.0, 180.0, 101)
latpts = range(-90.0, 90.0, 101)
hcoords = [
Expand Down

0 comments on commit 2d5c312

Please sign in to comment.