Skip to content
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

Ensuring Fortran modules do not end up at GCCcore #19287

Closed
ocaisa opened this issue Nov 22, 2023 · 5 comments
Closed

Ensuring Fortran modules do not end up at GCCcore #19287

ocaisa opened this issue Nov 22, 2023 · 5 comments
Milestone

Comments

@ocaisa
Copy link
Member

ocaisa commented Nov 22, 2023

There's currently no check to ensure that Fortran modules do not end up at GCCcore level. It's a tricky one to catch as the builds have no problem. Can we implement something in CI to help with this?

Fixes are tedious and quite intrusive: see #19283

@branfosj
Copy link
Member

See my (limited) notes in easybuilders/easybuild-framework#4203

@ocaisa
Copy link
Member Author

ocaisa commented Nov 22, 2023

Perhaps this is something we can fix at a framework level by shadowing gfortran with something that prints something useful and exits with an error.

@ocaisa
Copy link
Member Author

ocaisa commented Nov 22, 2023

Wrapping the compiler is perhaps too aggressive, I think I probably agree with @branfosj that we should search for .mod files.

@boegel boegel added this to the 4.x milestone Nov 22, 2023
@branfosj
Copy link
Member

branfosj commented Mar 3, 2024

See easybuilders/easybuild-framework#4389

@ocaisa
Copy link
Member Author

ocaisa commented Mar 3, 2024

Fix is in for 5.0

@ocaisa ocaisa closed this as completed Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants