JuliaInv / MUMPSjInv.jl

MUMPS interface for Julia
18 stars 15 forks source link

Using MUMPS Crashes Julia #20

Open UserQuestions opened 5 years ago

UserQuestions commented 5 years ago

I get the following error when I use MUMPS and try to solve a simple sparse linear system. I'm running CentOS7 and Julia V0.7

WARNING: importing deprecated binding Base.myid into MUMPS.
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: importing deprecated binding Base.remotecall_fetch into MUMPS.
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.myid is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
WARNING: Base.remotecall_fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /pathtomyfile.jl:195
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector<bool>::_M_range_check: __n (which is 30) >= this->size() (which is 27)

signal (6): Aborted
in expression starting at /pathtomyfile.jl:195
gsignal at /lib64/libc.so.6 (unknown line)
abort at /lib64/libc.so.6 (unknown line)
__verbose_terminate_handler at /src/gcc-7.3.0/libstdc++-v3/libsupc++/vterminate.cc:95
__terminate at /src/gcc-7.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
terminate at /src/gcc-7.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
__cxa_throw at /src/gcc-7.3.0/libstdc++-v3/libsupc++/eh_throw.cc:93
__throw_out_of_range_fmt at /src/gcc-7.3.0/libstdc++-v3/src/c++11/functexcept.cc:96
_M_range_check at /usr/local/include/c++/7.3.0/bits/stl_bvector.h:874
at at /usr/local/include/c++/7.3.0/bits/stl_bvector.h:883 [inlined]
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3818
emit_call at /buildworker/worker/package_linux64/build/src/codegen.cpp:3141
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3903
emit_ccall at /buildworker/worker/package_linux64/build/src/ccall.cpp:1572
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3913
emit_ssaval_assign at /buildworker/worker/package_linux64/build/src/codegen.cpp:3616
emit_stmtpos at /buildworker/worker/package_linux64/build/src/codegen.cpp:3802 [inlined]
emit_function at /buildworker/worker/package_linux64/build/src/codegen.cpp:6255
jl_compile_linfo at /buildworker/worker/package_linux64/build/src/codegen.cpp:1160
emit_invoke at /buildworker/worker/package_linux64/build/src/codegen.cpp:3095
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3894
emit_ssaval_assign at /buildworker/worker/package_linux64/build/src/codegen.cpp:3616
emit_stmtpos at /buildworker/worker/package_linux64/build/src/codegen.cpp:3802 [inlined]
emit_function at /buildworker/worker/package_linux64/build/src/codegen.cpp:6255
jl_compile_linfo at /buildworker/worker/package_linux64/build/src/codegen.cpp:1160
emit_invoke at /buildworker/worker/package_linux64/build/src/codegen.cpp:3095
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3894
emit_ssaval_assign at /buildworker/worker/package_linux64/build/src/codegen.cpp:3616
emit_stmtpos at /buildworker/worker/package_linux64/build/src/codegen.cpp:3802 [inlined]
emit_function at /buildworker/worker/package_linux64/build/src/codegen.cpp:6255
jl_compile_linfo at /buildworker/worker/package_linux64/build/src/codegen.cpp:1160
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1794
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:324
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:428
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:363 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:686
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:799
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x2aab2e6bc96f)
unknown function (ip: 0x1)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:808
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:831
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:841
include_string at ./loading.jl:1002
include_string at /homepath/.julia/packages/CodeTools/8CjYJ/src/eval.jl:30
unknown function (ip: 0x2aab43ed93b3)
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
#110 at /homepath/.julia/packages/Atom/jodeb/src/eval.jl:91
withpath at /homepath/.julia/packages/CodeTools/8CjYJ/src/utils.jl:30
withpath at /homepath/.julia/packages/Atom/jodeb/src/eval.jl:46 [inlined]
#109 at /homepath/.julia/packages/Atom/jodeb/src/eval.jl:90 [inlined]
hideprompt at /homepath/.julia/packages/Atom/jodeb/src/repl.jl:76
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
macro expansion at /homepath/.julia/packages/Atom/jodeb/src/eval.jl:89 [inlined]
#108 at ./task.jl:85
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1538 [inlined]
start_task at /buildworker/worker/package_linux64/build/src/task.c:268
unknown function (ip: 0xffffffffffffffff)
Allocations: 37554117 (Pool: 37545127; Big: 8990); GC: 85
lruthotto commented 5 years ago

Thanks for reporting this. Currently, I don't think the package is ready for julia 0.7 and 1.0.