-
Notifications
You must be signed in to change notification settings - Fork 31
fix nvhpc 25.9 compilation #54
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sharing. Surprising that the interface for the procedure pointer inside the type needs to be visible in the abstract interface, it seems to break the encapsulation the derived type should provide. Fine with including this if it makes test-drive available with nvfortran.
It also took me by surprise. I've logged a ticket with nvidia since it might be a bug on their side and we'll need to revert this later. I can leave a comment in the code for this |
Could it be encapsulated in a CPP directive: import ...
#ifdef __NVCOMPILER
import ...
#endif
.... |
See: 81e0bb4 |
Bug report has been filed with nvidia :) they've picked it up. |
The CI appears to be dead |
This fixes compiling test-drive with nvfortran 25.9. This seems to be like a compiler bug, I will create an MRE and report