Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
LenkaNovak committed May 2, 2024
1 parent 69d38a3 commit 4fa6660
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion experiments/AMIP/coupler_driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,9 @@ if ClimaComms.iamroot(comms_ctx)
end

## plot all model states and coupler fields (useful for debugging) TODO: make MPI & GPU compatible
comms_ctx isa ClimaComms.SingletonCommsContext && debug(cs, joinpath(COUPLER_ARTIFACTS_DIR, "end_"))
comms_ctx.device == ClimaComms.CPUSingleThreaded() &&
comms_ctx isa ClimaComms.SingletonCommsContext &&
debug(cs, joinpath(COUPLER_ARTIFACTS_DIR, "end_"))

if isinteractive()
## clean up for interactive runs, retain all output otherwise
Expand Down

0 comments on commit 4fa6660

Please sign in to comment.