Hi,
I've the same problem, and same error messages and warnings
Have you resolved it?
Thanks in advance,
El domingo, 4 de diciembre de 2016, 14:43:39 (UTC+1), sagar escribió:
>
> Hi,
>
> While I was importing theano into python I was facing this issues.Please
> help me fix this issue, thanks in advance.
>
> *Error Message:*
>
> mod.cu(803): warning C4311: 'type cast': pointer truncation from
> 'CudaNdarray *' to 'long'
> mod.cu(3373): warning C4312: 'type cast': conversion from 'long' to
> 'float *' of greater size
> *LINK : fatal error LNK1104: cannot open file 'uuid.lib'*
>
> ['nvcc', '-shared', '-O3', '--compiler-bindir', 'C:\\Program Files
> (x86)\\Microsoft Visual Studio 14.0\\VC\\bin', '-Xlinker', '/DEBUG', '-D
> HAVE_ROUND', '-m64', '-Xcompiler',
> '-D_FORCE_INLINES,-DCUDA_NDARRAY_CUH=18715462c72ed6afcd7ca5d52813ce90,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD',
>
> '-I"C:\\Users\\Sagar\\Anaconda2\\lib\\site-packages\\theano\\sandbox\\cuda"',
> '-I"C:\\Users\\Sagar\\Anaconda2\\lib\\site-packages\\numpy\\core\\include"',
> '-I"C:\\Users\\Sagar\\Anaconda2\\include"',
> '-I"C:\\Users\\Sagar\\Anaconda2\\lib\\site-packages\\theano\\gof"',
> '-L"C:\\Users\\Sagar\\Anaconda2\\libs"', '-L"C:\\Users\\Sagar\\Anaconda2"',
> '-o',
> 'C:\\Users\\Sagar\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_42_Stepping_7_GenuineIntel-2.7.12-64\\cuda_ndarray\\cuda_ndarray.pyd',
>
> 'mod.cu', '-lcublas', '-lpython27', '-lcudart']
> ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc
> return status', 2, 'for cmd', 'nvcc -shared -O3 --compiler-bindir
> C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin -Xlinker
> /DEBUG -D HAVE_ROUND -m64 -Xcompiler
> -D_FORCE_INLINES,-DCUDA_NDARRAY_CUH=18715462c72ed6afcd7ca5d52813ce90,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD
>
> -I"C:\\Users\\Sagar\\Anaconda2\\lib\\site-packages\\theano\\sandbox\\cuda"
> -I"C:\\Users\\Sagar\\Anaconda2\\lib\\site-packages\\numpy\\core\\include"
> -I"C:\\Users\\Sagar\\Anaconda2\\include"
> -I"C:\\Users\\Sagar\\Anaconda2\\lib\\site-packages\\theano\\gof"
> -L"C:\\Users\\Sagar\\Anaconda2\\libs" -L"C:\\Users\\Sagar\\Anaconda2" -o
> C:\\Users\\Sagar\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_42_Stepping_7_GenuineIntel-2.7.12-64\\cuda_ndarray\\cuda_ndarray.pyd
>
> mod.cu -lcublas -lpython27 -lcudart')
> *WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is not
> available (error: cuda unavailable)*
>
>
> Further Details:
>
>
>
> *theanorc.txt:*[global]
> base_compilerdir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
> openmp=False
> floatX = float32
> device = gpu
>
> [nvcc]
> flags=-LC:\Users\Sagar\Anaconda2\libs
> flags=-D_FORCE_INLINES
> compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
>
> [blas]
> ldflags =
>
>
> [cuda]
> C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
>
>
> *NVCC version details:*
>
> nvcc: NVIDIA (R) Cuda compiler driver
> Copyright (c) 2005-2016 NVIDIA Corporation
> Built on Sat_Sep__3_19:05:48_CDT_2016
> Cuda compilation tools, release 8.0, V8.0.44
>
>
> Visual Studio details:
>
> *Installed Microsoft Visual Studio 14.0*
>
> GPU : *Nvidia geforce GT 525M *
>
> Thanks,
> Sagar.
>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.