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

Package not working on windows 10 #252

Closed
aurelio-amerio opened this issue Nov 25, 2019 · 2 comments
Closed

Package not working on windows 10 #252

aurelio-amerio opened this issue Nov 25, 2019 · 2 comments

Comments

@aurelio-amerio
Copy link

aurelio-amerio commented Nov 25, 2019

Hello, I would like to use ArrayFire.jl on my windows 10 machine but I cannot precompile the package correctly.
I have tested it in both julia 1.0.5 and 1.2 and the error which I receive is the following:

julia> using ArrayFire
[ Info: Precompiling ArrayFire [b19378d9-d87a-599a-927f-45f220a2c452]
WARNING: both AbstractFFTs and Util export "Frequencies"; uses of it in module Periodograms must be qualified
ERROR: LoadError: LoadError: UndefVarError: Frequencies not defined
Stacktrace:
 [1] top-level scope at none:0
 [2] include at .\boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at .\loading.jl:1044
 [4] include at .\sysimg.jl:29 [inlined]
 [5] include(::String) at D:\Users\Aure\.julia\packages\DSP\efNaR\src\DSP.jl:3
 [6] top-level scope at none:0
 [7] include at .\boot.jl:317 [inlined]
 [8] include_relative(::Module, ::String) at .\loading.jl:1044
 [9] include(::Module, ::String) at .\sysimg.jl:29
 [10] top-level scope at none:2
 [11] eval at .\boot.jl:319 [inlined]
 [12] eval(::Expr) at .\client.jl:393
 [13] top-level scope at .\none:3
in expression starting at D:\Users\Aure\.julia\packages\DSP\efNaR\src\periodograms.jl:194
in expression starting at D:\Users\Aure\.julia\packages\DSP\efNaR\src\DSP.jl:51
ERROR: LoadError: Failed to precompile DSP [717857b8-e6f2-59f4-9121-6e50c889abd2] to D:\Users\Aure\.julia\compiled\v1.0\DSP\OtML7.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
 [3] _require(::Base.PkgId) at .\loading.jl:960
 [4] require(::Base.PkgId) at .\loading.jl:858
 [5] require(::Module, ::Symbol) at .\loading.jl:853
 [6] include at .\boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at .\loading.jl:1044
 [8] include(::Module, ::String) at .\sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at .\boot.jl:319 [inlined]
 [11] eval(::Expr) at .\client.jl:393
 [12] top-level scope at .\none:3
in expression starting at D:\Users\Aure\.julia\packages\ArrayFire\nkN6J\src\ArrayFire.jl:3
ERROR: Failed to precompile ArrayFire [b19378d9-d87a-599a-927f-45f220a2c452] to D:\Users\Aure\.julia\compiled\v1.0\ArrayFire\SIACH.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
 [3] _require(::Base.PkgId) at .\loading.jl:960
 [4] require(::Base.PkgId) at .\loading.jl:858
 [5] require(::Module, ::Symbol) at .\loading.jl:853

I am using a windows 10 machine (x64) with an Nvidia 1070 gpu

Thank you for your help!

@jeremiedb
Copy link

Could you provide details on how the installation of ArrayFire library was performed?
https://arrayfire.com/download/

I could install ArrayFire.jl on Windows 10 with Julia 1.1.1. I followed the default ArrayFire install except for the OpenCL that I did not include. GTX 1060 and CUDA 10.1

@aurelio-amerio
Copy link
Author

Solved! Yesterday there was no package update available, today AbstractFFTs got downgraded from v0.5.0 to v0.4.1 and now ArrayFire.jl compiles correctly on every version on my machine!
Thank you for your help, though the fault was not of ArrayFire

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