Skip to content

IFX bugfix (take 2): avoid Fortran module-file collision#2904

Closed
joewallwork wants to merge 8 commits into
vc/enzyme_ifxfrom
2902_bugfix-ifx-take2
Closed

IFX bugfix (take 2): avoid Fortran module-file collision#2904
joewallwork wants to merge 8 commits into
vc/enzyme_ifxfrom
2902_bugfix-ifx-take2

Conversation

@joewallwork

@joewallwork joewallwork commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Merges into #2875

Fixes IFX CI failure in enzyme/test/Fortran/ReverseMode/allocatableArraySimple_with_explicit_interface.f90 caused by a compiled module-file collision (AD.mod) under parallel test execution.

The test now uses a unique module name and matching use statement so IFX consistently resolves the correct module and avoids error #7005: Error in reading the compiled module file.

@joewallwork joewallwork self-assigned this Jun 25, 2026
@joewallwork joewallwork added bug Something isn't working CI labels Jun 25, 2026
@joewallwork joewallwork force-pushed the 2902_bugfix-ifx-take2 branch from 9033def to b1c248d Compare June 25, 2026 15:39
@joewallwork

Copy link
Copy Markdown
Collaborator Author

@copilot How to fix the error #7005: Error in reading the compiled module file. error in the CI for the enzyme/test/Fortran/ReverseMode/allocatableArraySimple_with_explicit_interface.f90 test case under the IFX compiler?

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@copilot How to fix the error #7005: Error in reading the compiled module file. error in the CI for the enzyme/test/Fortran/ReverseMode/allocatableArraySimple_with_explicit_interface.f90 test case...

#7005 here is caused by an IFX module-file collision: multiple tests were compiling module AD in parallel, so this test sometimes read another test’s AD.mod.

I fixed it by giving this test a unique module name and updating the corresponding use line in enzyme/test/Fortran/ReverseMode/allocatableArraySimple_with_explicit_interface.f90 (commit fc99eac).

That isolates the .mod artifact per test and avoids the compiled-module read error.

Copilot AI changed the title IFX bugfix (take 2) IFX bugfix (take 2): avoid Fortran module-file collision Jun 25, 2026
@joewallwork joewallwork force-pushed the 2902_bugfix-ifx-take2 branch from 45dd92f to 8bf6afe Compare June 25, 2026 16:09
@joewallwork joewallwork mentioned this pull request Jun 25, 2026
@joewallwork

Copy link
Copy Markdown
Collaborator Author

Closing as superseded by #2905.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants