ParallelAccelerator.jl
ParallelAccelerator.jl copied to clipboard
pkg.test fails on master with icc
I get following following error running the tests. I'm on master, also of CompilerTools, without building issues. Let me know how I can assist to resolve.
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.1 (2017-03-05 13:25 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin13.4.0
julia> Pkg.test("ParallelAccelerator")
INFO: Computing test dependencies for ParallelAccelerator...
INFO: No packages to install, update or remove
INFO: Testing ParallelAccelerator
Testing parallel library functions...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing parallel library functions.
Testing parfor support via @par macro...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing parfor.
Testing map and reduce...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing map and reduce.
Testing abs()...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing abs().
Testing constant promotion for pointwise operations...
OpenMP is not used.
Done testing constant promotion.
Testing rand()...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing rand()...
Testing BitArrays...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing BitArrays.
Testing ranges...
OpenMP is not used.
OpenMP is not used.
Done testing ranges.
Testing sequential code...
OpenMP is not used.
Done testing sequential code.
Testing cat...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing cat.
Testing hcat...
OpenMP is not used.
Done testing hcat.
Testing vcat...
OpenMP is not used.
OpenMP is not used.
Done testing vcat.
Testing ranges...
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
OpenMP is not used.
Done testing ranges.
Testing miscellaneous features...
OpenMP is not used.
Error During Test
Test threw an exception of type ErrorException
Expression: MiscTest.test3()
error compiling ##_ppopt_At_mul_Bbangp859_j2c_proxy#893: error compiling to_j2c_array: error compiling #189: could not load library "/var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T/tmpnKTJgP/libcgen_output45.so.1.0"
dlopen(/var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T/tmpnKTJgP/libcgen_output45.so.1.0, 1): Library not loaded: @rpath/libmkl_intel_lp64.dylib
Referenced from: /var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T/tmpnKTJgP/libcgen_output45.so.1.0
Reason: image not found
in opt_At_mul_B!(::Array{Float64,2}, ::Array{Float64,2}) at /Users/ken/.julia/v0.5/CompilerTools/src/OptFramework.jl:598
in test3() at /Users/ken/.julia/v0.5/ParallelAccelerator/test/misc.jl:69
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:265
in _start() at ./client.jl:321
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
ERROR: LoadError: LoadError: There was an error during testing
in record(::Base.Test.FallbackTestSet, ::Base.Test.Error) at ./test.jl:397
in do_test(::Base.Test.Threw, ::Expr) at ./test.jl:281
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:265
in _start() at ./client.jl:321
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/ken/.julia/v0.5/ParallelAccelerator/test/misc.jl, in expression starting on line 174
while loading /Users/ken/.julia/v0.5/ParallelAccelerator/test/runtests.jl, in expression starting on line 42
===================================[ ERROR: ParallelAccelerator ]====================================
failed process: Process(`/Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia -Ccore2 -J/Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /Users/ken/.julia/v0.5/ParallelAccelerator/test/runtests.jl`, ProcessExited(1)) [1]
=====================================================================================================
INFO: No packages to install, update or remove
ERROR: ParallelAccelerator had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:749
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at ./pkg/dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at ./file.jl:59
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./pkg/dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258
in test(::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258
julia> versioninfo()
Julia Version 0.5.1
Commit 6445c82 (2017-03-05 13:25 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, haswell)
Hi @Ken-B,
Sorry for the slow reply. This issue is probably not specific to ParallelAccelerator. It looks like you're on Mac and the line Library not loaded: @rpath/libmkl_intel_lp64.dylib
suggests that you are trying to use MKL and it isn't being loaded for some reason. The information in this thread may help.
What's the output of Pkg.build("ParallelAccelerator")
? You may also want to update ParallelAccelerator to master again.