Enzyme.jl
Enzyme.jl copied to clipboard
Oceananigans AssertionError with vector-valued FluxBC
Running this code: https://github.com/DJ4Earth/Enzymanigans.jl/tree/jlk9/with-simulation
Produces this AssertionError:
This is related to using vector-valued FluxBoundaryCondition set at lines 78-80. Previous versions of this script used a function for the top Flux BC.
@wsmoses
A reduced script reproducing the error can be found here:
https://github.com/DJ4Earth/Enzymanigans.jl/blob/jlk9/reduce-for-active-arg-0122/dynamical_core/autodiff_double_gyre.jl
Oceananigans has been eliminated from the above script. It now replicates the AssertionError with Enzyme as its only dependency.