Skip to content

Commit

Permalink
enforce no anims on GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed May 23, 2024
1 parent 2a525bd commit cc32cb2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions experiments/ClimaEarth/run_amip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ then `ClimaComms` automatically selects the device from which this code is calle
comms_ctx = Utilities.get_comms_context(parsed_args)
ClimaComms.init(comms_ctx)

## make sure we don't use animations for GPU runs
if comms_ctx.device isa ClimaComms.CUDADevice
config_dict["anim"] = false
end

#=
### I/O Directory Setup
`setup_output_dirs` returns `dir_paths.output = COUPLER_OUTPUT_DIR`, which is the directory where the output of the simulation will be saved, and `dir_paths.artifacts` is the directory where
Expand Down

0 comments on commit cc32cb2

Please sign in to comment.