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

Failing to precompile #708

Closed
d-netto opened this issue Jul 1, 2020 · 12 comments
Closed

Failing to precompile #708

d-netto opened this issue Jul 1, 2020 · 12 comments

Comments

@d-netto
Copy link

d-netto commented Jul 1, 2020

I've been getting a ERROR: LoadError: LoadError: InitError: could not load library "/Users/diogo/.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib" dlopen(/Users/diogo/.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib, 1): Library not loaded: @rpath/libgmp.10.dylib Referenced from: /Users/diogo/.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib Reason: Incompatible library version: libgmpxx.4.dylib requires version 15.0.0 or later, but libgmp.dylib provides version 14.0.0 when trying to precompile ApproxFun, but I don't know how to update this library. Could you give me some help?

@dlfivefifty
Copy link
Member

@MikaelSlevinsky I assume this has something to do with FastTransforms? Any ideas?

@MikaelSlevinsky
Copy link
Member

I think the related issue is JuliaApproximation/FastTransforms.jl#106, though I thought it was already fixed.

@dlfivefifty
Copy link
Member

@d-netto can you try updating your packages? You may need to wipe parts of your .julia folder

@d-netto
Copy link
Author

d-netto commented Jul 2, 2020

@dlfivefifty I've just updated but I'm now getting a
WARNING: could not import ArrayLayouts.@lazyldiv into BandedMatrices WARNING: could not import ArrayLayouts.@lazylmul into BandedMatrices WARNING: could not import ArrayLayouts.@lazymul into BandedMatrices ERROR: LoadError: LoadError: LoadError: UndefVarError: @lazymul not defined

@d-netto
Copy link
Author

d-netto commented Jul 2, 2020

Stacktrace:

Stacktrace:
 [1] top-level scope
 [2] include(::Module, ::String) at ./Base.jl:377
 [3] include(::String) at /Users/diogo/.julia/packages/BandedMatrices/xkmmD/src/BandedMatrices.jl:1
 [4] top-level scope at /Users/diogo/.julia/packages/BandedMatrices/xkmmD/src/BandedMatrices.jl:77
 [5] include(::Module, ::String) at ./Base.jl:377
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:331 [inlined]
 [8] eval(::Expr) at ./client.jl:449
 [9] top-level scope at ./none:3

@dlfivefifty
Copy link
Member

What’s your Pkg.status()?

@d-netto
Copy link
Author

d-netto commented Jul 2, 2020

[28f2ccd6] ApproxFun v0.11.14
  [6e4b80f9] BenchmarkTools v0.5.0
  [a134a8b2] BlackBoxOptim v0.5.0
  [336ed68f] CSV v0.7.1
  [a6e380b2] ControlSystems v0.6.0
  [667455a9] Cubature v1.5.1
  [2445eb08] DataDrivenDiffEq v0.2.0
  [a93c6f00] DataFrames v0.21.4
  [82cc6244] DataInterpolations v3.0.1
  [aae7a2af] DiffEqFlux v1.16.0
  [41bf760c] DiffEqSensitivity v6.23.0
  [442a2c76] FastGaussQuadrature v0.4.2
  [587475ba] Flux v0.10.4
  [b964fa9f] LaTeXStrings v1.1.0
  [961ee093] ModelingToolkit v3.11.0
  [0f4fe800] OMJulia v0.1.0
  [429524aa] Optim v0.21.0
  [1dea7af3] OrdinaryDiffEq v5.41.0
  [91a5bcdd] Plots v1.5.1
  [9f7883ad] Tracker v0.2.7
  [37e2e46d] LinearAlgebra 

@dlfivefifty
Copy link
Member

Hmm can you post your Manifest.toml? I need to see what version BandedMatrices.jl and ArrayLayouts.jl are

@d-netto
Copy link
Author

d-netto commented Jul 2, 2020

I didn't have BandedMatrices.jl in my packages before. Just added and this is the Pkg.status():

Status `~/UROP/Hybrid_Helicopter_model/Project.toml`
  [28f2ccd6] ApproxFun v0.11.14
  [4c555306] ArrayLayouts v0.3.5
  [aae01518] BandedMatrices v0.15.14
  [6e4b80f9] BenchmarkTools v0.5.0
  [a134a8b2] BlackBoxOptim v0.5.0
  [336ed68f] CSV v0.7.1
  [a6e380b2] ControlSystems v0.6.0
  [667455a9] Cubature v1.5.1
  [2445eb08] DataDrivenDiffEq v0.2.0
  [a93c6f00] DataFrames v0.21.4
  [82cc6244] DataInterpolations v3.0.1
  [aae7a2af] DiffEqFlux v1.16.0
  [41bf760c] DiffEqSensitivity v6.23.0
  [442a2c76] FastGaussQuadrature v0.4.2
  [587475ba] Flux v0.10.4
  [b964fa9f] LaTeXStrings v1.1.0
  [961ee093] ModelingToolkit v3.11.0
  [0f4fe800] OMJulia v0.1.0
  [429524aa] Optim v0.21.0
  [1dea7af3] OrdinaryDiffEq v5.41.0
  [aa41a628] OrthogonalPolynomialsQuasi v0.1.3
  [91a5bcdd] Plots v1.5.2
  [9f7883ad] Tracker v0.2.7
  [37e2e46d] LinearAlgebra 

I'm now getting a

WARNING: could not import ArrayLayouts._inv into BlockArrays
WARNING: could not import ArrayLayouts.axes_print_matrix_row into BlockArrays
WARNING: could not import ArrayLayouts.AbstractTridiagonalLayout into BandedMatrices
WARNING: could not import ArrayLayouts.TridiagonalLayout into BandedMatrices
WARNING: could not import ArrayLayouts.BidiagonalLayout into BandedMatrices
ERROR: LoadError: LoadError: UndefVarError: BidiagonalLayout not defined
Stacktrace:
 [1] top-level scope at /Users/diogo/.julia/packages/BandedMatrices/JW3gn/src/interfaceimpl.jl:40
 [2] include(::Module, ::String) at ./Base.jl:377
 [3] include(::String) at /Users/diogo/.julia/packages/BandedMatrices/JW3gn/src/BandedMatrices.jl:1
 [4] top-level scope at /Users/diogo/.julia/packages/BandedMatrices/JW3gn/src/BandedMatrices.jl:98
 [5] include(::Module, ::String) at ./Base.jl:377
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:331 [inlined]
 [8] eval(::Expr) at ./client.jl:449
 [9] top-level scope at ./none:3

@dlfivefifty
Copy link
Member

Might be easiest just to wipe your Manifest and start from scratch

@d-netto
Copy link
Author

d-netto commented Jul 2, 2020

resolved. thanks

@jishnub
Copy link
Member

jishnub commented Aug 7, 2022

Closing, as this seems resolved. Please reopen if the issue reappears.

@jishnub jishnub closed this as completed Aug 7, 2022
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

4 participants