Skip to content

Bring better Fortran TKR support in 4.1 #13245

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

Open
wants to merge 5 commits into
base: v4.1.x
Choose a base branch
from

Conversation

bosilca
Copy link
Member

@bosilca bosilca commented May 9, 2025

This PR updates the 4.1 with #12512 and some parts of 30eb36f and b6017d2.

bot:notacherrypick

ggouaillardet and others added 5 commits May 9, 2025 16:39
as reported in open-mpi#12506, upcoming LLVM 19 can generate some
false positive that will make the mpi Fortran modules unusable.
Harden the test by using a module in order to fix that.

Thanks Paul Osmialowski for bringing this to our attention.

Signed-off-by: Gilles Gouaillardet <[email protected]>
(cherry picked from commit 8c601e1)
Try the !DIR$ IGNORE_TKR directive and the type(*)
type in order to support upcoming LLVM 19 flang compiler.

Thanks Paul Osmialowski for the report and suggesting the solution.

Signed-off-by: Gilles Gouaillardet <[email protected]>
(cherry picked from commit 0bc995f)
LLVM 18 supports the ASYNCHRONOUS keyword in an interface,
but not in a subroutine (!) so test both in order to avoid
a false positive that will lead to compilation failure.

Signed-off-by: Gilles Gouaillardet <[email protected]>
NVIDIA HPC Compiler (e.g. nvfortran) incorrectly selected the GCC
style pragmas to support IGNORE_TKR. Harden the test by mimicking
exactly the mpi f08 bindings in order to fix that false positive.

Thanks Chris Parrot for the report.

Refs. open-mpi#11582

Signed-off-by: Gilles Gouaillardet <[email protected]>
(cherry picked from commit 600df6a)
Signed-off-by: George Bosilca <[email protected]>
@bosilca bosilca added this to the v4.1.9 milestone May 9, 2025
@bosilca bosilca requested a review from janjust May 9, 2025 21:05
@bosilca bosilca added the bug label May 9, 2025
@open-mpi open-mpi deleted a comment from github-actions bot May 9, 2025
@janjust
Copy link
Contributor

janjust commented May 9, 2025

bot:retest

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

Successfully merging this pull request may close these issues.

3 participants