Closed GlenHenshaw closed 3 years ago
Can you try a script as well ? I'll check if I can reproduce this on Ubuntu.
When run as a script, the above code throws the following error:
rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x10aa272e0 arm_pc=0x10b10b73c num_insts=6 inst_index=3 x86 instruction bytes: 0x56415741e5894855 0xec83485354415541
zsh: trace trap julia error.jl
Not sure you will be able to replicate this on Ubuntu, as rosetta is the translation layer that M1 Macs use to run x86 code.
Could you use the operator_only = true
kwarg? I run into a problem within building the solution, which might be related to the size of the problem.
running:
res = solve(problem, DMDSVD(); operator_only = true)
does indeed clear the error, both from the REPL and from the script.
I'll add the kwargs for the solution within the next days. I think this might be due to the function building, but have to dig deeper :)
Yes. Definitely this.
Closed via #233
Using Julia 1.6.1 on an M1 MacBook Air, macOS 11.3.1. This seems to crash only from a fresh Julia REPL, e.g. if I have already invoked solve() on a smaller problem, then this doesn't crash. But if I haven't then I get the following:
I can also sometimes get the following error:
but not yet repeatedly with a minimal code.