Made Julia quit and now won't run even after re-install

I would try running my code with (and run out of Atom to rule any issue with that out):

julia --check-bounds=no --O1 --startup-file=no [your_main_program_file.jl]

at least the first option. I doubt the other matters (note, could make slower), as the default -O2 optimization shouldn’t introduce bugs, maybe -O3 might?

I didn’t look carefully at the errors, and it’s not like I can replicate with the included files missing, why I predictably got an error, and another (below) by commenting out.

If the above doesn’t resolve, then this seems like an excellent candidate for new option in Julia 1.5 (download the nightly), plus possibly the others:

$ ~/julia-1.5-ea669c3d3e/bin/julia --bug-report=yes your_main_program_file.jl
[ Info: Loading BugReporting package...

As Julia 1.5 is not out I’m not sure if submitting such (automatic) reports is yet supported, but seems to work, and I think could be received, in theory.

ERROR: LoadError: syntax: extra token "num_extinct" after end of expression
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1044
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] exec_options(::Base.JLOptions) at ./client.jl:266
 [5] _start() at ./client.jl:425
in expression starting at /home/pharaldsson_sym/fenics/pyjulia/pyjulia/test2.jl:57
1 Like