KataGo icon indicating copy to clipboard operation
KataGo copied to clipboard

Run katago.exe error on win10+CUDA11.5, compiled with VS 2019 pass

Open century3 opened this issue 2 years ago • 3 comments

image

Installed CUDA11.5 and CUDNN , using cmake-gui generated katago.sln for VS2019, image after build release x64 using vs2019, katago.exe is generated, but after I copied zip.dll, zlib.dll and msvcr110.dll to the same folder as katago.exe, and input katago.exe using command prompt , error is printed out: The application was unable to start correctly (0x000007b) . Click OK to close the application.

century3 avatar Aug 31 '22 08:08 century3

Because the err info is too poor, people can not help you. But you can search 0xc000007b on Google or Bing to solve it. Or you can try WSL2 or Docker. WSL2 is not faster than Windows, but much smoother, and it supports OpenCL, CUDA, VSCode....

HackYardo avatar Sep 09 '22 01:09 HackYardo

#611 for reference

HackYardo avatar Sep 09 '22 01:09 HackYardo

https://github.com/lightvector/KataGo/issues/583

My result is that, using cuda 11.6 + cudnn 8.2.4.15 (11.4) is fine.

Using higher version of cudnn, it can still finish compiling without error, but it would caused an exception in cudabackend.cpp when the program runs.

Above is my result half a year ago. You can try to compile with a lower version of cudnn.

sbbdms avatar Sep 09 '22 09:09 sbbdms