EnzymeAD / EnzymeAD/Enzyme-JAX

ERROR: LoadError: "failed to run pass manager on module" on Reactant script with Oceananigans

Open
#578 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
MLIR
Stars
131
Forks
53
Avg merge
1d 10h
Merged PRs (30d)
193

Description

Running this script:
[https://github.com/DJ4Earth/Enzymanigans.jl/blob/jlk9/with-simulation/dynamical_core/autodiff_double_gyre_reactant.jl](https://github.com/DJ4Earth/Enzymanigans.jl/blob/jlk9/with-simulation/dynamical_core/autodiff_double_gyre_reactant.jl)

Produces this error:

[error_0331.txt](https://github.com/user-attachments/files/19539756/error_0331.txt)

Which includes this file printed to disk:

[printed_file.tar.gz](https://github.com/user-attachments/files/19539810/printed_file.tar.gz)

@wsmoses

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Enzymanigans.jl script at with-simulation/dynamical_core/autodiff_double_gyre_reactant.jl and reproduce the LoadError involving the Reactant pass manager. Inspect error_0331.txt and printed_file.tar.gz to identify where the failure occurs. Done means the script runs without this pass-manager error and the behavior is validated against the supplied reproducer.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.