Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanging on compilation in 1.10 but not in 1.11 and 1.12 #57066

Open
pogudingleb opened this issue Jan 16, 2025 · 3 comments
Open

Hanging on compilation in 1.10 but not in 1.11 and 1.12 #57066

pogudingleb opened this issue Jan 16, 2025 · 3 comments

Comments

@pogudingleb
Copy link

We had a code which, starting with Julia 1.10.5, was hanging on the compilation stage (see this issue), here is the code

using ModelingToolkit
using StructuralIdentifiability
const SI = StructuralIdentifiability

function testSI()
    t = ModelingToolkit.t_nounits
    D = ModelingToolkit.D_nounits
    @variables X(t)
    @parameters p d
    eqs = [
        D(X) ~ p - d*X
    ]
    @mtkbuild osys = ODESystem(eqs, t)
    measured_quantities = [X]    
    funcs_to_check = [osys.p]

    SI.assess_identifiability(osys; measured_quantities, funcs_to_check)
end
testSI()

The problem exists in both 1.10.7 and 1.11.2 but it does not appear in the nightly build and in the pre-release version of 1.11.3 (thanks!).
However, the solution does not seem to be backported to 1.10, it still hangs in the pre-release version of 1.10.8. Would it be possible to back port it there?

@KristofferC
Copy link
Member

Maybe #56640 fixed it?

@pogudingleb
Copy link
Author

Maybe #56640 fixed it?

It looks like this PR was backported to 1.10 and 1.11 while our issue occurs in the current master of 1.10 and not in 1.11

@KristofferC
Copy link
Member

Okay, if it is ok on 1.11.3 and not 1.11.2 it should be fairly easy to find out the commit that fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants