From 153045178aecd6a395bda5a1bf4f57dc53d9ed21 Mon Sep 17 00:00:00 2001 From: Jorge Date: Wed, 8 Oct 2025 16:02:07 -0500 Subject: [PATCH 1/2] fix nvhpc 25.9 compilation --- src/testdrive.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testdrive.F90 b/src/testdrive.F90 index f84bb85..e45576f 100644 --- a/src/testdrive.F90 +++ b/src/testdrive.F90 @@ -285,7 +285,7 @@ end subroutine test_interface abstract interface !> Collect all tests subroutine collect_interface(testsuite) - import :: unittest_type + import :: unittest_type, test_interface !> Collection of tests type(unittest_type), allocatable, intent(out) :: testsuite(:) From 81e0bb47d8df04edbf662fbb40d300f10780ed6b Mon Sep 17 00:00:00 2001 From: Jorge Date: Thu, 9 Oct 2025 01:00:18 -0500 Subject: [PATCH 2/2] add ifdef and comment --- src/testdrive.F90 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/testdrive.F90 b/src/testdrive.F90 index e45576f..3e1d3e4 100644 --- a/src/testdrive.F90 +++ b/src/testdrive.F90 @@ -285,7 +285,12 @@ end subroutine test_interface abstract interface !> Collect all tests subroutine collect_interface(testsuite) +#ifdef __NVCOMPILER_LLVM__ + ! this is only an issue with nvhpc 25.9, possibly a bug in the compiler ! verify in next release import :: unittest_type, test_interface +#else + import :: unittest_type +#endif !> Collection of tests type(unittest_type), allocatable, intent(out) :: testsuite(:)