I have installed Julia-1.0.0 on a windows 10 box, and then installed ArrayFire.jl
. It seems to work (random numbers get generated, and LU factorization seems to work fine). However, chol
is claimed to be undefined:
julia> cholesky_fact= chol(a * a')
ERROR: UndefVarError: chol not defined
The same error prevents benchmark.jl from running. The other benchmark (nonnegative matrix factorization) also fails, but with a different error (no surprise):
julia> include("nmf_benchmark.jl")
ERROR: LoadError: UndefVarError: T not defined
Any words of wisdom would be appreciated.
chol
is not defined in julia 1.0.0. It is now inLinearAlgebra
under the namecholesky
.As for the
chol
defined in ArrayFire forAFArray
s, since it is no longer able to extendchol
function in Julia which does not exist, the package should instead extend the functioncholesky
orexport
theirchol
function. You may want to create an issue on theArrayFire.jl
GitHub repository.The names of other matrix factorization functions have also been changed.
You should take a look at the corresponding section in the documentation.
Also it would help if you use julia 0.7.0 before migrating to 1.0. Julia 0.7 is feature equivalent to 1.0 but with deprecations.
For your other question, it would be better if you could post a separate question with the corresponding code that generates the error.