Skip to content

Commit c8f27ad

Browse files
run it on GPU for the moment
1 parent 9760ef8 commit c8f27ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experiments/flux_climatology/flux_climatology.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ end
147147

148148
# ...with prescribed velocity and tracer fields
149149
dataset = ECCO4Monthly()
150-
arch = CPU()
150+
arch = GPU()
151151

152152
start_date = DateTime(1992, 1, 1)
153153
end_date = DateTime(1993, 1, 1)
@@ -173,7 +173,7 @@ ocean = Simulation(ocean_model, Δt=3hours, stop_time=365days)
173173

174174
function time_step!(model::PrescribedOcean, Δt; callbacks=[], euler=true)
175175
tick!(model.clock, Δt)
176-
time = Time(model.clock.time)
176+
time = Oceananigans.Units.Time(model.clock.time)
177177

178178
possible_fts = merge(model.velocities, model.tracers)
179179
time_series_tuple = extract_field_time_series(possible_fts)

0 commit comments

Comments
 (0)