#Julia crashing with certain ode parameters in solving nonlinearleastsquares

1 messages · Page 1 of 1 (latest)

ornate pollen
#

Hello, it seems like Julia crashes when i use some ode parameters instead of others.

u0 = [0.9, 0.1, 0.05, 0.18, 0.2] doesn't work
u0 = [0.9, 0.1, 0.05, 0.2, 0.02] work

It crashes only when solving the nonlinear lest squares problem, it can independently solve the ode system otherwise.

It's in the sixth cell of the notebook

What I get is a system notification telling me that something went wrong with Julia, brutally quitting (rough translation, my system not in english)

reason: julia killed by SIGSEGV
crash_function: julia_ode_interpolation_5607
cmdline: julia --color=yes --project=/home/myusername/.julia/environments/v1.11 --history-file=no /home/myusername/.vscode/extensions/julialang.language-julia-1.140.2/scripts/notebook/notebook.jl /tmp/vscjl-nbk-fa4516de-9a8a-4f33-95b6-217461b34f70 /tmp/vsc-jl-repldbg-9a5cea3a-bcaf-4aec-a99a-d50e6dd936e4 /tmp/vsc-jl-cr-ef76dec6-09d7-4ecd-8649-5bb7cac3f3b8
executable: /usr/bin/julia
package: julia-1.11.0-13.rc3.fc42

I'm on fedora 42 with gnome desktop environement, if useful

#

Might be something with the code I don't really know at this point

#

Might also be something inherent to the model

outer mauve
#

Did you install the julia package from the package manager or juliaup ?

#

The latest .11 is 1.11.5 (and seing the rc3 makes me think you're running a release candidate, so not a stable version)

#

Saying that so we at least eliminate a packaging issue and/or a now fixed bug

olive island
#

Run this in the terminal and share the whole segfault. It might be an enzyme thing

ornate pollen
#

This is the full error when I run everything from julia command line, instead of the jupyter notebook in vscode

olive island
#

I installed julia with dnf, fedora's package manager
Please use the normal installation

ornate pollen
#

Ok I thought it was normal installation with package manager, maybe thats why, where can I find it ? Julia website ?

#

curl -fsSL https://install.julialang.org | sh

#

?

olive island
#

yeah just the one from the julia website

#

fedora uses the wrong llvm iirc

ornate pollen
#

Ok I reinstalled it now it doesn't crash anymore but I let it run for 40min with no result, strange

#

I have to stop it now though