Created
March 22, 2013 22:46
-
-
Save lzamparo/5225335 to your computer and use it in GitHub Desktop.
Error output for my first theano exp test script, when submitted to a compute node on SciNet.
This file contains 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
[support code lies above, omitted here] | |
608 ////////////////////// | |
609 //// Functions | |
610 ////////////////////// | |
611 static PyObject * instantiate(PyObject * self, PyObject *argtuple) { | |
612 assert(PyTuple_Check(argtuple)); | |
613 if (3 != PyTuple_Size(argtuple)){ | |
614 PyErr_Format(PyExc_TypeError, "Wrong number of arguments, expected 3, got %i", (int)PyTuple_Size(argtuple)); | |
615 return NULL; | |
616 } | |
617 __struct_compiled_op_c94a8a2058c469a818e70c06314ee46b* struct_ptr = new __struct_compiled_op_c94a8a2058c469a818e70c06314ee46b(); | |
618 struct_ptr->init( PyTuple_GET_ITEM(argtuple, 0),PyTuple_GET_ITEM(argtuple, 1),PyTuple_GET_ITEM(argtuple, 2) ); | |
619 PyObject* thunk = PyCObject_FromVoidPtrAndDesc((void*)(&__struct_compiled_op_c94a8a2058c469a818e70c06314ee46b_executor), struct_ptr, __struct_compiled_op_c94a8a2058c469a | |
818e70c06314ee46b_destructor); | |
620 return thunk; } | |
621 | |
622 ////////////////////// | |
623 //// Module init | |
624 ////////////////////// | |
625 static PyMethodDef MyMethods[] = { | |
626 {"instantiate", instantiate, METH_VARARGS, "undocumented"} , | |
627 {NULL, NULL, 0, NULL} | |
628 }; | |
629 PyMODINIT_FUNC initc94a8a2058c469a818e70c06314ee46b(void){ | |
630 import_array(); | |
631 (void) Py_InitModule("c94a8a2058c469a818e70c06314ee46b", MyMethods); | |
632 } | |
633 | |
=============================== | |
In file included from /scinet/gpc/tools/Python/Python272-shared/include/python2.7/Python.h:8, | |
from mod.cu:1: | |
/scinet/gpc/tools/Python/Python272-shared/include/python2.7/pyconfig.h:1155:1: warning: "_POSIX_C_SOURCE" redefined | |
In file included from /scinet/arc/cuda-4.1/include/host_config.h:114, | |
from /scinet/arc/cuda-4.1/include/cuda_runtime.h:59, | |
from <command-line>:0: | |
/usr/include/features.h:162:1: warning: this is the location of the previous definition | |
In file included from /scinet/gpc/tools/Python/Python272-shared/include/python2.7/Python.h:8, | |
from mod.cu:1: | |
/scinet/gpc/tools/Python/Python272-shared/include/python2.7/pyconfig.h:1177:1: warning: "_XOPEN_SOURCE" redefined | |
In file included from /scinet/arc/cuda-4.1/include/host_config.h:114, | |
from /scinet/arc/cuda-4.1/include/cuda_runtime.h:59, | |
from <command-line>:0: | |
/usr/include/features.h:164:1: warning: this is the location of the previous definition | |
mod.cu(188): warning: statement is unreachable | |
mod.cu(217): warning: statement is unreachable | |
In file included from /scinet/gpc/tools/Python/Python272-shared/include/python2.7/Python.h:8, | |
from mod.cu:1: | |
/scinet/gpc/tools/Python/Python272-shared/include/python2.7/pyconfig.h:1155:1: warning: "_POSIX_C_SOURCE" redefined | |
In file included from /scinet/arc/cuda-4.1/include/host_config.h:114, | |
from /scinet/arc/cuda-4.1/include/cuda_runtime.h:59, | |
from <command-line>:0: | |
/usr/include/features.h:162:1: warning: this is the location of the previous definition | |
In file included from /scinet/gpc/tools/Python/Python272-shared/include/python2.7/Python.h:8, | |
from mod.cu:1: | |
/scinet/gpc/tools/Python/Python272-shared/include/python2.7/pyconfig.h:1177:1: warning: "_XOPEN_SOURCE" redefined | |
In file included from /scinet/arc/cuda-4.1/include/host_config.h:114, | |
from /scinet/arc/cuda-4.1/include/cuda_runtime.h:59, | |
from <command-line>:0: | |
/usr/include/features.h:164:1: warning: this is the location of the previous definition | |
mod.cu(188): warning: statement is unreachable | |
mod.cu(217): warning: statement is unreachable | |
/usr/bin/ld: skipping incompatible /scinet/arc/cuda-4.1/lib/libcudart.so when searching for -lcudart | |
/usr/bin/ld: skipping incompatible /scinet/arc/cuda-4.1/lib/libcudart.so when searching for -lcudart | |
/usr/bin/ld: skipping incompatible /scinet/arc/cuda-4.1/lib/libcublas.so when searching for -lcublas | |
/usr/bin/ld: skipping incompatible /scinet/arc/cuda-4.1/lib/libcudart.so when searching for -lcudart | |
/usr/bin/ld: skipping incompatible /scinet/arc/cuda-4.1/lib/libcudart.so when searching for -lcudart | |
/usr/bin/ld: /home/scinet/gpc/cn/bin/../lib/gcc/x86_64-redhat-linux/4.4.6/libstdc++.a(ios_init.o): relocation R_X86_64_32 against `pthread_cancel' can not be used when making a shared object; recompile with -fPIC | |
/home/scinet/gpc/cn/bin/../lib/gcc/x86_64-redhat-linux/4.4.6/libstdc++.a: could not read symbols: Bad value | |
collect2: ld returned 1 exit status | |
Traceback (most recent call last): | |
File "theano_exp_test.py", line 30, in <module> | |
f = function([], T.exp(x)) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/compile/function.py", line 221, in function | |
profile=profile) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/compile/pfunc.py", line 506, in pfunc | |
on_unused_input=on_unused_input) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/compile/function_module.py", line 1339, in orig_function | |
defaults) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/compile/function_module.py", line 1167, in create | |
_fn, _i, _o = self.linker.make_thunk(input_storage=input_storage_lists) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/link.py", line 383, in make_thunk | |
output_storage = output_storage)[:3] | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/vm.py", line 799, in make_all | |
for node in order] | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/sandbox/cuda/__init__.py", line 244, in make_thunk | |
compute_map, no_recycling) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/op.py", line 580, in make_thunk | |
output_storage=node_output_storage) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/cc.py", line 913, in make_thunk | |
keep_lock=keep_lock) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/cc.py", line 856, in __compile__ | |
keep_lock=keep_lock) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/cc.py", line 1279, in cthunk_factory | |
key=key, fn=self.compile_cmodule_by_step, keep_lock=keep_lock) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/cmodule.py", line 975, in module_from_key | |
module = compile_steps.next() | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/gof/cc.py", line 1201, in compile_cmodule_by_step | |
preargs=preargs) | |
File "/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/sandbox/cuda/nvcc_compiler.py", line 391, in compile_str | |
'for cmd', ' '.join(cmd)) | |
Exception: ('nvcc return status', 1, 'for cmd', 'nvcc -shared -g --maxrregcount=32 -O3 -use_fast_math -arch=sm_20 -m64 -Xcompiler -Wno-write-strings,-fno-math-errno,-Wno-unused-label,-Wno-unused-variable,-DCUDA_NDARRAY_CUH=90c42b258281d604500ad1a5624b6654,-D NPY_ARRAY_ENSURECOPY=NPY_ENSURECOPY,-D NPY_ARRAY_ALIGNED=NPY_ALIGNED,-D NPY_ARRAY_WRITEABLE=NPY_WRITEABLE,-D NPY_ARRAY_UPDATE_ALL=NPY_UPDATE_ALL,-D NPY_ARRAY_C_CONTIGUOUS=NPY_C_CONTIGUOUS,-D NPY_ARRAY_F_CONTIGUOUS=NPY_F_CONTIGUOUS,-fPIC -Xlinker -rpath,/scratch/z/zhaolei/lzamparo/theano_compiledir/compiledir_Linux-2.6.32-220.7.1.el6.x86_64-x86_64-with-centos-6.2-Final-x86_64-2.7.2/cuda_ndarray -Xlinker -rpath,/scinet/arc/cuda-4.1/lib -Xlinker -rpath,/scinet/arc/cuda-4.1/lib64 -I/scinet/arc/cuda-4.1/include -I/scratch/z/zhaolei/lzamparo/theano_compiledir/compiledir_Linux-2.6.32-220.7.1.el6.x86_64-x86_64-with-centos-6.2-Final-x86_64-2.7.2/cuda_ndarray -I/scinet/gpc/tools/Python/Python272-shared/lib/python2.7/site-packages/numpy/core/include -I/scinet/gpc/tools/Python/Python272-shared/include/python2.7 -I/home/z/zhaolei/lzamparo/lib/python2.7/site-packages/theano/sandbox/cuda -o /scratch/z/zhaolei/lzamparo/theano_compiledir/compiledir_Linux-2.6.32-220.7.1.el6.x86_64-x86_64-with-centos-6.2-Final-x86_64-2.7.2/tmp3XIBuO/c94a8a2058c469a818e70c06314ee46b.so mod.cu -L/scinet/arc/cuda-4.1/lib -L/scratch/z/zhaolei/lzamparo/theano_compiledir/compiledir_Linux-2.6.32-220.7.1.el6.x86_64-x86_64-with-centos-6.2-Final-x86_64-2.7.2/cuda_ndarray -L/scinet/arc/cuda-4.1/lib -L/scinet/arc/cuda-4.1/lib64 -L/scinet/gpc/tools/Python/Python272-shared/lib -lpython2.7 -lcudart -lcublas -lcuda_ndarray', '[GpuElemwise{exp,no_inplace}(<CudaNdarrayType(float32, vector)>)]') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment