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

libmpi_usempif08.40.dylib missing (MPIExt?) #1158

Open
PetrKryslUCSD opened this issue Jun 20, 2024 · 2 comments
Open

libmpi_usempif08.40.dylib missing (MPIExt?) #1158

PetrKryslUCSD opened this issue Jun 20, 2024 · 2 comments

Comments

@PetrKryslUCSD
Copy link

I get this precompilation error:

julia> err
PkgPrecompileError: The following 7 direct dependencies failed to precompile:

FinEtoolsHeatDiff [972d1c22-8bdd-11e9-11cf-cdcb7577b041]

Failed to precompile FinEtoolsHeatDiff [972d1c22-8bdd-11e9-11cf-cdcb7577b041] to "/Users/pkrysl/.julia/compiled/v1.10/FinEtoolsHeatDiff/jl_GN5XKf".
ERROR: LoadError: InitError: could not load library "/Users/pkrysl/.julia/artifacts/1ca9a5d2ef01daeca735b28c3ce62406fc87e2ab/lib/libhdf5_fortran.310.dylib"
dlopen(/Users/pkrysl/.julia/artifacts/1ca9a5d2ef01daeca735b28c3ce62406fc87e2ab/lib/libhdf5_fortran.310.dylib, 0x0001): Library not loaded: @rpath/libmpi_usempif08.40.dylib
  Referenced from: <2DED3716-8217-3BFA-898A-DB658BC608DA> /Users/pkrysl/.julia/artifacts/1ca9a5d2ef01daeca735b28c3ce62406fc87e2ab/lib/libhdf5_fortran.310.dylib
  Reason: tried: '/Users/pkrysl/.julia/artifacts/1ca9a5d2ef01daeca735b28c3ce62406fc87e2ab/lib/./libmpi_usempif08.40.dylib' (no such file), '/Users/pkrysl/.julia/artifacts/1ca9a5d2ef01daeca735b28c3ce62406fc87e2ab/lib/./libmpi_usempif08.40.dylib' (no such file), '/Users/pkrysl/julia-1.10.4/lib/julia/libmpi_usempif08.40.dylib' (no such file), '/Users/pkrysl/julia-1.10.4/lib/julia/../libmpi_usempif08.40.dylib' (no such file), '/Users/pkrysl/julia-1.10.4/lib/libmpi_usempif08.40.dylib' (no such file), '/usr/local/lib/libmpi_usempif08.40.dylib' (no such file), '/usr/lib/libmpi_usempif08.40.dylib' (no such file, not in dyld cache)
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:116
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/pG9bm/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ HDF5_jll ~/.julia/packages/HDF5_jll/pjOXH/src/wrappers/aarch64-apple-darwin-libgfortran5-mpi+openmpi.jl:48
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1122
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1067
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1581
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1938
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [11] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [12] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [14] macro expansion
    @ ./loading.jl:1790 [inlined]
 [15] macro expansion
    @ ./lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [17] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [18] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [20] top-level scope
    @ ~/.julia/packages/HDF5/Z859u/src/api/api.jl:11
 [21] include(mod::Module, _path::String)
    @ Base ./Base.jl:495
 [22] include(x::String)
    @ HDF5 ~/.julia/packages/HDF5/Z859u/src/HDF5.jl:1
 [23] top-level scope
    @ ~/.julia/packages/HDF5/Z859u/src/HDF5.jl:68
 [24] include
    @ ./Base.jl:495 [inlined]
 [25] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base ./loading.jl:2222
 [26] top-level scope
    @ stdin:3
during initialization of module HDF5_jll
in expression starting at /Users/pkrysl/.julia/packages/HDF5/Z859u/src/api/api.jl:1
in expression starting at /Users/pkrysl/.julia/packages/HDF5/Z859u/src/HDF5.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f] to "/Users/pkrysl/.julia/compiled/v1.10/HDF5/jl_hVlw7e".

With


Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 24 × Apple M2 Ultra
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
@mkitti
Copy link
Member

mkitti commented Jun 20, 2024

Did you resolve this?

@PetrKryslUCSD
Copy link
Author

PetrKryslUCSD commented Jun 20, 2024 via email

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