Giter Club home page Giter Club logo

Comments (5)

ChrisRackauckas avatar ChrisRackauckas commented on June 11, 2024

Can you post the full error message?

from sparsedifftools.jl.

mjohnson541 avatar mjohnson541 commented on June 11, 2024

Thanks for the response! That's all it prints when it errors, but if there's a way to get more detailed error messages I'm happy to run that.

from sparsedifftools.jl.

ChrisRackauckas avatar ChrisRackauckas commented on June 11, 2024

It should tell you the exact line the issue is at. Does it only do this for you on Julia v1.2?

from sparsedifftools.jl.

mjohnson541 avatar mjohnson541 commented on June 11, 2024

On a clean Julia 1.1.0 install it doesn't seem to change:

julia> using Pkg

julia> Pkg.add("SparseDiffTools")
   Cloning default registries into `~/.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"
     Added registry `General` to `~/.julia/registries/General`
 Resolving package versions...
 Installed NaNMath ────────────── v0.3.2
 Installed SparseDiffTools ────── v0.9.0
 Installed SpecialFunctions ───── v0.8.0
 Installed ArnoldiMethod ──────── v0.0.4
 Installed BlockArrays ────────── v0.10.0
 Installed ForwardDiff ────────── v0.10.3
 Installed BandedMatrices ─────── v0.11.1
 Installed LightGraphs ────────── v1.3.0
 Installed FillArrays ─────────── v0.7.0
 Installed ArrayInterface ─────── v1.2.1
 Installed BinaryProvider ─────── v0.5.6
 Installed CommonSubexpressions ─ v0.2.0
 Installed DiffRules ──────────── v0.0.10
 Installed Adapt ──────────────── v1.0.0
 Installed Compat ─────────────── v2.1.0
 Installed DataStructures ─────── v0.17.0
 Installed BinDeps ────────────── v0.8.10
 Installed StaticArrays ───────── v0.11.0
 Installed DiffResults ────────── v0.0.4
 Installed MacroTools ─────────── v0.5.1
 Installed Requires ───────────── v0.5.2
 Installed OrderedCollections ─── v1.1.0
 Installed URIParser ──────────── v0.4.0
 Installed BlockBandedMatrices ── v0.5.0
 Installed LazyArrays ─────────── v0.11.0
 Installed SimpleTraits ───────── v0.9.0
 Installed DiffEqDiffTools ────── v1.3.0
 Installed Tokenize ───────────── v0.5.6
 Installed VertexSafeGraphs ───── v0.1.0
 Installed Inflate ────────────── v0.1.1
 Installed MatrixFactorizations ─ v0.1.0
 Installed CSTParser ──────────── v0.6.2
  Updating `~/.julia/environments/v1.1/Project.toml`
  [47a9eef4] + SparseDiffTools v0.9.0
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [79e6a3ab] + Adapt v1.0.0
  [ec485272] + ArnoldiMethod v0.0.4
  [4fba245c] + ArrayInterface v1.2.1
  [aae01518] + BandedMatrices v0.11.1
  [9e28174c] + BinDeps v0.8.10
  [b99e7846] + BinaryProvider v0.5.6
  [8e7c35d0] + BlockArrays v0.10.0
  [ffab5731] + BlockBandedMatrices v0.5.0
  [00ebfdb7] + CSTParser v0.6.2
  [bbf7d656] + CommonSubexpressions v0.2.0
  [34da2185] + Compat v2.1.0
  [864edb3b] + DataStructures v0.17.0
  [01453d9d] + DiffEqDiffTools v1.3.0
  [163ba53b] + DiffResults v0.0.4
  [b552c78f] + DiffRules v0.0.10
  [1a297f60] + FillArrays v0.7.0
  [f6369f11] + ForwardDiff v0.10.3
  [d25df0c9] + Inflate v0.1.1
  [5078a376] + LazyArrays v0.11.0
  [093fc24a] + LightGraphs v1.3.0
  [1914dd2f] + MacroTools v0.5.1
  [a3b82374] + MatrixFactorizations v0.1.0
  [77ba4419] + NaNMath v0.3.2
  [bac558e1] + OrderedCollections v1.1.0
  [ae029012] + Requires v0.5.2
  [699a6c99] + SimpleTraits v0.9.0
  [47a9eef4] + SparseDiffTools v0.9.0
  [276daf66] + SpecialFunctions v0.8.0
  [90137ffa] + StaticArrays v0.11.0
  [0796e94c] + Tokenize v0.5.6
  [30578b45] + URIParser v0.4.0
  [19fa3120] + VertexSafeGraphs v0.1.0
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [9abbd945] + Profile 
  [3fa0cd96] + REPL 
  [9a3f8284] + Random 
  [ea8e919c] + SHA 
  [9e88b42a] + Serialization 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 
  Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/ne2iw/deps/build.log`

