Skip to content

Commit

Permalink
truncate stacktraces
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Jan 22, 2024
1 parent e4ca35d commit 473f747
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions experiments/AMIP/coupler_driver.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# When Julia 1.10+ is used interactively, stacktraces contain reduced type information to make them shorter.
# On the other hand, the full type information is printed when julia is not run interactively.
# Given that ClimaCore objects are heavily parametrized, non-abbreviated stacktraces are hard to read,
# so we force abbreviated stacktraces even in non-interactive runs.
# (See also Base.type_limited_string_from_context())
redirect_stderr(IOContext(stderr, :stacktrace_types_limited => Ref(false)))

include("mpi/mpi_init.jl") # setup MPI context for distributed runs #hide

# # AMIP Driver
Expand Down

0 comments on commit 473f747

Please sign in to comment.