Skip to content

Instantly share code, notes, and snippets.

@HaveF
Created May 14, 2013 01:16
Show Gist options
  • Save HaveF/5572894 to your computer and use it in GitHub Desktop.
Save HaveF/5572894 to your computer and use it in GitHub Desktop.
theano.misc.check_blas.test()
>>> import theano.misc.check_blas
>>> theano.misc.check_blas.test()
Some Theano flags:
blas.ldflags= -lopenblas
compiledir= R:\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_S
tepping_9_GenuineIntel-2.7.3-64
floatX= float64
device= cpu
Some environment variables:
MKL_NUM_THREADS= None
OMP_NUM_THREADS= None
GOTO_NUM_THREADS= None
Numpy config: (used when the Theano flag "blas.ldflags" is empty)
lapack_opt_info:
libraries = ['mkl_lapack95_lp64', 'mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl
_intel_thread_dll']
library_dirs = ['C:\\aroot\\stage\\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\aroot\\stage\\include']
blas_opt_info:
libraries = ['mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl_intel_thread_dll']
library_dirs = ['C:\\aroot\\stage\\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\aroot\\stage\\include']
lapack_mkl_info:
libraries = ['mkl_lapack95_lp64', 'mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl
_intel_thread_dll']
library_dirs = ['C:\\aroot\\stage\\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\aroot\\stage\\include']
blas_mkl_info:
libraries = ['mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl_intel_thread_dll']
library_dirs = ['C:\\aroot\\stage\\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\aroot\\stage\\include']
mkl_info:
libraries = ['mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl_intel_thread_dll']
library_dirs = ['C:\\aroot\\stage\\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\aroot\\stage\\include']
Numpy dot module: numpy.core._dotblas
Numpy location: C:\Anaconda\lib\site-packages\numpy\__init__.pyc
Numpy version: 1.7.1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\OpenCourses\ufldl\ref\Theano\theano\misc\check_blas.py", line 112, in
test
execute()
File "D:\OpenCourses\ufldl\ref\Theano\theano\misc\check_blas.py", line 71, in
execute
f = theano.function([], updates=[(c, 0.4 * c + .8 * T.dot(a, b))])
File "D:\OpenCourses\ufldl\ref\Theano\theano\compile\function.py", line 222, i
n function
profile=profile)
File "D:\OpenCourses\ufldl\ref\Theano\theano\compile\pfunc.py", line 506, in p
func
on_unused_input=on_unused_input)
File "D:\OpenCourses\ufldl\ref\Theano\theano\compile\function_module.py", line
1299, in orig_function
defaults)
File "D:\OpenCourses\ufldl\ref\Theano\theano\compile\function_module.py", line
1168, in create
_fn, _i, _o = self.linker.make_thunk(input_storage=input_storage_lists)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\link.py", line 382, in make_t
hunk
output_storage = output_storage)[:3]
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\vm.py", line 840, in make_all
for node in order]
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\op.py", line 589, in make_thu
nk
output_storage=node_output_storage)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.py", line 933, in make_thu
nk
keep_lock=keep_lock)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.py", line 876, in __compil
e__
keep_lock=keep_lock)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.py", line 1304, in cthunk_
factory
key=key, fn=self.compile_cmodule_by_step, keep_lock=keep_lock)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cmodule.py", line 992, in mod
ule_from_key
module = next(compile_steps)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.py", line 1221, in compile
_cmodule_by_step
preargs=preargs)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cmodule.py", line 1841, in co
mpile_str
return dlimport(lib_filename)
File "D:\OpenCourses\ufldl\ref\Theano\theano\gof\cmodule.py", line 280, in dli
mport
rval = __import__(module_name, {}, {}, [module_name])
ImportError: ('DLL load failed: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4
\xc4\xa3\xbf\xe9\xa1\xa3', '[Gemm{inplace}(<TensorType(float64, matrix)>, Tensor
Constant{0.8}, <TensorType(float64, matrix)>, <TensorType(float64, matrix)>, Ten
sorConstant{0.4})]')
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment