Differentiable Fortran with LFortran and Enzyme

dionhaefner · hn · 2026-07-14

This article explores how to combine LFortran and Enzyme for automatic differentiation (autodiff) in Fortran.

The focus here isn't on "new models," but rather on how toolchains can give legacy Fortran code differentiable capabilities, making it easier to retain existing code assets for scientific computing, numerical optimization, and high-performance computing.

Original post →

More from Research

Research channel →