Skip to content

Commit

Permalink
configury: harden IGNORE_TKR check
Browse files Browse the repository at this point in the history
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. #11582

Signed-off-by: Gilles Gouaillardet <[email protected]>
(cherry picked from commit 600df6a)
  • Loading branch information
ggouaillardet committed Jul 24, 2024
1 parent ca64c52 commit c1caefb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/ompi_fortran_check_ignore_tkr.m4
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB], [
end subroutine force_assumed_shape

module check_ignore_tkr
interface
subroutine foobar(buffer, count)
interface foobar
subroutine foobar_x(buffer, count)
$1 buffer
$2, intent(in) :: buffer
integer, intent(in) :: count
end subroutine foobar
end subroutine foobar_x
end interface
end module

Expand Down

0 comments on commit c1caefb

Please sign in to comment.