Sorry to bother. I am new to this theano frame. Before I can run this project easily on ubuntu, but when I switch to another server which environment described below it shows this error. Hope u can give me some tips. And any help will be appreciated! Thanx!
CentOS 7
gcc 4.8.5-44
python 3.8.8
theano 1.0.5
Traceback (most recent call last):
File "main.py", line 176, in <module>
train_model = theano.function(
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/function.py", line 306, in function
fn = pfunc(params=inputs,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/pfunc.py", line 483, in pfunc
return orig_function(inputs, cloned_outputs, mode,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/function_module.py", line 1841, in orig_function
fn = m.create(defaults)
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/function_module.py", line 1714, in create
_fn, _i, _o = self.linker.make_thunk(
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/link.py", line 697, in make_thunk
return self.make_all(input_storage=input_storage,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/vm.py", line 1087, in make_all
thunks.append(node.op.make_thunk(node,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/scan_module/scan_op.py", line 861, in make_thunk
self.fn = function(wrapped_inputs,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/function.py", line 306, in function
fn = pfunc(params=inputs,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/pfunc.py", line 483, in pfunc
return orig_function(inputs, cloned_outputs, mode,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/function_module.py", line 1841, in orig_function
fn = m.create(defaults)
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/compile/function_module.py", line 1714, in create
_fn, _i, _o = self.linker.make_thunk(
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/link.py", line 697, in make_thunk
return self.make_all(input_storage=input_storage,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/vm.py", line 1087, in make_all
thunks.append(node.op.make_thunk(node,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/op.py", line 954, in make_thunk
return self.make_c_thunk(node, storage_map, compute_map,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/op.py", line 857, in make_c_thunk
outputs = cl.make_thunk(input_storage=node_input_storage,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/cc.py", line 1215, in make_thunk
cthunk, module, in_storage, out_storage, error_storage = self.__compile__(
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/cc.py", line 1153, in __compile__
thunk, module = self.cthunk_factory(error_storage,
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/cc.py", line 1623, in cthunk_factory
module = get_module_cache().module_from_key(
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/cmodule.py", line 1189, in module_from_key
module = lnk.compile_cmodule(location)
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/cc.py", line 1520, in compile_cmodule
module = c_compiler.compile_str(
File "/home/chaos/miniconda3/envs/punctuator2/lib/python3.8/site-packages/theano/gof/cmodule.py", line 2410, in compile_str
raise Exception('Compilation failed (return status=%s): %s' %
Exception: ('The following error happened while compiling the node', forall_inplace,cpu,scan_fn}(Elemwise{minimum,no_inplace}.0, Subtensor{int64:int64:int8}.0, Subtensor{int64:int64:int64}.0, IncSubtensor{InplaceSet;:int64:}.0, IncSubtensor{InplaceSet;:int64:}.0, W_x, W_h, W_x_h, W_h_h, W_x, W_h, W_x_h, W_h_h, InplaceDimShuffle{x,0}.0, InplaceDimShuffle{x,0}.0, InplaceDimShuffle{x,0}.0, InplaceDimShuffle{x,0}.0), '\n', 'The following error happened while compiling the node', Dot22(<TensorType(float64, matrix)>, W_x_copy), '\n', "Compilation failed (return status=1): /usr/bin/ld: /usr/local/lib/libpython3.8.a(capsule.o): relocation R_X86_64_32S against symbol `PyCapsule_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(exceptions.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(longobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(dictobject.o): relocation R_X86_64_32 against symbol `_Py_TrueStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(moduleobject.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(object.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(obmalloc.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(picklebufobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(rangeobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(setobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(sliceobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(structseq.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(tupleobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(typeobject.o): relocation R_X86_64_32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(unicodeobject.o): relocation R_X86_64_32 against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(unicodectype.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(weakrefobject.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_warnings.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(ceval.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(codecs.o): relocation R_X86_64_32S against symbol `_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(compile.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(errors.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(future.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getargs.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(import.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(importdl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(initconfig.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(marshal.o): relocation R_X86_64_32 against symbol `_Py_hashtable_compare_direct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(modsupport.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pathconfig.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(peephole.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(preconfig.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pyhash.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pylifecycle.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pystate.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pythonrun.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pytime.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bootstrap_hash.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(symtable.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(sysmodule.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(thread.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(traceback.o): relocation R_X86_64_32S against symbol `PyFrame_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getopt.o): relocation R_X86_64_32S against `.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pystrtod.o): relocation R_X86_64_32S against symbol `_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(dtoa.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(formatter_unicode.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(fileutils.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(dynload_shlib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getpath.o): relocation R_X86_64_32 against `.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(gcmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(posixmodule.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(errnomodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pwdmodule.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_sre.o): relocation R_X86_64_32S against symbol `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_codecsmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_weakref.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_functoolsmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_operator.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_collectionsmodule.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_abc.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(itertoolsmodule.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(atexitmodule.o): relocation R_X86_64_32 against `.text.unlikely' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(signalmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_stat.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(timemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_threadmodule.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_localemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_iomodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(iobase.o): relocation R_X86_64_32 against symbol `_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(fileio.o): relocation R_X86_64_32S against symbol `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bytesio.o): relocation R_X86_64_32 against symbol `_PyBytesIOBuffer_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bufferedio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(textio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(stringio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(faulthandler.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(_tracemalloc.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(hashtable.o): relocation R_X86_64_32 against symbol `PyMem_RawMalloc' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(symtablemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(xxsubtype.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getbuildinfo.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(acceler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(grammar1.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(token.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(parsetok.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(tokenizer.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(abstract.o): relocation R_X86_64_32S against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(accu.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(boolobject.o): relocation R_X86_64_32S against symbol `PyBool_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bytes_methods.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bytearrayobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bytesobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(call.o): relocation R_X86_64_32S against symbol `_PyFunction_Vectorcall' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(cellobject.o): relocation R_X86_64_32S against symbol `PyCell_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(classobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(codeobject.o): relocation R_X86_64_32S against symbol `PyCode_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(complexobject.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(descrobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(enumobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(genobject.o): relocation R_X86_64_32S against symbol `PyGen_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(fileobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(floatobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(frameobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(funcobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(interpreteridobject.o): relocation R_X86_64_32S against symbol `_PyInterpreterID_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(iterobject.o): relocation R_X86_64_32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(listobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(odictobject.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(memoryobject.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(methodobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(namespaceobject.o): relocation R_X86_64_32 against symbol `_PyNamespace_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(Python-ast.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(ast.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(ast_opt.o): relocation R_X86_64_32S against symbol `PyFrozenSet_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(ast_unparse.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(bltinmodule.o): relocation R_X86_64_32S against symbol `PyFilter_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(context.o): relocation R_X86_64_32 against symbol `PyContextTokenMissing_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getcopyright.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getplatform.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getversion.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(hamt.o): relocation R_X86_64_32 against symbol `_PyHamt_BitmapNode_Type' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(mystrtoul.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(structmember.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(pystrhex.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: /usr/local/lib/libpython3.8.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /usr/bin/ld: final link failed: Nonrepresentable section on output. collect2: error: ld returned 1 exit status. ", '[Dot22(<TensorType(float64, matrix)>, W_x_copy)]')
Sorry to bother. I am new to this theano frame. Before I can run this project easily on ubuntu, but when I switch to another server which environment described below it shows this error. Hope u can give me some tips. And any help will be appreciated! Thanx!