ClimaCoupler.jl icon indicating copy to clipboard operation
ClimaCoupler.jl copied to clipboard

fix inference and use Base.precompile

Open juliasloan25 opened this issue 9 months ago • 0 comments

Currently, we run the coupling loop for 2 timesteps before running for the full simulation length and timing it. As part of #706, we tried to use Base.precompile instead, but this didn't increase the accuracy of the timing. This is probably because of type inference failures of solve_coupler!. We should fix the inference, then replace the initial two timesteps with Base.precompile

juliasloan25 avatar May 09 '24 19:05 juliasloan25