Closed aerickso closed 1 year ago
@aerickso This is a known bug in the linker (binutils
to be precise) that you are using and, yes, you did indeed link the upstream issue which is also includes the solution, i.e., you need to use pacman
to upgrade binutils
to the latest version which doesn't have the bug (you can try pacman -Syu
to upgrade your entire toolchain). This is not really related to OpenCL itself, it's just a combination of the vendor's DLLs and the linker used.
FWIW msys2 just released binutils 2.41 so the fix is now in the released version (no need to use patches). Short story: if you have binutils 2.40 it is buggy and needs to be upgraded.
Hi!
Thank you for responding to my previous issue.
I came back today to try again to install OpenCL.
As before: I'm a primary R user, and I would like to try GPU Parallelization for matrix calculations using an R front end with OpenCL. I have a Windows 11 PC, with a NVIDIA RTX 2070 Super GPU. I've performed steps 0-3 from here, eg, installation of updated drivers, CUDA.
I followed the updated INSTALL documentation.
Specifically I have:
I can confirm that OpenCL.lib is located at "~/CUDA/v12.1/lib/x64/OpenCL.lib"
To implement the above I run the following, but am now presented with the following error output.
If I'm interpreting the above correctly, it seems that I've configured OpenCL correctly, but there is an installation/build issue..? I updated RTools to RTools 4.3. Unsure if this issue may be related to the one here ?
After spending another couple of hours trying to parse these error messages, I still have not managed to successfully install OpenCL. I'm open minded and flexible how to proceed; would love a solution that "just works"! I can't imagine that I'm the only end user experience these installation issues.
Happy to provide further information, thanks for your help in advance.
Session info output if needed: