I try the command line but the error exists;  the trick is confusing; I 
install theano multiple times. This's first time to have this error, May 
the cuda not config properly? But I can run theano before and run 
tensorflow on this server.

在 2017年3月14日星期二 UTC+8下午10:22:26,nouiz写道:
>
> The command is: conda install -c rdonnelly theano
>
> On Mon, Mar 13, 2017 at 5:42 PM Frédéric Bastien <[email protected] 
> <javascript:>> wrote:
>
>> Try Theano beta conda package
>>
>> Conda install -r raydonelly Theano
>>
>> From memory, I'm offline. If that don't work, look in Theano issues I 
>> give the good commande line.
>>
>> Fred
>>
>> Le ven. 10 mars 2017 22:01, 李奕 <[email protected] <javascript:>> a 
>> écrit :
>>
>>> Thanks, I use anaconda, So what to do next to slove this problem ?
>>>
>>> 在 2017年3月3日星期五 UTC+8下午9:46:18,nouiz写道:
>>>>
>>>> How did you get Python? If you compiled it yourself, you missed a 
>>>> compilation option. I have a stack overflow answer to that. Search for 
>>>> fPIC 
>>>> and Theano.
>>>>
>>>> Fred
>>>>
>>>> Le mar. 28 févr. 2017 23:23, 李奕 <[email protected]> a écrit :
>>>>
>>> Thanks, very much. Actually In my anaconda version, theano + 
>>>>> gpu(cuda8.0) + python3.5 is OK, I want to install in virtual environments.
>>>>> In virtual envirment, I run "pip install --upgrade --no-deps 
>>>>> git+git://github.com/Theano/Theano.git" to install the newest version;
>>>>> But when I run import theano, the errors(unknown option 'fPIC') 
>>>>> exists. 
>>>>> My environment is conda(virtualenv)'s virtual environment python2, So 
>>>>> I wonder whether the virtual environments has effect on theano? Thanks.
>>>>>
>>>>> 在 2017年2月28日星期二 UTC+8下午9:47:41,Ankit Shah写道:
>>>>>
>>>>>> This is an error related to conversion of floating point number 
>>>>>> approximation. Use latest version of theano and keras [if using] there 
>>>>>> is a 
>>>>>> fix provided 
>>>>>>
>>>>>> On Tuesday, February 28, 2017 at 11:55:06 AM UTC+5:30, 李奕 wrote:
>>>>>>>
>>>>>>> Hello, 
>>>>>>>
>>>>>>> when I run import theano, the error is:
>>>>>>> ['nvcc', '-shared', '-O3', '-use_fast_math', '--compiler-bindir', 
>>>>>>> '/usr/local/cuda/bin/nvcc', '-m64', '-Xcompiler', 
>>>>>>> '-DCUDA_NDARRAY_CUH=c72d035fdf91890f3b36710688069b2e,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,-fPIC,-fvisibility=hidden',
>>>>>>>  
>>>>>>> '-Xlinker', 
>>>>>>> '-rpath,/home/mlx/.theano/compiledir_Linux-4.2--generic-x86_64-with-debian-jessie-sid-x86_64-2.7.13-64/cuda_ndarray',
>>>>>>>  
>>>>>>> '-I/home/mlx/anaconda3/envs/py2/lib/python2.7/site-packages/theano/sandbox/cuda',
>>>>>>>  
>>>>>>> '-I/home/mlx/anaconda3/envs/py2/lib/python2.7/site-packages/numpy/core/include',
>>>>>>>  
>>>>>>> '-I/home/mlx/anaconda3/envs/py2/include/python2.7', 
>>>>>>> '-I/home/mlx/anaconda3/envs/py2/lib/python2.7/site-packages/theano/gof',
>>>>>>>  
>>>>>>> '-L/home/mlx/anaconda3/envs/py2/lib', '-o', 
>>>>>>> '/home/mlx/.theano/compiledir_Linux-4.2--generic-x86_64-with-debian-jessie-sid-x86_64-2.7.13-64/cuda_ndarray/cuda_ndarray.so',
>>>>>>>  
>>>>>>> 'mod.cu', '-lcublas', '-lpython2.7', '-lcudart']
>>>>>>> ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: 
>>>>>>> ('nvcc return status', 1, 'for cmd', 'nvcc -shared -O3 -use_fast_math 
>>>>>>> --compiler-bindir /usr/local/cuda/bin/nvcc -m64 -Xcompiler 
>>>>>>> -DCUDA_NDARRAY_CUH=c72d035fdf91890f3b36710688069b2e,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,-fPIC,-fvisibility=hidden
>>>>>>>  
>>>>>>> -Xlinker 
>>>>>>> -rpath,/home/mlx/.theano/compiledir_Linux-4.2--generic-x86_64-with-debian-jessie-sid-x86_64-2.7.13-64/cuda_ndarray
>>>>>>>  
>>>>>>> -I/home/mlx/anaconda3/envs/py2/lib/python2.7/site-packages/theano/sandbox/cuda
>>>>>>>  
>>>>>>> -I/home/mlx/anaconda3/envs/py2/lib/python2.7/site-packages/numpy/core/include
>>>>>>>  
>>>>>>> -I/home/mlx/anaconda3/envs/py2/include/python2.7 
>>>>>>> -I/home/mlx/anaconda3/envs/py2/lib/python2.7/site-packages/theano/gof 
>>>>>>> -L/home/mlx/anaconda3/envs/py2/lib -o 
>>>>>>> /home/mlx/.theano/compiledir_Linux-4.2--generic-x86_64-with-debian-jessie-sid-x86_64-2.7.13-64/cuda_ndarray/cuda_ndarray.so
>>>>>>>  
>>>>>>> mod.cu -lcublas -lpython2.7 -lcudart')
>>>>>>> WARNING (theano.sandbox.cuda): The cuda backend is deprecated and 
>>>>>>> will be removed in the next release (v0.10).  Please switch to the 
>>>>>>> gpuarray 
>>>>>>> backend. You can get more information about how to switch at this URL:
>>>>>>>  
>>>>>>> https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
>>>>>>>
>>>>>>> WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is 
>>>>>>> not available  (error: cuda unavailable)
>>>>>>>
>>>>>>>
>>>>>>> So what's the going on here? Thanks very much
>>>>>>>
>>>>>> -- 
>>>>>
>>>>> --- 
>>>>> 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.
>>>>>
>>>> -- 
>>>
>>> --- 
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 

--- 
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.

Reply via email to