I have installed the NVIDIA CUDA Toolkit version 13.0 on my Windows 11 Pro PC. The PC is an HP Z2SFF G5 Workstation with 64 GB memory and an Intel Core i7-10700 CPU @ 2904 MHz. Windows 11 is version 10.0.26100, Build 26100.
I have previously installed cupy and numba into my VS Code environment for Python development and that works just fine.
I have done a fresh install of the CUDA Toolkit version 13.0 and NVIDIA driver version 581.8 on the PC.
Commands like 'CUDADeviceCount[]', 'CUDAInformation[]' and 'CUDADriverVersio[]' all work correctly and without error.
Executing the command 'InstallCUDA[]', however, gives the error 'Failed to find CUDA libraries'.
Here's the bit of code I used for testing my installation
Needs["CUDALink`"]
InstallCUDA[]
The problem seem to be that the libraries (*.dll) are located in the folder
C:\Brogram Files\NVIDIA GPU Toolkit\CUDA\V130\bin\x64,
but Mathematica is looking for them in
C:\Brogram Files\NVIDIA GPU Toolkit\CUDA\V130\bin.
The Help for InstallCUDA[] says:
"InstallCUDA uses heuristic methods to find the CUDA toolkit on your system."
and
"InstallCUDA returns a Failure object when it can not find or load the appropriate CUDA libraries."
I was unsuccessful in trying to find what the heuristic actually does.
I tried adding the correct folder to $Path with no effect. I tried copying the contents of the x64 folder to the bin subfolder, but this created a raft of additional errors. I tried running Mathematica as both a normal user and as system administrator.
I'm sure I'm overlooking some simple solution to this issue, but will appreciate guidance from others.
Thanks Pat