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

invalid function name "Morris <: GSAMethod" when precompiling in julia 1.0.4 #110

Closed
jarrTecn opened this issue Nov 4, 2019 · 2 comments

Comments

@jarrTecn
Copy link

jarrTecn commented Nov 4, 2019

Hello, when I type

using DiffEqSensitivity

returns

[ Info: Precompiling DiffEqSensitivity [41bf760c-e81c-5289-8e54-58b1f1f8abe2]
ERROR: LoadError: LoadError: syntax: invalid function name "Morris <: GSAMethod"
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1044
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /home/jarr/.julia/packages/DiffEqSensitivity/xlGSs/src/DiffEqSensitivity.jl:3
 [5] top-level scope at none:0
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1044
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:319 [inlined]
 [11] eval(::Expr) at ./client.jl:393
 [12] top-level scope at ./none:3
in expression starting at /home/jarr/.julia/packages/DiffEqSensitivity/xlGSs/src/morris_sensitivity.jl:1
in expression starting at /home/jarr/.julia/packages/DiffEqSensitivity/xlGSs/src/DiffEqSensitivity.jl:17
ERROR: Failed to precompile DiffEqSensitivity [41bf760c-e81c-5289-8e54-58b1f1f8abe2] to /home/jarr/.julia/compiled/v1.0/DiffEqSensitivity/02xYn.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
@ChrisRackauckas
Copy link
Member

The issue is: JuliaLang/Compat.jl#638 . DiffEq in general cannot support v1.0 well because 1.0 has issues... 1.1 and 1.2 are fine, with 1.2 highly recommended. The LTS should update to v1.4, in which case these legacy issues will go away...

@jarrTecn jarrTecn closed this as completed Nov 5, 2019
@ChrisRackauckas
Copy link
Member

Should be fixed now #116

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