I have been using JuliaDB for the past two months trying to transition from R. I recently updated packages using a source-compiled version of the stable Julia release (1.4.2) with the Intel MKL libraries and I have been using Atom as an IDE.
julia> versioninfo()
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 4
However, for some reason I am now getting this error.
using Distributed
addprocs(length(Sys.cpu_info()) - 6)
@everywhere cd("directory")
population_data = load("population_data") # Load data table
signal (11): Segmentation fault
in expression starting at /mnt/8401f199-95d5-43e7-b83f-ce2ec42b020b/GIT/Peach_Projections/Scripts/JMB/mortality_model.jl:52
jl_isa at /home/jmb/julia/src/subtype.c:2009
sig_match_simple at /home/jmb/julia/src/typemap.c:173 [inlined]
jl_typemap_entry_assoc_exact at /home/jmb/julia/src/typemap.c:816
jl_typemap_assoc_exact at /home/jmb/julia/src/julia_internal.h:1021 [inlined]
jl_lookup_generic_ at /home/jmb/julia/src/gf.c:2270 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2319
jl_apply at /home/jmb/julia/src/julia.h:1700 [inlined]
do_apply at /home/jmb/julia/src/builtins.c:643
_totuple at ./tuple.jl:258 [inlined]
Tuple at ./tuple.jl:230
_jl_invoke at /home/jmb/julia/src/gf.c:2159 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
mmread at /home/jmb/.julia/packages/JuliaDB/7cG1k/src/serialize.jl:54
deserialize at /home/jmb/.julia/packages/MemPool/ZLU0k/src/io.jl:29
_jl_invoke at /home/jmb/julia/src/gf.c:2159 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
handle_deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:799
deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:735
mmread at /home/jmb/.julia/packages/JuliaDB/7cG1k/src/serialize.jl:84
deserialize at /home/jmb/.julia/packages/MemPool/ZLU0k/src/io.jl:29
_jl_invoke at /home/jmb/julia/src/gf.c:2159 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
handle_deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:799
deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:735
handle_deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:838
deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:735
deserialize at /home/jmb/julia/usr/share/julia/stdlib/v1.4/Serialization/src/Serialization.jl:722 [inlined]
#open#270 at ./io.jl:298
open at ./io.jl:296 [inlined]
#load#197 at /home/jmb/.julia/packages/JuliaDB/7cG1k/src/io.jl:182
load at /home/jmb/.julia/packages/JuliaDB/7cG1k/src/io.jl:174
_jl_invoke at /home/jmb/julia/src/gf.c:2159 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
jl_apply at /home/jmb/julia/src/julia.h:1700 [inlined]
do_call at /home/jmb/julia/src/interpreter.c:369
eval_value at /home/jmb/julia/src/interpreter.c:458
eval_stmt_value at /home/jmb/julia/src/interpreter.c:409 [inlined]
eval_body at /home/jmb/julia/src/interpreter.c:817
jl_interpret_toplevel_thunk at /home/jmb/julia/src/interpreter.c:911
jl_toplevel_eval_flex at /home/jmb/julia/src/toplevel.c:819
jl_parse_eval_all at /home/jmb/julia/src/ast.c:872
include_string at ./loading.jl:1080
include_string at /home/jmb/.julia/packages/CodeTools/kosGY/src/eval.jl:30
unknown function (ip: 0x7f09dd9509a2)
_jl_invoke at /home/jmb/julia/src/gf.c:2145 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
#206 at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:119
withpath at /home/jmb/.julia/packages/CodeTools/kosGY/src/utils.jl:30
_jl_invoke at /home/jmb/julia/src/gf.c:2145 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
withpath at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:9
#205 at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:118 [inlined]
with_logstate at ./logging.jl:398
with_logger at ./logging.jl:505 [inlined]
#204 at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:117 [inlined]
hideprompt at /home/jmb/.julia/packages/Atom/8MnXm/src/repl.jl:127
macro expansion at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:116 [inlined]
macro expansion at /home/jmb/.julia/packages/Media/ItEPc/src/dynamic.jl:24 [inlined]
eval at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:113
unknown function (ip: 0x7f09dd948cba)
_jl_invoke at /home/jmb/julia/src/gf.c:2145 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
jl_apply at /home/jmb/julia/src/julia.h:1700 [inlined]
do_apply at /home/jmb/julia/src/builtins.c:643
jl_f__apply_latest at /home/jmb/julia/src/builtins.c:693
#invokelatest#1 at ./essentials.jl:712
_jl_invoke at /home/jmb/julia/src/gf.c:2145 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
jl_apply at /home/jmb/julia/src/julia.h:1700 [inlined]
do_apply at /home/jmb/julia/src/builtins.c:643
invokelatest at ./essentials.jl:711
_jl_invoke at /home/jmb/julia/src/gf.c:2145 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
jl_apply at /home/jmb/julia/src/julia.h:1700 [inlined]
do_apply at /home/jmb/julia/src/builtins.c:643
macro expansion at /home/jmb/.julia/packages/Atom/8MnXm/src/eval.jl:41 [inlined]
#188 at ./task.jl:358
unknown function (ip: 0x7f09dd897f7c)
_jl_invoke at /home/jmb/julia/src/gf.c:2159 [inlined]
jl_apply_generic at /home/jmb/julia/src/gf.c:2323
jl_apply at /home/jmb/julia/src/julia.h:1700 [inlined]
start_task at /home/jmb/julia/src/task.c:687
unknown function (ip: (nil))
Allocations: 80769112 (Pool: 80745269; Big: 23843); GC: 84
I do not understand the error, but I have a tried it with or without loading the Distributed package. Can anybody give me some advice on addressing this issue?
Thanks,
James