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

Can't Install with add GIRFReco on macos #40

Open
NCastro-FAU opened this issue Oct 16, 2024 · 2 comments
Open

Can't Install with add GIRFReco on macos #40

NCastro-FAU opened this issue Oct 16, 2024 · 2 comments

Comments

@NCastro-FAU
Copy link

GIRFReco

Failed to precompile GIRFReco [cf1bd817-9e2d-403d-b1e7-15ef5a867bae] to "/Users/nyvenncastro/.julia/compiled/v1.11/GIRFReco/jl_efXXtk".
ERROR: LoadError: InitError: could not load symbol "fftw_init_threads":
dlsym(0x7ff906083aa0, fftw_init_threads): symbol not found
Stacktrace:
[1] fftw_init_threads
@ ~/.julia/packages/FFTW/6nZei/src/providers.jl:69 [inlined]
[2] init()
@ FFTW ~/.julia/packages/FFTW/6nZei/src/FFTW.jl:32
[3] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1336
[4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1324
[5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base ./loading.jl:1213
[6] _include_from_serialized (repeats 2 times)
@ ./loading.jl:1169 [inlined]
[7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base ./loading.jl:1975
[8] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2435
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2300
[10] #invoke_in_world#3
@ ./essentials.jl:1088 [inlined]
[11] invoke_in_world
@ ./essentials.jl:1085 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2287
[13] macro expansion
@ ./loading.jl:2226 [inlined]
[14] macro expansion
@ ./lock.jl:273 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2183
[16] #invoke_in_world#3
@ ./essentials.jl:1088 [inlined]
[17] invoke_in_world
@ ./essentials.jl:1085 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2176
[19] include
@ ./Base.jl:557 [inlined]
[20] 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:2806
[21] top-level scope
@ stdin:4
during initialization of module FFTW
in expression starting at /Users/nyvenncastro/.julia/packages/FourierTools/870fh/src/FourierTools.jl:1
in expression starting at stdin:4
ERROR: LoadError: Failed to precompile FourierTools [b18b359b-aebc-45ac-a139-9c0ccbb2871e] to "/Users/nyvenncastro/.julia/compiled/v1.11/FourierTools/jl_4PdU8B".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64})
@ Base ./loading.jl:3089
[3] (::Base.var"#1081#1082"{Base.PkgId})()
@ Base ./loading.jl:2477
[4] mkpidlock(f::Base.var"#1081#1082"{Base.PkgId}, at::String, pid::Int32; kwopts::@kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:95
[5] #mkpidlock#6
@ /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@kwargs{stale_age::Int64})
@ FileWatching.Pidfile /Applications/Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:116
[7] #invokelatest#2
@ ./essentials.jl:1056 [inlined]
[8] invokelatest
@ ./essentials.jl:1051 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1081#1082"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3613
[10] maybe_cachefile_lock
@ ./loading.jl:3610 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2473
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2300
[13] #invoke_in_world#3
@ ./essentials.jl:1088 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1085 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2287
[16] macro expansion
@ ./loading.jl:2226 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2183
[19] #invoke_in_world#3
@ ./essentials.jl:1088 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1085 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2176
[22] include
@ ./Base.jl:557 [inlined]
[23] 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::Nothing)
@ Base ./loading.jl:2806
[24] top-level scope
@ stdin:4
in expression starting at /Users/nyvenncastro/.julia/packages/GIRFReco/7Na3s/src/GIRFReco.jl:1
in expression starting at stdin:

any idea how to fix this?
My hunch is that we need to use deprecated versions of some of the packages.

@alexjaffray
Copy link
Collaborator

Hi @NCastro-FAU , thanks for bringing this up. It seems like FourierTools is failing to compile, not GIRFReco. It looks like you were using the latest Julia version on the day it came out, and I am wondering if the behaviour still happens now.

@NCastro-FAU
Copy link
Author

NCastro-FAU commented Nov 18, 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