julia> Pkg.build("SparseDiffTools")
  Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/ne2iw/deps/build.log`

julia> using SparseDiffTools
[ Info: Precompiling SparseDiffTools [47a9eef4-7e08-11e9-0b38-333d64bd3804]
ERROR: Failed to precompile SparseDiffTools [47a9eef4-7e08-11e9-0b38-333d64bd3804] to /home/mattjohnson/.julia/compiled/v1.1/SparseDiffTools/w4L8R.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853

julia> 

However, it looks like the original issue I had installing DifferentialEquations might be more enlightening (This is on a clean julia 1.2.0 install):

julia> using Pkg

julia> Pkg.add("DifferentialEquations")
   Cloning default registries into `~/.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"
     Added registry `General` to `~/.julia/registries/General`
 Resolving package versions...
 Installed Inflate ───────────────────── v0.1.1
 Installed TableTraits ───────────────── v1.0.0
 Installed DimensionalPlotRecipes ────── v0.2.0
 Installed CommonSubexpressions ──────── v0.2.0
 Installed DifferentialEquations ─────── v6.7.0
 Installed BlockBandedMatrices ───────── v0.4.6
 Installed LineSearches ──────────────── v7.0.1
 Installed BinaryProvider ────────────── v0.5.6
 Installed Adapt ─────────────────────── v1.0.0
 Installed URIParser ─────────────────── v0.4.0
 Installed Tokenize ──────────────────── v0.5.6
 Installed NLSolversBase ─────────────── v7.4.1
 Installed MultiScaleArrays ──────────── v1.5.0
 Installed ResettableStacks ──────────── v0.6.0
 Installed BlockArrays ───────────────── v0.9.1
 Installed DiffEqBase ────────────────── v6.1.0
 Installed DocStringExtensions ───────── v0.8.0
 Installed ExponentialUtilities ──────── v1.5.1
 Installed Reexport ──────────────────── v0.2.0
 Installed ForwardDiff ───────────────── v0.10.3
 Installed Compat ────────────────────── v2.1.0
 Installed GenericSVD ────────────────── v0.2.1
 Installed Requires ──────────────────── v0.5.2
 Installed CSTParser ─────────────────── v0.6.2
 Installed VertexSafeGraphs ──────────── v0.1.0
 Installed RecipesBase ───────────────── v0.7.0
 Installed Calculus ──────────────────── v0.5.0
 Installed OrderedCollections ────────── v1.1.0
 Installed FunctionWrappers ──────────── v1.0.0
 Installed Roots ─────────────────────── v0.8.3
 Installed TreeViews ─────────────────── v0.3.0
 Installed RandomNumbers ─────────────── v1.3.0
 Installed DataStructures ────────────── v0.17.0
 Installed IterativeSolvers ──────────── v0.8.1
 Installed DiffEqJump ────────────────── v6.2.1
 Installed FillArrays ────────────────── v0.6.4
 Installed LightGraphs ───────────────── v1.3.0
 Installed BandedMatrices ────────────── v0.10.1
 Installed DiffEqDiffTools ───────────── v1.3.0
 Installed DiffRules ─────────────────── v0.0.10
 Installed SparseDiffTools ───────────── v0.9.0
 Installed RecursiveFactorization ────── v0.1.0
 Installed RecursiveArrayTools ───────── v1.0.2
 Installed ArrayInterface ────────────── v1.2.1
 Installed NaNMath ───────────────────── v0.3.2
 Installed DiffResults ───────────────── v0.0.4
 Installed DiffEqFinancial ───────────── v2.2.0
 Installed StaticArrays ──────────────── v0.11.0
 Installed MuladdMacro ───────────────── v0.2.1
 Installed SimpleTraits ──────────────── v0.9.0
 Installed PoissonRandom ─────────────── v0.4.0
 Installed DiffEqNoiseProcess ────────── v3.3.1
 Installed IteratorInterfaceExtensions ─ v1.0.0
 Installed NLsolve ───────────────────── v4.1.0
 Installed DelayDiffEq ───────────────── v5.15.0
 Installed Parameters ────────────────── v0.11.0
 Installed SteadyStateDiffEq ─────────── v1.5.0
 Installed Distances ─────────────────── v0.8.2
 Installed DiffEqPhysics ─────────────── v3.2.0
 Installed LazyArrays ────────────────── v0.10.0
 Installed MacroTools ────────────────── v0.5.1
 Installed MatrixFactorizations ──────── v0.1.0
 Installed StochasticDiffEq ──────────── v6.10.0
 Installed OrdinaryDiffEq ────────────── v5.17.0
 Installed DiffEqCallbacks ───────────── v2.8.0
 Installed SpecialFunctions ──────────── v0.7.2
 Installed ArnoldiMethod ─────────────── v0.0.4
 Installed BinDeps ───────────────────── v0.8.10
 Installed BoundaryValueDiffEq ───────── v2.3.0
 Installed Sundials ──────────────────── v3.7.0
  Updating `~/.julia/environments/v1.2/Project.toml`
  [0c46a032] + DifferentialEquations v6.7.0
  Updating `~/.julia/environments/v1.2/Manifest.toml`
  [79e6a3ab] + Adapt v1.0.0
  [ec485272] + ArnoldiMethod v0.0.4
  [4fba245c] + ArrayInterface v1.2.1
  [aae01518] + BandedMatrices v0.10.1
  [9e28174c] + BinDeps v0.8.10
  [b99e7846] + BinaryProvider v0.5.6
  [8e7c35d0] + BlockArrays v0.9.1
  [ffab5731] + BlockBandedMatrices v0.4.6
  [764a87c0] + BoundaryValueDiffEq v2.3.0
  [00ebfdb7] + CSTParser v0.6.2
  [49dc2e85] + Calculus v0.5.0
  [bbf7d656] + CommonSubexpressions v0.2.0
  [34da2185] + Compat v2.1.0
  [864edb3b] + DataStructures v0.17.0
  [bcd4f6db] + DelayDiffEq v5.15.0
  [2b5f629d] + DiffEqBase v6.1.0
  [459566f4] + DiffEqCallbacks v2.8.0
  [01453d9d] + DiffEqDiffTools v1.3.0
  [5a0ffddc] + DiffEqFinancial v2.2.0
  [c894b116] + DiffEqJump v6.2.1
  [77a26b50] + DiffEqNoiseProcess v3.3.1
  [055956cb] + DiffEqPhysics v3.2.0
  [163ba53b] + DiffResults v0.0.4
  [b552c78f] + DiffRules v0.0.10
  [0c46a032] + DifferentialEquations v6.7.0
  [c619ae07] + DimensionalPlotRecipes v0.2.0
  [b4f34e82] + Distances v0.8.2
  [ffbed154] + DocStringExtensions v0.8.0
  [d4d017d3] + ExponentialUtilities v1.5.1
  [1a297f60] + FillArrays v0.6.4
  [f6369f11] + ForwardDiff v0.10.3
  [069b7b12] + FunctionWrappers v1.0.0
  [01680d73] + GenericSVD v0.2.1
  [d25df0c9] + Inflate v0.1.1
  [42fd0dbc] + IterativeSolvers v0.8.1
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [5078a376] + LazyArrays v0.10.0
  [093fc24a] + LightGraphs v1.3.0
  [d3d80556] + LineSearches v7.0.1
  [1914dd2f] + MacroTools v0.5.1
  [a3b82374] + MatrixFactorizations v0.1.0
  [46d2c3a1] + MuladdMacro v0.2.1
  [f9640e96] + MultiScaleArrays v1.5.0
  [d41bc354] + NLSolversBase v7.4.1
  [2774e3e8] + NLsolve v4.1.0
  [77ba4419] + NaNMath v0.3.2
  [bac558e1] + OrderedCollections v1.1.0
  [1dea7af3] + OrdinaryDiffEq v5.17.0
  [d96e819e] + Parameters v0.11.0
  [e409e4f3] + PoissonRandom v0.4.0
  [e6cf234a] + RandomNumbers v1.3.0
  [3cdcf5f2] + RecipesBase v0.7.0
  [731186ca] + RecursiveArrayTools v1.0.2
  [f2c3362d] + RecursiveFactorization v0.1.0
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v0.5.2
  [ae5879a3] + ResettableStacks v0.6.0
  [f2b01f46] + Roots v0.8.3
  [699a6c99] + SimpleTraits v0.9.0
  [47a9eef4] + SparseDiffTools v0.9.0
  [276daf66] + SpecialFunctions v0.7.2
  [90137ffa] + StaticArrays v0.11.0
  [9672c7b4] + SteadyStateDiffEq v1.5.0
  [789caeaf] + StochasticDiffEq v6.10.0
  [c3572dad] + Sundials v3.7.0
  [3783bdb8] + TableTraits v1.0.0
  [0796e94c] + Tokenize v0.5.6
  [a2a6695c] + TreeViews v0.3.0
  [30578b45] + URIParser v0.4.0
  [19fa3120] + VertexSafeGraphs v0.1.0
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [9abbd945] + Profile 
  [3fa0cd96] + REPL 
  [9a3f8284] + Random 
  [ea8e919c] + SHA 
  [9e88b42a] + Serialization 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [4607b0f0] + SuiteSparse 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 
  Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/fvheQ/deps/build.log`
  Building Sundials ────────→ `~/.julia/packages/Sundials/CRi5j/deps/build.log`

julia> Pkg.build("DifferentialEquations")
  Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/fvheQ/deps/build.log`
  Building Sundials ────────→ `~/.julia/packages/Sundials/CRi5j/deps/build.log`
