Giter Club home page Giter Club logo

Comments (8)

ChrisRackauckas avatar ChrisRackauckas commented on June 12, 2024

What does using SparseDiffTools give you?

from sparsedifftools.jl.

ivborissov avatar ivborissov commented on June 12, 2024

Only

Info: Precompiling SparseDiffTools [47a9eef4-7e08-11e9-0b38-333d64bd3804]
└ @ Base loading.jl:1242

Failed to precompile SparseDiffTools [47a9eef4-7e08-11e9-0b38-333d64bd3804] to /srv/julia/pkg/compiled/v1.2/SparseDiffTools/w4L8R.ji.

Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253
 [3] _require(::Base.PkgId) at ./loading.jl:1013
 [4] require(::Base.PkgId) at ./loading.jl:911
 [5] require(::Module, ::Symbol) at ./loading.jl:906
 [6] top-level scope at In[3]:2

from sparsedifftools.jl.

ChrisRackauckas avatar ChrisRackauckas commented on June 12, 2024

🤷‍♂ I need more to go on than that. I cannot reproduce given when you've shown. There's no error message or anything? Is this directly in the REPL?

from sparsedifftools.jl.

ivborissov avatar ivborissov commented on June 12, 2024

The error is only present in https://mybinder.org/ environment. With my local Julia 1.2.0 everything is fine. Only julia environments provisioned with mybinder fail to precompile OrdinaryDiffEq due to SparseDiffTools precompilation error. The error can be reproduces if you provision a simple notebook in mybinder
https://mybinder.org/v2/gh/davidanthoff/bindertest/master?filepath=src%2Fmain.ipynb
add a new cell and run:

using Pkg; Pkg.add("SparseDiffTools")
using SparseDiffTools

Other DiffEq packages (e.x. DiffEqBase) precompile in mybinder without errors

from sparsedifftools.jl.

ChrisRackauckas avatar ChrisRackauckas commented on June 12, 2024

It looks like I can isolate it to:

using Pkg; Pkg.add("BlockBandedMatrices"); using BlockBandedMatrices

which means it's upstream issue in BlockBandedMatrices.jl

from sparsedifftools.jl.

ivborissov avatar ivborissov commented on June 12, 2024

Yes, you are right, thanks! Latest versions of BlockBandedMatrices fail to precompile in mybinder.
The latest working version is BlockBandedMatrices v.0.4.6. How can I force OrdinaryDiffEq and SparseDiffTools to use BlockBandedMatrices v.0.4.6 in mybinder as a workaround?
I guess we can close the issue and "move" it to BlockBandedMatrices?

from sparsedifftools.jl.

ChrisRackauckas avatar ChrisRackauckas commented on June 12, 2024

Yes, let's move it over to there. Please ping me because I'd like to continue to follow this. I am not sure what could be causing it, but if @dlfivefifty is doing fancy things with BLAS that might be doing it.

from sparsedifftools.jl.

ivborissov avatar ivborissov commented on June 12, 2024

Sure, JuliaLinearAlgebra/BlockBandedMatrices.jl#45

from sparsedifftools.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.