Coder Social home page Coder Social logo

Comments (15)

rcnlee avatar rcnlee commented on August 25, 2024

There was a missing dependency in the REQUIRE file. The package also wasn't quite 0.7 ready.
I just fixed the dependency and most of the depwarns for 0.7. Can you see if it works for you on master branch now?

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

ok got it now - updated via for 0.7 and 1.0:

(v1.0) pkg> add https://github.com/sisl/ExprOptimization.jl
  Updating git-repo `https://github.com/sisl/ExprOptimization.jl`
 Resolving package versions...
  Updating `C:\Users\Andrew.Bannerman\.julia\environments\v1.0\Project.toml`
  [0d84ce59]  ExprOptimization v0.1.1  v0.1.1+ #master (https://github.com/sisl/ExprOptimization.jl)
  Updating `C:\Users\Andrew.Bannerman\.julia\environments\v1.0\Manifest.toml`
  [9e28174c] - BinDeps v0.8.10
  [6e83dbb3] - Discretizers v3.0.1
  [0d84ce59]  ExprOptimization v0.1.1  v0.1.1+ #master (https://github.com/sisl/ExprOptimization.jl)
  [276daf66] - SpecialFunctions v0.7.0

For 0.7 the precompile.

[ Info: Precompiling ExprOptimization [0d84ce59-e78b-5c9a-b954-3a5400d7f6ed]
┌ Warning: `using A.B` will only be allowed for modules, not single bindings. Use `using A: B` instead
│   caller = ip:0x0
└ @ Core :-1

throws a warning but it does compile.

And for 1.0

[ Info: Precompiling ExprOptimization [0d84ce59-e78b-5c9a-b954-3a5400d7f6ed]
WARNING: could not import Random.srand into ExprRules
ERROR: LoadError: UndefVarError: done not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13
 [2] top-level scope at none:0
 [3] include at .\boot.jl:317 [inlined]
 [4] include_relative(::Module, ::String) at .\loading.jl:1038
 [5] include(::Module, ::String) at .\sysimg.jl:29
 [6] top-level scope at none:2
 [7] eval at .\boot.jl:319 [inlined]
 [8] eval(::Expr) at .\client.jl:389
 [9] top-level scope at .\none:3
in expression starting at C:\Users\Andrew.Bannerman\.julia\packages\ExprRules\RBkE3\src\ExprRules.jl:713
ERROR: LoadError: Failed to precompile ExprRules [e7058ba0-a568-556c-b31a-209ee9d855a8] to C:\Users\Andrew.Bannerman\.julia\compiled\v1.0\ExprRules\Amp6O.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] macro expansion at .\logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
 [4] _require(::Base.PkgId) at .\logging.jl:311
 [5] require(::Base.PkgId) at .\loading.jl:852
 [6] macro expansion at .\logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at .\loading.jl:834
 [8] include at .\boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at .\loading.jl:1038
 [10] include(::Module, ::String) at .\sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at .\boot.jl:319 [inlined]
 [13] eval(::Expr) at .\client.jl:389
 [14] top-level scope at .\none:3
in expression starting at C:\Users\Andrew.Bannerman\.julia\packages\ExprOptimization\8WmhM\src\ExprOptimization.jl:36

from exproptimization.jl.

mykelk avatar mykelk commented on August 25, 2024

The error for 1.0 is due to this issue: sisl/ExprRules.jl#15

from exproptimization.jl.

rcnlee avatar rcnlee commented on August 25, 2024

Fixed the rest of the 0.7 warns for this package and is now on master. Iteration protocol issue is still outstanding on ExprRules.jl.

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

Recompiled with 0.7 no issues.

from exproptimization.jl.

rcnlee avatar rcnlee commented on August 25, 2024

Issue is fixed. Both packages are now fully updated, tagged, and released.

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

from exproptimization.jl.

mykelk avatar mykelk commented on August 25, 2024

It's defined in https://github.com/sisl/ExprRules.jl

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

from exproptimization.jl.

mykelk avatar mykelk commented on August 25, 2024

The image doesn't seem to be showing up. Can you try posting it directly on github?

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

from exproptimization.jl.

rcnlee avatar rcnlee commented on August 25, 2024

I haven't tagged releases for the recent switch to SymbolTables yet. So for the moment, you'll need to be on master branch on both ExprRules.jl and ExprOptimization.jl.

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

from exproptimization.jl.

rcnlee avatar rcnlee commented on August 25, 2024

BTW you should see a major increase in performance after the switch, especially in GP. I'm seeing 25-40x depending on the problem if you're bottlenecked by evaluation of expressions.

from exproptimization.jl.

flare9x avatar flare9x commented on August 25, 2024

from exproptimization.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.