Page 1 of 1

Error loading CUDA module: CUDA_ERROR_FILE_NOT_FOUND

Posted: Fri Oct 09, 2020 6:31 pm
by vitalis
Hello F@H forumers,

I have been troubled with the CUDA support of F@H on my GTX1650 SUPER gpu. I 've tried installing latest drivers, latest CUDA toolkit, running FAHControl with root privilege and adding CUDA toolkit environment path variables but i still get an error. However the app sees the device as cuda capable which to my understanding is kind of weird...

Code: Select all

18:12:39:WU02:FS01:0x22:There are 4 platforms available.
18:12:39:WU02:FS01:0x22:Platform 0: Reference
18:12:39:WU02:FS01:0x22:Platform 1: CPU
18:12:39:WU02:FS01:0x22:Platform 2: OpenCL
18:12:39:WU02:FS01:0x22:  opencl-device 0 specified
18:12:39:WU02:FS01:0x22:Platform 3: CUDA
18:12:39:WU02:FS01:0x22:  cuda-device 0 specified
18:12:56:WU02:FS01:0x22:Attempting to create CUDA context:
18:12:56:WU02:FS01:0x22:  Configuring platform CUDA
18:12:58:WU02:FS01:0x22:Failed to create CUDA context:
18:12:58:WU02:FS01:0x22:Error loading CUDA module: CUDA_ERROR_FILE_NOT_FOUND (301)
18:12:58:WU02:FS01:0x22:Attempting to create OpenCL context:
18:12:58:WU02:FS01:0x22:  Configuring platform OpenCL
18:13:13:WU02:FS01:0x22:  Using OpenCL on platformId 0 and gpu 0
Any suggestions?

Re: Error loading CUDA module: CUDA_ERROR_FILE_NOT_FOUND

Posted: Sat Oct 10, 2020 12:06 pm
by bruce
FAHCore_22 brings segments of the CUDA runtime code so that every client doesn't have to install their own toolkit. Development is working on a fix which will probably be incorporated in the next revision of FAHCore_22.

I think the problem is associated with your SDK being a different version than the one utilized by FAHCore_22. If you're NOT a developer and don't need the SDK, uninstall it. If you do need it for non-FAH activites you'll have to wait for the revised FAHCore or somehow manage the env variables to manage the version discrepancies.