Skip to content

Switch from GNU extension usage with regular Fortran Bessel Functions.#33

Merged
qianglbl merged 1 commit intoimpact-lbl:masterfrom
hhslepicka:fix/flang-compat
Mar 10, 2025
Merged

Switch from GNU extension usage with regular Fortran Bessel Functions.#33
qianglbl merged 1 commit intoimpact-lbl:masterfrom
hhslepicka:fix/flang-compat

Conversation

@hhslepicka
Copy link
Contributor

@qianglbl We had to apply this patch to support the usage of the Flang compiler for Windows with conda-forge.

BESJ0 and other functions are GNU extensions and not part of the Fortran standard. If we replace them with the standard function it should work fine with gfortran and flang.

Reference: https://gcc.gnu.org/onlinedocs/gfortran/BESSEL_005fJ0.html

@qianglbl qianglbl merged commit 0e59717 into impact-lbl:master Mar 10, 2025
6 checks passed
@hhslepicka hhslepicka deleted the fix/flang-compat branch March 10, 2025 17:15
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.

2 participants