-
Notifications
You must be signed in to change notification settings - Fork 137
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
dmUpdate: fix nvhpc compile error #1473
Conversation
exchange/xgrid.F90
Outdated
! nvhpc compiler workaround | ||
! saves passed in xmap as an allocatable | ||
! this lets us use a normal assignment instead of a pointer assignment in the loop to avoid a compiler error |
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.
Do we need to report this to nvidia?
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.
Let's make sure we have tested using the very latest nvhpc 24.3 before filing a bug with NVidia.
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.
The xgrid compilation error was pretty hard to reproduce, Niki first saw this using 22.3 and I've only been able to get the error using his xml to compile. I don't seem to get the error when i compile with autotools, and didn't even get it when i tried compiling one of my xml's with nvidia.
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.
We can get the makefile and everything else needed and send it to them
Description
Fixes a nvidia compilation error coming from the diag_manager updates. I missed this one in PR #1463 because i was only using autotools. Interestingly this error seems to only happen with mkmf, even if i use the same target flags for autotools.
Just adds a nested select type for when assigning a class(*) field to a character variable.
How Has This Been Tested?
mkmf on gaea with nvhpc/22.3, autotools build on amd with nvhpc/23.11
Checklist:
make distcheck
passes