I recently installed a new RTX 4090, and for some reason my code is not working correctly on the new GPU. It works fine on other GPUs. I am running the SDK 24.5 with CUDA 12.4.
I thought that the issue might be that I wasn’t allocating my arrays on the correct GPU, but as far as I can tell, its not the case…
Anyone run into issues like this?
Hi Kirk,
What’s not working? Is the code getting incorrect results, crashing, some other error?
I know of one open issue on Ada devices when using “-gpu=cc89” or “-gpu=ccall” when the run might abort saying it can’t find a binary for this target. We have a fix in place for this, but it was too late for 24.5. Assuming testing goes well, it will be in 24.7. The work around is to remove the -gpu=ccXX flag and let the compiler auto-detect the device.
Other than that, I’d look to configuration issues like ensuring the all objects in the project were rebuilt and the LD_LIBRARY_PATH isn’t pointing to an older set of our runtime libraries.
-Mat
Hi Mat,
It was a while ago, but you may remember that we had a similar issue getting the neighbor search algorithm to work. At that time, the problem seemed to be with the compiler optimizing out something in the subroutine and we got around it by using !PGI OPT 1. The behavior is similar now (the material points have no neighbors). However, the difference is that the behavior is only on the 4090.
Doubtful but possibly it’s related to to the cc setting issue on Ada. Can you resend me SPH? Looks like I deleted at some point.
With your permission, I should also add it to our QA system so we don’t break things in the future. Probably something I should have done long ago.
Is the “OPT 1” for the error you reported back in PGI 15.3? Looking at the bug report for it, I closed it back in 2016 as “fixed” but didn’t note that I notified you so not sure I did. (apologies if it didn’t). If so, then you might check if it’s resolved. If it’s still a problem, then I’ll take a look at that as well.
-Mat
In any case, the SPH code has changed a fair amount since then. Could I send you the code via email? If yes, let me know where to send it.
Yes the OPT 1 was related to PGI 15.3 (on windows).
Email works for me assuming it’s small enough to send as an attachment.
Otherwise, have a Google Drive I can open for you to post.