false

julia> using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: Failed to precompile SparseDiffTools [47a9eef4-7e08-11e9-0b38-333d64bd3804] to /home/mattjohnson/.julia/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] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1094
 [8] include(::Module, ::String) at ./Base.jl:31
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:330 [inlined]
 [11] eval(::Expr) at ./client.jl:432
 [12] top-level scope at ./none:3
in expression starting at /home/mattjohnson/.julia/packages/OrdinaryDiffEq/tQd6p/src/OrdinaryDiffEq.jl:49
ERROR: LoadError: Failed to precompile OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed] to /home/mattjohnson/.julia/compiled/v1.2/OrdinaryDiffEq/DlSvy.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] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1094
 [8] include(::Module, ::String) at ./Base.jl:31
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:330 [inlined]
 [11] eval(::Expr) at ./client.jl:432
 [12] top-level scope at ./none:3
in expression starting at /home/mattjohnson/.julia/packages/DiffEqCallbacks/ENRjj/src/DiffEqCallbacks.jl:10
ERROR: LoadError: Failed to precompile DiffEqCallbacks [459566f4-90b8-5000-8ac3-15dfb0a30def] to /home/mattjohnson/.julia/compiled/v1.2/DiffEqCallbacks/TKs5l.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] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1094
 [8] include(::Module, ::String) at ./Base.jl:31
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:330 [inlined]
 [11] eval(::Expr) at ./client.jl:432
 [12] top-level scope at ./none:3
in expression starting at /home/mattjohnson/.julia/packages/SteadyStateDiffEq/q0UMK/src/SteadyStateDiffEq.jl:6
ERROR: LoadError: Failed to precompile SteadyStateDiffEq [9672c7b4-1e72-59bd-8a11-6ac3964bc41f] to /home/mattjohnson/.julia/compiled/v1.2/SteadyStateDiffEq/lsCSw.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] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1094
 [8] include(::Module, ::String) at ./Base.jl:31
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:330 [inlined]
 [11] eval(::Expr) at ./client.jl:432
 [12] top-level scope at ./none:3
in expression starting at /home/mattjohnson/.julia/packages/DifferentialEquations/CxrjT/src/DifferentialEquations.jl:9
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/mattjohnson/.julia/compiled/v1.2/DifferentialEquations/UQdwS.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

julia> 

from sparsedifftools.jl.

ChrisRackauckas avatar ChrisRackauckas commented on June 11, 2024

There were a bunch of new versions so give it a try and please open an issue if you have troubles again. All of the tests seem to be passing so it should be good. If you're using a non-standard installation, like JuliaPro or Win32, that would be good to know.

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.