Quantcast

Error while calling Julia from python

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error while calling Julia from python

karan aggarwal
karan@karan-Ubuntu:~$ python3
Python 3.4.3 (default, Sep 14 2016, 12:36:27)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import julia
>>> j=julia.Julia()
WARNING:
    CHOLMOD version incompatibility

    Julia was compiled with CHOLMOD version 3.0.6. It is
    currently linked with version 2.1.2.
    This might cause Julia to terminate when working with
    sparse matrix factorizations, e.g. solving systems of
    equations with \.

    It is recommended that you use Julia with the same major
    version of CHOLMOD as the one used during the build, or
    download the generic binaries from www.julialang.org,
    which ship with the correct versions of all dependencies.
WARNING:
    CHOLMOD version incompatibility

    Julia was compiled with CHOLMOD version 3.0.6. It is
    currently linked with version 2.1.2.
    This might cause Julia to terminate when working with
    sparse matrix factorizations, e.g. solving systems of
    equations with \.

    It is recommended that you use Julia with the same major
    version of CHOLMOD as the one used during the build, or
    download the generic binaries from www.julialang.org,
    which ship with the correct versions of all dependencies.
WARNING: redefining constant JULIA_HOME

signal (11): Segmentation fault
while loading no file, in expression starting on line 0
unknown function (ip: 0x7f5fd8eb48cb)
_PyObject_GenericGetAttrWithDict at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyObject_GetAttrString at python3 (unknown line)
init_ctypes at /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so (unknown line)
_PyImport_LoadDynamicModule at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
unknown function (ip: 0x7f5fd8efa728)
PyImport_ImportModuleLevel at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
unknown function (ip: 0x7f5fd8db9a3e)
PyObject_Call at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyEval_CallObjectWithKeywords at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyEval_EvalFrameEx at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyEval_EvalCodeEx at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyEval_EvalCode at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyImport_ExecCodeModuleEx at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
unknown function (ip: 0x7f5fd8efa015)
unknown function (ip: 0x7f5fd8f15df8)
unknown function (ip: 0x7f5fd8efa728)
PyImport_ImportModuleLevel at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
unknown function (ip: 0x7f5fd8db9a3e)
PyObject_Call at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyObject_CallFunction at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyImport_Import at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
PyImport_ImportModule at /usr/bin/../lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
macro expansion at /home/karan/.julia/v0.5/PyCall/src/exception.jl:78 [inlined]
pyimport at /home/karan/.julia/v0.5/PyCall/src/PyCall.jl:387
__init__ at /home/karan/.julia/v0.5/PyCall/src/pyinit.jl:75
unknown function (ip: 0x7f5fd97bca0f)
jl_call_method_internal at /build/julia-hCoRih/julia-0.5.0/src/julia_internal.h:189 [inlined]
jl_apply_generic at /build/julia-hCoRih/julia-0.5.0/src/gf.c:1942
jl_apply at /build/julia-hCoRih/julia-0.5.0/src/julia.h:1392 [inlined]
jl_module_run_initializer at /build/julia-hCoRih/julia-0.5.0/src/toplevel.c:83
jl_init_restored_modules at /build/julia-hCoRih/julia-0.5.0/src/dump.c:1994 [inlined]
_jl_restore_incremental at /build/julia-hCoRih/julia-0.5.0/src/dump.c:2560
_jl_restore_incremental at /build/julia-hCoRih/julia-0.5.0/src/dump.c:2498 [inlined]
jl_restore_incremental at /build/julia-hCoRih/julia-0.5.0/src/dump.c:2580
_include_from_serialized at ./loading.jl:150
_require_from_serialized at ./loading.jl:187
_require_search_from_serialized at ./loading.jl:217
unknown function (ip: 0x7f61e7eaaeb0)
jl_call_method_internal at /build/julia-hCoRih/julia-0.5.0/src/julia_internal.h:189 [inlined]
jl_apply_generic at /build/julia-hCoRih/julia-0.5.0/src/gf.c:1942
require at ./loading.jl:371
unknown function (ip: 0x7f61e7d0cf3b)
jl_call_method_internal at /build/julia-hCoRih/julia-0.5.0/src/julia_internal.h:189 [inlined]
jl_apply_generic at /build/julia-hCoRih/julia-0.5.0/src/gf.c:1942
jl_apply at /build/julia-hCoRih/julia-0.5.0/src/julia.h:1392 [inlined]
eval_import_path_ at /build/julia-hCoRih/julia-0.5.0/src/toplevel.c:402
eval_import_path at /build/julia-hCoRih/julia-0.5.0/src/toplevel.c:429 [inlined]
jl_toplevel_eval_flex at /build/julia-hCoRih/julia-0.5.0/src/toplevel.c:480 [inlined]
jl_toplevel_eval at /build/julia-hCoRih/julia-0.5.0/src/toplevel.c:580
jl_eval_string at /build/julia-hCoRih/julia-0.5.0/src/jlapi.c:59
ffi_call_unix64 at /usr/lib/x86_64-linux-gnu/libffi.so.6 (unknown line)
ffi_call at /usr/lib/x86_64-linux-gnu/libffi.so.6 (unknown line)
_ctypes_callproc at /usr/lib/python3.4/lib-dynload/_ctypes.cpython-34m-x86_64-linux-gnu.so (unknown line)
unknown function (ip: 0x7f61ed4d36a2)
PyEval_EvalFrameEx at python3 (unknown line)
PyEval_EvalFrameEx at python3 (unknown line)
unknown function (ip: 0x56ab58)
unknown function (ip: 0x547f8c)
PyObject_Call at python3 (unknown line)
unknown function (ip: 0x5159f9)
unknown function (ip: 0x4c0635)
PyEval_EvalFrameEx at python3 (unknown line)
PyEval_EvalCode at python3 (unknown line)
unknown function (ip: 0x4bc83d)
PyRun_InteractiveOneObject at python3 (unknown line)
PyRun_InteractiveLoopFlags at python3 (unknown line)
PyRun_AnyFileExFlags at python3 (unknown line)
Py_Main at python3 (unknown line)
main at python3 (unknown line)
__libc_start_main at /build/eglibc-oGUzwX/eglibc-2.19/csu/libc-start.c:287
unknown function (ip: 0x574360)
Allocations: 1851345 (Pool: 1850462; Big: 883); GC: 0
Segmentation fault (core dumped)


How to solve this error?
Loading...