You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying Enzyme.API.looseTypeAnalysis!(true) does not change the error. Neither does setting the model grid or clock structs to inactive. (The changes are no longer needed in other differentiable Oceananigans scripts either.)
The text was updated successfully, but these errors were encountered:
jlk9
changed the title
Enzyme Flux BC Cannot deduce type of insertvalue ins
Oceananigans Flux BC with Enzyme Cannot deduce type of insertvalue ins
Nov 11, 2024
@jlk9 so I can't reproduce this with latest Enzyme (and hypothesize it was fixed by my improvements to type analysis I built for 1.10 [but apply to 1.11])
When I run this code (https://github.com/glwagner/Enzymanigans.jl/blob/main/dynamical_core/autodiff_double_gyre.jl) I get the error included in the attached file: fluxbcerror.txt
Commenting out the inclusion of a flux boundary condition in the model, i.e. at this line:
https://github.com/glwagner/Enzymanigans.jl/blob/c945994b0e0fca400bf3c5207d55d6862b458b7c/dynamical_core/autodiff_double_gyre.jl#L63
eliminates the error.
Specifying
Enzyme.API.looseTypeAnalysis!(true)
does not change the error. Neither does setting the model grid or clock structs to inactive. (The changes are no longer needed in other differentiable Oceananigans scripts either.)@wsmoses
The text was updated successfully, but these errors were encountered: