Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44224 - [julia] Included test suite fails (cblas related?)

Attached to Project: Community Packages
Opened by Nicolas Bigaouette (big_gie) - Tuesday, 17 March 2015, 15:12 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 26 March 2015, 19:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Julia's included tests suite fails. It fails trying to find cblas_cdotc_sub() function in libblas.

Is it a packaging issue? Or a Julia issue with the specific version?

Additional info:
* package version(s): 0.3.6


Steps to reproduce:
1) Launch julia:
$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.3.6 (2015-02-17 22:12 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-unknown-linux-gnu

julia>

2) Run the tests suite:
julia> Base.runtests()
From worker 2: * linalg1
From worker 4: * linalg3
From worker 5: * linalg4
From worker 3: * linalg2
exception on 4: ERROR: ccall: could not find function cblas_cdotc_sub in library libblas
in dotc at linalg/blas.jl:119
in dotc at linalg/blas.jl:152
in Ac_mul_B at linalg/matmul.jl:61
in anonymous at no file:10
in runtests at /usr/share/julia/test/testdefs.jl:5
in anonymous at multi.jl:855
in run_work_thunk at multi.jl:621
in anonymous at task.jl:855
while loading linalg3.jl, in expression starting on line 4
ERROR: ccall: could not find function cblas_cdotc_sub in library libblas
in anonymous at task.jl:1367
while loading linalg3.jl, in expression starting on line 4
while loading /usr/share/julia/test/runtests.jl, in expression starting on line 39

ERROR: A test has failed. Please submit a bug report including error messages
above and the output of versioninfo():
Julia Version 0.3.6
Commit 0c24dca (2015-02-17 22:12 UTC)
Platform Info:
System: Linux (x86_64-unknown-linux-gnu)
CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
WORD_SIZE: 64
BLAS: libblas
LAPACK: liblapack
LIBM: libm
LLVM: libLLVM-3.3

in error at error.jl:21
in runtests at interactiveutil.jl:370
in runtests at interactiveutil.jl:359
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 26 March 2015, 19:16 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 18 March 2015, 10:18 GMT
Hi, thanks for reporting, I'll look into this. My initial guess is that our blas and cblas libraries (version 3.5.0) are too new, compared to what they have developed for.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 24 March 2015, 22:27 GMT
When setting USE_SYSTEM_BLAS=0 the error at the linalg tests goes away, but I get this one instead (Julia version 0.3.7):

exception on 3: ERROR: test failed: gamma(1:25) == gamma(Float64[1:25])
in error at error.jl:21
in default_handler at test.jl:19
in do_test at test.jl:39
in runtests at /usr/share/julia/test/testdefs.jl:5
in anonymous at multi.jl:855
in run_work_thunk at multi.jl:621
in anonymous at task.jl:855
while loading math.jl, in expression starting on line 174
ERROR: test failed: gamma(1:25) == gamma(Float64[1:25])
in anonymous at task.jl:1367
while loading math.jl, in expression starting on line 174
while loading /usr/share/julia/test/runtests.jl, in expression starting on line 39

ERROR: A test has failed. Please submit a bug report including error messages
above and the output of versioninfo():
Julia Version 0.3.7
Commit cb9bcae (2015-03-23 21:36 UTC)
Platform Info:
System: Linux (x86_64-unknown-linux-gnu)
CPU: Intel(R) Xeon(R) CPU X3360 @ 2.83GHz
WORD_SIZE: 64
BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas
LIBM: libm
LLVM: libLLVM-3.3

in error at error.jl:21
in runtests at interactiveutil.jl:370
in runtests at interactiveutil.jl:359

julia>

Not sure if it is an improvement or not.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 26 March 2015, 19:15 GMT
Updated the package to 0.3.7 and set USE_SYSTEM_BLAS=0. If you too get errors when running the tests, please report it upstream, to the Julia developers.

Closing this bug.

Loading...