Thanks, this looks really nice.
I seem to be able to install it ok but when trying to run on a fairly
recent MacBook Pro (Retina, 13-inch, Early 2015) I get an error when trying
this on julia Version 0.4.5 (2016-03-18 00:58 UTC)
x86_64-apple-darwin15.4.0:
julia> using ArrayFire
julia> #Random number generation
a = rand(AFArray{Float64}, 100, 100)
ERROR: "ArrayFire Error (401) : Double precision not supported for this
device"
in af_randu at /Users/feldt/.julia/v0.4/ArrayFire/src/wrap.jl:1033
in rand at /Users/feldt/.julia/v0.4/ArrayFire/src/create.jl:7
Maybe update the docs to make the requirements and limitations more clear?
Or is there a way around this?
My computer/version details:
Processor: 3,1 GHz Intel Core i7
Memory: 16 GB 1867 MHz DDR3
Graphics: Intel Iris Graphics 6100 1536 MB
OS: El Capitan, 10.11.3 (15D21)
Thanks,
Robert Feldt
Den fredag 10 juni 2016 kl. 12:19:16 UTC+2 skrev Mauro:
>
> You need to install the arrayfire library by hand:
> https://github.com/JuliaComputing/ArrayFire.jl#installation
>
> If done already, check the trouble shooting section.
>
> On Fri, 2016-06-10 at 12:10, Fred <[email protected] <javascript:>>
> wrote:
> > Hi !
> >
> > Thank you for this great package ! I tried to install it on Julia 0.4.5
> but I
> > obtained :
> >
> > julia
> > _
> > _ _ _(_)_ | A fresh approach to technical computing
> > (_) | (_) (_) | Documentation: http://docs.julialang.org
> > _ _ _| |_ __ _ | Type "?help" for help.
> > | | | | | | |/ _` | |
> > | | |_| | | | (_| | | Version 0.4.5 (2016-03-18 00:58 UTC)
> > _/ |\__'_|_|_|\__'_| | Official http://julialang.org release
> > |__/ | x86_64-linux-gnu
> >
> >
> > julia> using ArrayFire
> > ERROR: LoadError: LoadError: could not load library "libaf"
> > libaf: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou
> dossier de
> > ce type
> > in dlopen at ./libdl.jl:36
> > in dlopen at libdl.jl:36
> > in include at ./boot.jl:261
> > in include_from_node1 at ./loading.jl:320
> > in include at ./boot.jl:261
> > in include_from_node1 at ./loading.jl:320
> > in require at ./loading.jl:259
> > while loading /home/fred/.julia/v0.4/ArrayFire/src/config.jl, in
> expression
> > starting on line 6
> > while loading /home/fred/.julia/v0.4/ArrayFire/src/ArrayFire.jl, in
> expression
> > starting on line 5
>