-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in differentiating inv
(matrix) with LAPACK function getrf!
#2260
Comments
Output of the MWE:
|
@michel2323 would you be able to look into adding an EnzymeRule for matrix inv? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using Trixi.jl with Enzyme.jl's automatic differentiation, I encountered an error with LAPACK's
getrf!
function:The error occurs in the following function from Trixi.jl (src/solvers/dgsem/basis_lobatto_legendre.jl:771): junyixu/TrixiEnzyme.jl#1 (comment)
I've distilled the problem into a minimal working example:
MWE
Environment
I noticed a similar discussion in #1820 about LAPACK functions. Would defining custom Enzyme rules be a solution here, or are there other recommended approaches for handling LAPACK functions in automatic differentiation?
The text was updated successfully, but these errors were encountered: