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

Missing library #59

Closed
ArneSpang opened this issue Aug 26, 2024 · 9 comments
Closed

Missing library #59

ArneSpang opened this issue Aug 26, 2024 · 9 comments

Comments

@ArneSpang
Copy link

I installed this on Julia 1.10.3 today and when trying to use it, I get an error about a missing Petsc package:

julia> using LaMEM
Precompiling LaMEM
        Info Given LaMEM was explicitly requested, output will be shown live 
ERROR: LoadError: InitError: could not load library "/home/arne/.julia/artifacts/d21c752f888a6e42c61116236622d2db4d305eae/lib/LaMEMLib.so"
libpetsc_double_real_Int32_double_real_Int32.so.3.18: cannot open shared object file: No such file or directory

LaMEM.jl is version v0.3.8

On Julia 1.9.4, it worked but was missing superlu as also pointed out in this issue: #51

@JuliaGeodynamics JuliaGeodynamics deleted a comment Aug 26, 2024
@boriskaus
Copy link
Member

which version of PETSc_jll was it trying to install? version 3.19.6 was merged yesterday, I'm just testing a newer version of LaMEM.

@ArneSpang
Copy link
Author

which version of PETSc_jll was it trying to install? version 3.19.6 was merged yesterday, I'm just testing a newer version of LaMEM.

Yes, 3.19.6

@boriskaus
Copy link
Member

that's the issue because LaMEM.jl is compatible with 3.18.x only. Let me try and push a fix

@ArneSpang
Copy link
Author

that's the issue because LaMEM.jl is compatible with 3.18.x only. Let me try and push a fix

I don't need a quick fix, just wanted to point it out. I managed to do what I needed to do with it.

@boriskaus
Copy link
Member

ok, LaMEM version 2.1.4 should fix this, and bring back MUMPS and SuperLU_Dist on Mac and Linux

@boriskaus
Copy link
Member

Can you try if LaMEM.jl version 0.4.0 (just released) solves the issue for you?

@ArneSpang
Copy link
Author

Can you try if LaMEM.jl version 0.4.0 (just released) solves the issue for you?

I can see on Github that 0.4.0 is released but when I try to install it in package manager, it says that 0.3.8 is still the newest. If I try to force 0.4.0, it says that it does not exist. I guess I will have to wait a bit

@boriskaus
Copy link
Member

or you delete the directory:

.julia/registries/

on your computer, which will force-download a new version of the Julia registry which will have version 0.4.0

@ArneSpang
Copy link
Author

Ok that worked. v0.4.0 solved both issues. The library error and superlu issue

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

2 participants