Skip to content

add complex return detection for nvfortran#765

Merged
devinamatthews merged 3 commits intoflame:masterfrom
jeffhammond:complex-return-nvfortran
Nov 29, 2024
Merged

add complex return detection for nvfortran#765
devinamatthews merged 3 commits intoflame:masterfrom
jeffhammond:complex-return-nvfortran

Conversation

@jeffhammond
Copy link
Copy Markdown
Member

historically, PGI->NVHPC Fortran has used the Intel convention. this is true on x86_64 and ppc64le, and has been true on aarch64. however, starting with the 23.9 release, on the aarch64 platform, nvfortran will switch to the gfortran convention.

this patch adds the appropriate logic to configure. this patch has not been tested at all. i am relying on CI for that.

sort of related to #433

jeffhammond and others added 3 commits August 8, 2023 17:30
historically, PGI->NVHPC Fortran has used the Intel convention.
this is true on x86_64 and ppc64le, and has been true on aarch64.
however, starting with the 23.9 release, on the aarch64 platform,
nvfortran will switch to the gfortran convention.

this patch adds the appropriate logic to configure.
this patch has not been tested at all.  i am relying on CI for that.

Signed-off-by: Jeff Hammond <jehammond@nvidia.com>
@fgvanzee
Copy link
Copy Markdown
Member

@jeffhammond Let me know when you feel good about calling this PR done, and I'll merge.

@jeffhammond
Copy link
Copy Markdown
Member Author

I need to test a few places and haven't had time but I'll let you know when it's validated everywhere relevant.

@devinamatthews
Copy link
Copy Markdown
Member

@jeffhammond any update on this?

@jeffhammond
Copy link
Copy Markdown
Member Author

thanks for the reminder. i do not remember what i did so i'll have to try again.

@devinamatthews devinamatthews self-assigned this Nov 3, 2024
@devinamatthews devinamatthews merged commit 12f2efa into flame:master Nov 29, 2024
devinamatthews pushed a commit that referenced this pull request Jun 25, 2025
Details:
- Search for Intel ifx and NVIDIA/PGI Fortran compilers.
- Correctly determine the Fortran compiler vendor for Intel ifx and NVIDIA/PGI compilers.
- Determine the compiler version and correct Fortran complex return type for NVIDIA/PGI.

(cherry picked from commit 12f2efa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants