I’m trying to test out some code I wrote on my windows machine using WSL so I can install the hpc sdk. I think I followed the directions correctly but I’m finding some weird behaviors I can’t figure out. When I try and run code I compiled on using nvfortran it seems to be compile successfully, but trying to run it outputs this error.
0: ALLOCATE: 4 bytes requested; status = 100(no CUDA-capable device is detected)
So I tried using nvidia-smi and nvidia-smi -L and got the following outputs
nvidia-smi.exe
Sat Mar 6 20:17:03 2021 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 465.42 Driver Version: 465.42 CUDA Version: 11.3 | |-------------------------------+----------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================|
nvidia-smi.exe -L
GPU 0: GeForce GTX 1050 Ti (UUID: GPU-ea5a6452-5ba1-339b-5a3c-84a28c8ff564)
So I think it sees the GPU, but it doesn’t seem to want to run stuff on it. What should I do, and is there any other information you guys may need?