SciML / ODEInterfaceDiffEq.jl

Adds the common API onto ODEInterface classic Fortran methods for the SciML Scientific Machine Learning organization
Other
9 stars 17 forks source link

Method definition overwritten? #58

Closed JianghuiDu closed 1 year ago

JianghuiDu commented 1 year ago
┌ ODEInterfaceDiffEq [09606e27-ecf5-54fc-bb29-004bd9f985bf]
│  WARNING: Method definition alg_order(ODEInterfaceDiffEq.odex) in module ODEInterfaceDiffEq at C:\Users\runneradmin\.julia\packages\ODEInterfaceDiffEq\lGV1B\src\algorithms.jl:22 overwritten at C:\Users\runneradmin\.julia\packages\ODEInterfaceDiffEq\lGV1B\src\algorithms.jl:31.
│    ** incremental compilation may be fatally broken for this module **

julia v1.9.2, ODEInterfaceDiffEq v3.13.1

sjdaines commented 1 year ago

Error with julia v1.10.0-beta1, ODEInterfaceDiffEq v3.13.1

Precompiling project...
  ✗ ODEInterfaceDiffEq
  0 dependencies successfully precompiled in 7 seconds. 372 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

ODEInterfaceDiffEq [09606e27-ecf5-54fc-bb29-004bd9f985bf]

Failed to precompile ODEInterfaceDiffEq [09606e27-ecf5-54fc-bb29-004bd9f985bf] to "/data/sd336/software/julia/depot/compiled/v1.10/ODEInterfaceDiffEq/jl_hZuLw9".
WARNING: Method definition alg_order(ODEInterfaceDiffEq.odex) in module ODEInterfaceDiffEq at /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/algorithms.jl:22 overwritten at /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/algorithms.jl:31.
ERROR: LoadError: Method overwriting is not permitted during Module precompile.
Stacktrace:
 [1] top-level scope
   @ /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/algorithms.jl:31
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:489
 [3] include(x::String)
   @ ODEInterfaceDiffEq /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/ODEInterfaceDiffEq.jl:3
 [4] top-level scope
   @ /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/ODEInterfaceDiffEq.jl:22
 [5] include
   @ Base ./Base.jl:489 [inlined]
 [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{…}, dl_load_path::Vector{…}, load_path::Vector{…}, concrete_deps::Vector{…}, source::Nothing)
   @ Base ./loading.jl:2216
 [7] top-level scope
   @ stdin:3
Some type information was truncated. Use `show(err)` to see complete types.
in expression starting at /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/algorithms.jl:31
in expression starting at /data/sd336/software/julia/depot/packages/ODEInterfaceDiffEq/lGV1B/src/ODEInterfaceDiffEq.jl:3
in expression starting at stdin:3