Created
May 14, 2013 12:47
-
-
Save HaveF/5575613 to your computer and use it in GitHub Desktop.
blas.ldflags= -LC:\Anaconda\MinGW\x86_64-w64-mingw32\lib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
ImportError Traceback (most recent call last) | |
<ipython-input-2-8811626b82bb> in <module>() | |
----> 1 theano.misc.check_blas.test() | |
D:\OpenCourses\ufldl\ref\Theano\theano\misc\check_blas.pyc in test() | |
110 | |
111 def test(): | |
--> 112 execute() | |
113 | |
114 | |
D:\OpenCourses\ufldl\ref\Theano\theano\misc\check_blas.pyc in execute(execute, verbose, M, N, K, iters, order) | |
69 c = theano.shared(numpy.ones((M, K), dtype=theano.config.floatX, | |
70 order=order)) | |
---> 71 f = theano.function([], updates=[(c, 0.4 * c + .8 * T.dot(a, b))]) | |
72 | |
73 if any([x.op.__class__.__name__ == 'Gemm' for x in | |
D:\OpenCourses\ufldl\ref\Theano\theano\compile\function.pyc in function(inputs, outputs, mode, updates, givens, no_default_updates, accept_inplace, name, rebuild_strict, allow_input_downcast, profile, on_unused_input) | |
220 allow_input_downcast=allow_input_downcast, | |
221 on_unused_input=on_unused_input, | |
--> 222 profile=profile) | |
223 # We need to add the flag check_aliased inputs if we have any mutable or | |
224 # borrowed used defined inputs | |
D:\OpenCourses\ufldl\ref\Theano\theano\compile\pfunc.pyc in pfunc(params, outputs, mode, updates, givens, no_default_updates, accept_inplace, name, rebuild_strict, allow_input_downcast, profile, on_unused_input) | |
504 return orig_function(inputs, cloned_outputs, mode, | |
505 accept_inplace=accept_inplace, name=name, profile=profile, | |
--> 506 on_unused_input=on_unused_input) | |
507 | |
508 | |
D:\OpenCourses\ufldl\ref\Theano\theano\compile\function_module.pyc in orig_function(inputs, outputs, mode, accept_inplace, name, profile, on_unused_input) | |
1297 profile=profile, | |
1298 on_unused_input=on_unused_input).create( | |
-> 1299 defaults) | |
1300 | |
1301 t2 = time.time() | |
D:\OpenCourses\ufldl\ref\Theano\theano\compile\function_module.pyc in create(self, input_storage, trustme) | |
1166 # Get a function instance | |
1167 start_linker = time.time() | |
-> 1168 _fn, _i, _o = self.linker.make_thunk(input_storage=input_storage_lists) | |
1169 end_linker = time.time() | |
1170 | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\link.pyc in make_thunk(self, profiler, input_storage, output_storage) | |
380 return self.make_all(profiler = profiler, | |
381 input_storage = input_storage, | |
--> 382 output_storage = output_storage)[:3] | |
383 | |
384 def make_all(self, profiler, input_storage, output_storage): | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\vm.pyc in make_all(self, profiler, input_storage, output_storage) | |
838 compute_map, | |
839 no_recycling) | |
--> 840 for node in order] | |
841 | |
842 computed, last_user = link.gc_helper(order) | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\op.pyc in make_thunk(self, node, storage_map, compute_map, no_recycling) | |
587 logger.debug('Trying CLinker.make_thunk') | |
588 outputs = cl.make_thunk(input_storage=node_input_storage, | |
--> 589 output_storage=node_output_storage) | |
590 fill_storage, node_input_filters, node_output_filters = outputs | |
591 | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.pyc in make_thunk(self, input_storage, output_storage, keep_lock) | |
931 cthunk, in_storage, out_storage, error_storage = self.__compile__( | |
932 input_storage, output_storage, | |
--> 933 keep_lock=keep_lock) | |
934 | |
935 res = _CThunk(cthunk, init_tasks, tasks, error_storage) | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.pyc in __compile__(self, input_storage, output_storage, keep_lock) | |
874 input_storage, | |
875 output_storage, | |
--> 876 keep_lock=keep_lock) | |
877 return (thunk, | |
878 [link.Container(input, storage) for input, storage in | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.pyc in cthunk_factory(self, error_storage, in_storage, out_storage, keep_lock) | |
1302 else: | |
1303 module = get_module_cache().module_from_key( | |
-> 1304 key=key, fn=self.compile_cmodule_by_step, keep_lock=keep_lock) | |
1305 | |
1306 vars = self.inputs + self.outputs + self.orphans | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cmodule.pyc in module_from_key(self, key, fn, keep_lock, key_data) | |
990 # The module should be returned by the last | |
991 # step of the compilation. | |
--> 992 module = next(compile_steps) | |
993 except StopIteration: | |
994 break | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cc.pyc in compile_cmodule_by_step(self, location) | |
1219 lib_dirs=self.lib_dirs(), | |
1220 libs=libs, | |
-> 1221 preargs=preargs) | |
1222 except Exception, e: | |
1223 e.args += (str(self.fgraph),) | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cmodule.pyc in compile_str(module_name, src_code, location, include_dirs, lib_dirs, libs, preargs, py_module) | |
1839 open(os.path.join(location, "__init__.py"), 'w').close() | |
1840 assert os.path.isfile(lib_filename) | |
-> 1841 return dlimport(lib_filename) | |
1842 | |
1843 | |
D:\OpenCourses\ufldl\ref\Theano\theano\gof\cmodule.pyc in dlimport(fullpath, suffix) | |
278 sys.path[0:0] = [workdir] # insert workdir at beginning (temporarily) | |
279 try: | |
--> 280 rval = __import__(module_name, {}, {}, [module_name]) | |
281 if not rval: | |
282 raise Exception('__import__ failed', fullpath) | |
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)>, TensorConstant{0.8}, <TensorType(float64, matrix)>, <TensorType(float64, matrix)>, TensorConstant{0.4})]') | |
Some Theano flags: | |
blas.ldflags= -LC:\Anaconda\MinGW\x86_64-w64-mingw32\lib -lopenblas | |
compiledir= R:\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment