I had a perfectly fine version of theano - libgpuarray working with a toolbox that I am writing. I haven't updated my thenao in a while, so I updated my theano to bleeding edge, which required an update to my libgpuarray install also which I did.
After updating, I am getting the following error (with a bunch of code printed) on a piece of code that was working perfectly fine before install. I could always roll my updates back, but any advice would help. Problem occurred during compilation with the command line below: /usr/bin/g++ -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -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 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=15360 -mtune=haswell -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -fPIC -I/home/ragav/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/home/ragav/anaconda2/include/python2.7 -I/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof -L/home/ragav/anaconda2/lib -fvisibility=hidden -o /home/ragav/.theano/compiledir_Linux-4.4--generic-x86_64-with-debian-stretch-sid-x86_64-2.7.12-64/tmpEodHXQ/a1fc55f7f6d975d0aedab336fe762088.so /home/ragav/.theano/compiledir_Linux-4.4--generic-x86_64-with-debian-stretch-sid-x86_64-2.7.12-64/tmpEodHXQ/mod.cpp -lmkl -lpython2.7 /usr/bin/ld: cannot find -lmkl collect2: error: ld returned 1 exit status Traceback (most recent call last): File "pantry/tutorials/lenet.py", line 311, in <module> lenet5 ( dataset, verbose = 2 ) File "pantry/tutorials/lenet.py", line 133, in lenet5 verbose = verbose File "build/bdist.linux-x86_64/egg/yann/network.py", line 2011, in cook File "build/bdist.linux-x86_64/egg/yann/network.py", line 1430, in _initialize_test File "build/bdist.linux-x86_64/egg/yann/network.py", line 1386, in _initialize_test_classifier File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/compile/function.py", line 326, in function output_keys=output_keys) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/compile/pfunc.py", line 486, in pfunc output_keys=output_keys) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py", line 1795, in orig_function defaults) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py", line 1661, in create input_storage=input_storage_lists, storage_map=storage_map) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/link.py", line 699, in make_thunk storage_map=storage_map)[:3] File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/vm.py", line 1063, in make_all impl=impl)) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/op.py", line 924, in make_thunk no_recycling) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/op.py", line 828, in make_c_thunk output_storage=node_output_storage) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/cc.py", line 1190, in make_thunk keep_lock=keep_lock) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/cc.py", line 1131, in __compile__ keep_lock=keep_lock) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/cc.py", line 1586, in cthunk_factory key=key, lnk=self, keep_lock=keep_lock) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/cmodule.py", line 1155, in module_from_key module = lnk.compile_cmodule(location) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/cc.py", line 1489, in compile_cmodule preargs=preargs) File "/home/ragav/anaconda2/lib/python2.7/site-packages/theano/gof/cmodule.py", line 2309, in compile_str (status, compile_stderr.replace('\n', '. '))) Exception: ('The following error happened while compiling the node', CorrMM{valid, (1, 1), (1, 1)}(InplaceDimShuffle{0,3,1,2}.0, Subtensor{::, ::, ::int64, ::int64}.0), '\n', 'Compilation failed (return status=1): /usr/bin/ld: cannot find -lmkl. collect2: error: ld returned 1 exit status. ', '[CorrMM{valid, (1, 1), (1, 1)}(<TensorType(float32, 4D)>, <TensorType(float32, 4D)>)]') -- --- 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.