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

using Arpack not working #8

Closed
dlfivefifty opened this issue Jun 29, 2018 · 2 comments
Closed

using Arpack not working #8

dlfivefifty opened this issue Jun 29, 2018 · 2 comments

Comments

@dlfivefifty
Copy link
Member

julia> using Arpack
[ Info: Precompiling module Arpack
ERROR: LoadError: could not open file /Users/sheehanolver/.julia/packages/Arpack/8rPU/deps/deps.jl
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1075
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /Users/sheehanolver/.julia/packages/Arpack/8rPU/src/Arpack.jl:8
 [5] top-level scope at none:0
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1075
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:0
 [10] eval at ./boot.jl:319 [inlined]
 [11] eval(::Expr) at ./client.jl:394
 [12] top-level scope at ./none:3 [inlined]
 [13] top-level scope at ./<missing>:0
in expression starting at /Users/sheehanolver/.julia/packages/Arpack/8rPU/src/Arpack.jl:10
ERROR: Failed to precompile Arpack to /Users/sheehanolver/.julia/compiled/v0.7/Arpack/X5VZ.ji.
Stacktrace:
 [1] error at ./error.jl:33 [inlined]
 [2] compilecache(::Base.PkgId) at ./loading.jl:1205
 [3] _require(::Base.PkgId) at ./loading.jl:1007
 [4] require(::Base.PkgId) at ./loading.jl:879
 [5] require(::Module, ::Symbol) at ./loading.jl:874

(v0.7) pkg> status
    Status `~/.julia/environments/v0.7/Project.toml`
  [621f4979] AbstractFFTs v0.3.1+ [`~/.julia/dev/AbstractFFTs`]
  [3f3329dc] AlmostBandedMatrices v0.0.0 [`~/Projects/AlmostBandedMatrices.jl`]
  [28f2ccd6] ApproxFun v0.8.1+ [`~/Projects/ApproxFun.jl`]
  [7d9fca2a] Arpack v0.1.1
  [aae01518] BandedMatrices v0.5.0+ [`~/Projects/BandedMatrices.jl`]
  [6e4b80f9] BenchmarkTools v0.3.1
  [ffab5731] BlockBandedMatrices v0.1.0+ [`~/Projects/BlockBandedMatrices.jl`]
  [34da2185] Compat v0.69.0
  [7a1cc6ca] FFTW v0.2.2+ [`~/.julia/dev/FFTW`]
  [057dd010] FastTransforms v0.3.2+ [`~/Projects/FastTransforms.jl`]
  [7c893195] HierarchicalMatrices v0.1.2+ [`~/Projects/HierarchicalMatrices.jl`]
  [e675f1aa] InfiniteArrays v0.1.0 [`~/Projects/InfiniteArrays.jl`]
  [de60f5b2] LazyLinearAlgebra v0.1.0 [`~/Projects/LazyLinearAlgebra.jl`]
  [898213cb] LowRankApprox v0.1.3+ [`~/Projects/LowRankApprox.jl`]
  [295af30f] Revise v0.5.0
  [276daf66] SpecialFunctions v0.6.0
  [c751599d] ToeplitzMatrices v0.3.0+ [`~/Projects/ToeplitzMatrices.jl`]


julia> versioninfo()
Julia Version 0.7.0-beta.18
Commit 4e3902d624 (2018-06-26 06:43 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin17.6.0)
  CPU: Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
Environment:
  JULIA_VERSION = 0.6
@CarloLucibello
Copy link

I get this instead on build (on an Archlinux system, system arpack library installed)

(v0.7) pkg> add Arpack
  Updating registry at `~/.julia/registries/Uncurated`
  Updating git-repo `https://github.com/JuliaRegistries/Uncurated.git`
 Resolving package versions...
 Installed Arpack ───────── v0.1.1
 Installed DataStructures ─ v0.9.0
 Installed PlotUtils ────── v0.5.0
  Updating `~/.julia/environments/v0.7/Project.toml`
  [7d9fca2a] + Arpack v0.1.1
  Updating `~/.julia/environments/v0.7/Manifest.toml`
  [7d9fca2a] + Arpack v0.1.1
  [864edb3b]  DataStructures v0.8.3  v0.9.0
  [995b91a9]  PlotUtils v0.4.4  v0.5.0
  Building Arpack  `~/.julia/packages/Arpack/8rPU/deps/build.log`
┌ Error: Error building `Arpack`: 
│ Exception handling log message: MethodError(print, (IOBuffer(data=UInt8[...], readable=true, writable=true, seekable=true, append=false, size=2, maxsize=Inf, ptr=3, mark=-1), nothing), 0xffffffffffffffff)
│ Exception handling log message: MethodError(print, (IOBuffer(data=UInt8[...], readable=true, writable=true, seekable=true, append=false, size=2, maxsize=Inf, ptr=3, mark=-1), nothing), 0xffffffffffffffff)
│ [ Info: Downloading https://github.com/JuliaLinearAlgebra/ArpackBuilder/releases/download/v3.5.0-0.2.20/ArpackBuilder.x86_64-linux-gnu.tar.gz to /home/carlo/.julia/packages/Arpack/8rPU/deps/usr/downloads/ArpackBuilder.x86_64-linux-gnu.tar.gz...
│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│ │   caller = macro expansion at OutputCollector.jl:63 [inlined]
│ └ @ Core OutputCollector.jl:63
│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│ │   caller = wait(::OutputCollector) at OutputCollector.jl:158
│ └ @ BinaryProvider OutputCollector.jl:158
│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│ │   caller = wait(::OutputCollector) at OutputCollector.jl:159
│ └ @ BinaryProvider OutputCollector.jl:159
│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│ │   caller = wait(::OutputCollector) at OutputCollector.jl:163
│ └ @ BinaryProvider OutputCollector.jl:163
│ ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/carlo/.julia/packages/Arpack/8rPU/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error at ./error.jl:33 [inlined]
│  [2] #write_deps_file#134(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/carlo/.julia/packages/BinaryProvider/2Hlv/src/Products.jl:389
│  [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/carlo/.julia/packages/BinaryProvider/2Hlv/src/Products.jl:376
│  [4] top-level scope at none:0
│  [5] include at ./boot.jl:317 [inlined]
│  [6] include_relative(::Module, ::String) at ./loading.jl:1075
│  [7] include(::Module, ::String) at ./sysimg.jl:29
│  [8] include(::String) at ./client.jl:393
│  [9] top-level scope at none:0in expression starting at /home/carlo/.julia/packages/Arpack/8rPU/deps/build.jl:40
[11:59:41] ######################################################################## 100,0% 
└ @ Pkg.Operations Operations.jl:973


julia> versioninfo()
Julia Version 0.7.0-beta.87
Commit 143748dc5b (2018-06-29 09:09 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, broadwell)

@andreasnoack
Copy link
Member

andreasnoack commented Jun 30, 2018

@dlfivefifty It looks like the build hasn't succeeded. You can try build Arpack but it will probably fail with the same error as @CarloLucibello reports. This issue is a dup of #5

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

3 participants