Package Details: julia-mkl 2:1.1.1-1

Git Clone URL: (read-only)
Package Base: julia-mkl
Description: High-level, high-performance, dynamic programming language (compiled with the Intel MKL library)
Upstream URL:
Licenses: MIT
Conflicts: julia, julia-git
Provides: julia
Submitter: herraiz
Maintainer: petronny
Last Packager: petronny
Votes: 4
Popularity: 0.341143
First Submitted: 2016-11-25 13:25
Last Updated: 2019-07-26 07:26

Required by (26)

Sources (4)

Latest Comments

1 2 Next › Last »

petronny commented on 2019-07-29 08:18

AFAIK, the build prefix is embedded in /usr/lib/julia/ If I edit it with sed, /usr/bin/julia will raise segmentation fault. I don't know is there a proper way to edit this file now.

petronny commented on 2019-07-29 08:11

@xia0er There is already a bug report about the prefix, see

Abount openmp, should it be a dependency of julia-arpack?
I can pass most of the tests in the check() function with about 5 tests skipped.
So I think julia-mkl doesn't need openmp itself.

xia0er commented on 2019-07-28 04:30

Should openmp be added to the package dependencies? I am getting an error:

julia: symbol lookup error: /opt/intel/mkl/lib/intel64/ undefined symbol: __kmpc_global_thread_num

when loading julia packages that depend on mkl, for example, Arpack, which is fixed by installing openmp.

xia0er commented on 2019-07-28 04:26

@petronny, thanks for the response! As I understand it is mostly cosmetic, I can certainly wait for it to be resolved upstream.

petronny commented on 2019-07-28 03:56

@xia0er Actually this bug also happens in the official julia package.

julia> using Pkg

ERROR: The following package names could not be resolved:
 * Arpack (not found in project or manifest)
Please specify by known `name=uuid`.
 [1] ensure_resolved at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:981 [inlined]
 [2] #build#61(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:375
 [3] build at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:357 [inlined]
 [4] #build#60 at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:355 [inlined]
 [5] build at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:355 [inlined]
 [6] #build#57 at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:352 [inlined]
 [7] build(::String) at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:352
 [8] top-level scope at none:0

You can find /build/julia/src/julia-1.1.1/ in the stacktrace which is the build path in chroot since it is build with extra-x86_64-build.

I provide a pre-built binary of this package which is also built with extra-x86_64-build in arch4edu. It will give the similar stacktrace like the official one. You can use it for now. I'll contact with the maintainer of julia and see what we can do about the build path.

xia0er commented on 2019-07-28 03:15

Is there a way to fix the fact that where julia is being built is embedded in the installed files? For example, when I got permission denied error for a log file, the error message reports the Operations.jl is at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl (where julia-mkl is being built by yay), even though I started julia after installing julia-mkl and can verify that Operations.jl is at /usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl. Granted this is mostly cosmetic as far as I can see.

  Building Arpack → `/usr/share/julia/packages/Arpack/cu5By/deps/build.log`
ERROR: SystemError: opening file "/usr/share/julia/packages/Arpack/cu5By/deps/build.log": Permission denied
 [1] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(Pkg.Operations, Symbol("##52#57")){Bool,Cmd}, ::String, ::Vararg{Str
ing,N} where N) at ./iostream.jl:373
 [2] #53 at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1080 [inlined]
 [3] #41 at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:898 [inlined]
 [4] withenv(::getfield(Pkg.Operations, Symbol("##41#46")){getfield(Pkg.Operations, Symbol("##53#58")){getfield(Pkg.Operations, Symbol("##51#56")){Bool,String,Cmd,String}},Pkg.Ty
pes.Context}, ::Pair{String,String}, ::Vararg{Pair{String,B} where B,N} where N) at ./env.jl:148
 [5] mktempdir at ./file.jl:579 [inlined]
 [6] #with_dependencies_loadable_at_toplevel#38(::Bool, ::Function, ::getfield(Pkg.Operations, Symbol("##53#58")){getfield(Pkg.Operations, Symbol("##51#56")){Bool,String,Cmd,Stri
ng}}, ::Pkg.Types.Context, ::Pkg.Types.PackageSpec) at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:853
 [7] #build_versions at ./none:0 [inlined]
 [8] #build#61(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /home/xia0er/
 [9] build at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:357 [inlined]
 [10] #build#60 at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:355 [inlined]
 [11] build at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:355 [inlined]
 [12] #build#57 at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:352 [inlined]
 [13] build(::String) at /home/xia0er/.cache/yay/julia-mkl/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:352
 [14] top-level scope at none:0

petronny commented on 2019-07-26 07:30

Hi, I just dropped julia-mkl-docs.
I think it's same with julia-docs. Please leave a comment if it's not. I will add it back.

specter119 commented on 2018-07-04 03:17

maybe help

CodeLenz commented on 2017-07-10 14:34



1) git clone git://
2) cd julia & git checkout v0.6.0
3) patch -p1 -i ../julia-libunwind-version.patch

and following the idea of your PKGBUILD I could compile and install julia
with MKL.


CodeLenz commented on 2017-07-10 11:18

I have deleted all the contents of the tmp directory and the error remains the same. Anyway, thanks for the help.
Cheers !