Hi, how did you solved this problem at last ? I met a similar one now. The 
cpu is Intel Xeon E5-2670, how should I set the gcc,cxxflags. Thanks !

在 2015年9月10日星期四 UTC+8下午5:41:05,Alexander Botev写道:
>
> So I've tried running first Theano on GPU with a M2090 NVIDIA GPU and it 
> worked as a charm. However, when trying to run with the K80 (I'm using cuda 
> 7.0) I got the following error:
>
> Problem occurred during compilation with the command line below:
> /apps/gcc/4.9.2/bin/g++ -shared -g -O3 -fno-math-errno -Wno-unused-label 
> -Wno-unused-variable -Wno-write-strings -O3 -fopenmp -lmkl_rt -ffast-math 
> -ftree-loop-distribution -funroll-loops -ftracer -march=haswell -mmmx 
> -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe 
> -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop 
> -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm 
> -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr 
> -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf 
> -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 
> --param l2-cache-size=10240 -mtune=generic -D 
> NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -fPIC 
> -I/apps/numpy/1.9.1/lib/python2.7/site-packages/numpy/core/include 
> -I/apps/python/2.7.8/include/python2.7 
> -I/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof
>  
> -fvisibility=hidden -o 
> /home/ucl/eisuc212/.theano/compiledir_Linux-2.6-el6.x86_64-x86_64-with-redhat-6.6-Santiago-x86_64-2.7.8-64/tmpGayQyP/e39a431b8d2caf5da489f0e07ff86e61.so
>  
> /home/ucl/eisuc212/.theano/compiledir_Linux-2.6-el6.x86_64-x86_64-with-redhat-6.6-Santiago-x86_64-2.7.8-64/tmpGayQyP/mod.cpp
>  
> -L/apps/python/2.7.8/lib -lpython2.7
> ERROR (theano.gof.opt): Optimization failure due to: constant_folding
> ERROR (theano.gof.opt): TRACEBACK:
> ERROR (theano.gof.opt): Traceback (most recent call last):
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/opt.py",
>  
> line 1737, in process_node
>     replacements = lopt.transform(node)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/tensor/opt.py",
>  
> line 5215, in constant_folding
>     no_recycling=[])
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/op.py",
>  
> line 918, in make_thunk
>     no_recycling)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/op.py",
>  
> line 836, in make_c_thunk
>     output_storage=node_output_storage)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/cc.py",
>  
> line 1175, in make_thunk
>     keep_lock=keep_lock)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/cc.py",
>  
> line 1113, in __compile__
>     keep_lock=keep_lock)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/cc.py",
>  
> line 1549, in cthunk_factory
>     key=key, lnk=self, keep_lock=keep_lock)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/cmodule.py",
>  
> line 1167, in module_from_key
>     module = lnk.compile_cmodule(location)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/cc.py",
>  
> line 1460, in compile_cmodule
>     preargs=preargs)
>   File 
> "/home/ucl/eisuc212/.local/lib/python2.7/site-packages/Theano-0.7.0-py2.7.egg/theano/gof/cmodule.py",
>  
> line 2176, in compile_str
>     (status, compile_stderr.replace('\n', '. ')))
> Exception: ("Compilation failed (return status=1): /tmp/cc6Usnll.s: 
> Assembler messages:. /tmp/cc6Usnll.s:233: Error: no such instruction: 
> `vinserti128 $0x1,%xmm1,%ymm4,%ymm5'. /tmp/cc6Usnll.s:239: Error: no such 
> instruction: `vextracti128 $0x1,%ymm5,16(%rax)'. ", 
> "[MakeVector{dtype='int64'}(TensorConstant{1}, TensorConstant{64}, 
> TensorConstant{1})]")
>
> Does anyone has any idea of how and why this occurred?
>
>

-- 

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