Closed cjliux closed 7 years ago
I am using Visual Studio Visual Studio 14 2015 Win64 as Generator, the only version of Visual Studio installed on my computer.The only change of entris is setting CMAKE_INSTALL_PREFIX=E:/ProgramData/Anaconda2/pkgs/libgpuarray/lib. This is queer.
Try using the prebuilt conda pacakges with conda install -c rdonnelly pygpu
.
I tried that and it turned out not working. Here's the error message that I got:
ERROR (theano.sandbox.gpuarray): Could not initialize pygpu, support disabled
Traceback (most recent call last):
File "E:\ProgramData\Anaconda2\lib\site-packages\theano\sandbox\gpuarray__init__.py", line 95, in pip install theano
.And by the way, I am using CUDA8.0 and VS 2015. How can I solve the problem?
If you want to use the new backend you should use the development version of Theano. There has been a mountain of fixes since then.
Thank you very much! It's almost working now, but the Theano-0.9.0b1 seems unable to detect cuDNN 5.1 on windows 10. Every time I import theano in ipython, it prompts the following message even though cuDNN.h is actually present in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include
:
Can not use cuDNN on context None: cannot compile with cuDNN. We got this error:
c:\users\asus\appdata\local\temp\try_flags__mo4tn.c:4:19: fatal error: cudnn.h: No such file or directory
compilation terminated.
You probably need to specify the dnn library and include paths with the Theano flags options dnn.include_path
and dnn.library_path
. Note that to make this work correctly you have to use the latest git master since there have been some fixes related to spaces in paths after 0.9.0beta1
The error message is as follow: CMake Error at CMakeLists.txt:85 (add_library): Cannot find source file:
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: CMake can not determine linker language for target: gpuarray CMake Error: CMake can not determine linker language for target: gpuarray-static
Does any one know why that happened?