Dear PyMC developers,
I faced some issue when I try to run PyMC in cluster.
May I know how to solve the following errors?
Traceback (most recent call last):
File “stochastic_prediction.py”, line 15, in
y_obs_last = pm.Data(‘y_obs_last’, returns.change.values[1:].tolist())
File “/home/guang/.local/lib/python3.7/site-packages/pymc3/data.py”, line 545, in new
shared_object.dshape = tuple(shared_object.shape.eval())
File “/home/guang/.local/lib/python3.7/site-packages/theano/tensor/var.py”, line 255, in
shape = property(lambda self: theano.tensor.basic.shape(self))
File “/home/guang/.local/lib/python3.7/site-packages/theano/graph/op.py”, line 253, in call
compute_test_value(node)
File “/home/guang/.local/lib/python3.7/site-packages/theano/graph/op.py”, line 126, in compute_test_value
thunk = node.op.make_thunk(node, storage_map, compute_map, no_recycling=[])
File “/home/guang/.local/lib/python3.7/site-packages/theano/graph/op.py”, line 634, in make_thunk
return self.make_c_thunk(node, storage_map, compute_map, no_recycling)
File “/home/guang/.local/lib/python3.7/site-packages/theano/graph/op.py”, line 601, in make_c_thunk
input_storage=node_input_storage, output_storage=node_output_storage
File “/home/guang/.local/lib/python3.7/site-packages/theano/link/c/basic.py”, line 1204, in make_thunk
input_storage, output_storage, storage_map
File “/home/guang/.local/lib/python3.7/site-packages/theano/link/c/basic.py”, line 1142, in compile
storage_map,
File “/home/guang/.local/lib/python3.7/site-packages/theano/link/c/basic.py”, line 1634, in cthunk_factory
module = get_module_cache().module_from_key(key=key, lnk=self)
File “/home/guang/.local/lib/python3.7/site-packages/theano/link/c/cmodule.py”, line 1191, in module_from_key
module = lnk.compile_cmodule(location)
File “/home/guang/.local/lib/python3.7/site-packages/theano/link/c/basic.py”, line 1550, in compile_cmodule
preargs=preargs,
File “/home/guang/.local/lib/python3.7/site-packages/theano/link/c/cmodule.py”, line 2547, in compile_str
f"Compilation failed (return status={status}): {compile_stderr}"
Exception: ("Compilation failed (return status=1): /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(exceptions.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(longobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(dictobject.o): relocation R_X86_64_32 against symbol PyDictIterValue_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(moduleobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(object.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(obmalloc.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(capsule.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(rangeobject.o): relocation R_X86_64_32S against symbol
PyRange_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(setobject.o): relocation R_X86_64_32S against symbol PySet_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(sliceobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(structseq.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(tupleobject.o): relocation R_X86_64_32 against symbol
PyTupleIter_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(typeobject.o): relocation R_X86_64_32 against .text' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(unicodeobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(unicodectype.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(weakrefobject.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_warnings.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(bltinmodule.o): relocation R_X86_64_32S against symbol
PyFilter_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(ceval.o): relocation R_X86_64_32 against symbol _PyRuntime' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(compile.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(codecs.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(errors.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(future.o): relocation R_X86_64_32S against symbol PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getargs.o): relocation R_X86_64_32S against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(import.o): relocation R_X86_64_32S against symbol PyModule_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(importdl.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.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. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(modsupport.o): relocation R_X86_64_32S against
.rodata’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(peephole.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pyhash.o): relocation R_X86_64_32 against
.data’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pylifecycle.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pystate.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(context.o): relocation R_X86_64_32 against symbol PyContext_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(hamt.o): relocation R_X86_64_32S against symbol
_PyHamt_BitmapNode_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pythonrun.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pytime.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.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. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(symtable.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(sysmodule.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(thread.o): relocation R_X86_64_32 against
.text’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(traceback.o): relocation R_X86_64_32S against .text.hot' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pystrtod.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(dtoa.o): relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.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. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(fileutils.o): relocation R_X86_64_32S against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.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. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(main.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(gcmodule.o): relocation R_X86_64_32 against
.data’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(posixmodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(errnomodule.o): relocation R_X86_64_32 against
.data’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pwdmodule.o): relocation R_X86_64_32 against .bss' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_sre.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_codecsmodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_weakref.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_functoolsmodule.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_operator.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_collectionsmodule.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_abc.o): relocation R_X86_64_32 against
.data’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(itertoolsmodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(atexitmodule.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(signalmodule.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_stat.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(timemodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_threadmodule.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_localemodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_iomodule.o): relocation R_X86_64_32 against symbol
_PyIO_Module’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(iobase.o): relocation R_X86_64_32 against symbol _Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(fileio.o): relocation R_X86_64_32S against symbol
PyFloat_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(bytesio.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(bufferedio.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(textio.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(stringio.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(zipimport.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(faulthandler.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(_tracemalloc.o): relocation R_X86_64_32 against .bss' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(hashtable.o): relocation R_X86_64_32 against symbol
PyMem_RawMalloc’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(symtablemodule.o): relocation R_X86_64_32 against symbol PyUnicode_FSDecoder' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(xxsubtype.o): relocation R_X86_64_32 against
.data’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getbuildinfo.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(acceler.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(grammar1.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(myreadline.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(parsetok.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(tokenizer.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(abstract.o): relocation R_X86_64_32S against symbol _Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(accu.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(boolobject.o): relocation R_X86_64_32S against symbol PyBool_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(bytes_methods.o): relocation R_X86_64_32S against symbol
_Py_ctype_table’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(bytearrayobject.o): relocation R_X86_64_32 against symbol _PyByteArray_empty_string' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(bytesobject.o): relocation R_X86_64_32S against symbol
PyBytes_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(call.o): relocation R_X86_64_32S against symbol PyFunction_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(cellobject.o): relocation R_X86_64_32S against symbol
PyCell_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(classobject.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(codeobject.o): relocation R_X86_64_32S against symbol
PyCode_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(complexobject.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(descrobject.o): relocation R_X86_64_32 against
.data’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(enumobject.o): relocation R_X86_64_32S against .text' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(genobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(fileobject.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(floatobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(frameobject.o): relocation R_X86_64_32S against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(funcobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(iterobject.o): relocation R_X86_64_32 against symbol _Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(listobject.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(odictobject.o): relocation R_X86_64_32 against symbol PyODictIter_Type' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(memoryobject.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(methodobject.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(namespaceobject.o): relocation R_X86_64_32 against symbol
_PyNamespace_Type’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(Python-ast.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(ast.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(ast_opt.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(ast_unparse.o): relocation R_X86_64_32S against
.rodata’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getcopyright.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getplatform.o): relocation R_X86_64_32 against
.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getversion.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.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. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(pathconfig.o): relocation R_X86_64_32 against symbol _Py_path_config' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(structmember.o): relocation R_X86_64_32S against
.rodata’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getopt.o): relocation R_X86_64_32S against .rodata.str4.4' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getpath.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(parser.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC. /bin/ld: /software/python/3.7.11/lib/libpython3.7m.a(getcompiler.o): relocation R_X86_64_32 against
.rodata.str1.8’ can not be used when making a shared object; recompile with -fPIC. /bin/ld: final link failed: Nonrepresentable section on output. collect2: error: ld returned 1 exit status. ", ‘FunctionGraph(Shape(y_obs_last))’)
Thanks