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

Precompilation error with 1.6 upgrade #738

Closed
cjwyett opened this issue Mar 27, 2021 · 7 comments
Closed

Precompilation error with 1.6 upgrade #738

cjwyett opened this issue Mar 27, 2021 · 7 comments

Comments

@cjwyett
Copy link

cjwyett commented Mar 27, 2021

I've wiped my .julia ( or $JULIA_DEPOT_PATH) and reinstalled Julia multiple times. The problem persists.

]add DifferentialEquations ends with:

Precompiling project...
  Progress [========================================>]  112/112
  ✗ Sundials
  ✗ DifferentialEquations
110 dependencies successfully precompiled in 83 seconds
2 dependencies errored

using DifferentialEquations gives me:

[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: InitError: could not load library "/home/cyrus/Julia/depot/artifacts/9188a0e465a5f00b41a8656ee0e5389ff2f4fa45/lib/libsundials_sunlinsollapackband.so"
libopenblas64_.so: cannot open shared object file: No such file or directory
Stacktrace:
 [1] __init__()
   @ Sundials_jll ~/Julia/depot/packages/Sundials_jll/heTyl/src/wrappers/x86_64-linux-gnu-libgfortran5.jl:429
 [2] top-level scope (repeats 2 times)
   @ none:1
during initialization of module Sundials_jll
in expression starting at /home/cyrus/Julia/depot/packages/Sundials/1nn1O/src/Sundials.jl:3
ERROR: LoadError: Failed to precompile Sundials [c3572dad-4567-51f8-b174-8c6c989267f4] to /home/cyrus/Julia/depot/compiled/v1.6/Sundials/jl_Krswaz.
Stacktrace:
 [1] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base ./loading.jl:1360
 [2] top-level scope (repeats 2 times)
   @ none:1
in expression starting at /home/cyrus/Julia/depot/packages/DifferentialEquations/HSWeG/src/DifferentialEquations.jl:1
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/cyrus/Julia/depot/compiled/v1.6/DifferentialEquations/jl_ww8s7Y.
Stacktrace:
 [1] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base ./loading.jl:1360

]st output:

Status `~/Julia/projects/reaction_diffusion/Project.toml`
  [0c46a032] DifferentialEquations v6.16.0 
@ViralBShah
Copy link

Can you wipe the .julia and try with official binaries? I am not sure why this is trying to pick up libopenblas64_.so from artifacts and not the one that ships with Julia.

@cjwyett
Copy link
Author

cjwyett commented Mar 28, 2021

yep, official binaries work cleanly. Maybe something wrong with pacman julia?

@ViralBShah
Copy link

ViralBShah commented Mar 28, 2021

Not sure who maintains it - but this is why official binaries are recommended. It would be worth getting to the bottom of this.

@musm @DilumAluthge Would either of you know?

@DilumAluthge
Copy link
Member

libopenblas64_.so: cannot open shared object file: No such file or directory

Maybe it's an issue with LBT?

@ViralBShah
Copy link

ViralBShah commented Mar 28, 2021

1.6 does not use LBT. Even when 1.6.1 updates to openblas 0.3.13, we will not pull in LBT.

@DilumAluthge
Copy link
Member

Hmmm.

@DilumAluthge
Copy link
Member

If it works for the official binaries but doesn't work for pacman Julia, we'll probably need to look at the script used to build pacman Julia.

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