Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cholesky factorization linalg test failure on Fedora 20 64 bits #5730

Closed
nalimilan opened this issue Feb 8, 2014 · 2 comments · Fixed by #5732
Closed

Cholesky factorization linalg test failure on Fedora 20 64 bits #5730

nalimilan opened this issue Feb 8, 2014 · 2 comments · Fixed by #5732
Labels
bug Indicates an unexpected problem or unintended behavior linear algebra Linear algebra

Comments

@nalimilan
Copy link
Member

I've observed this when building my RPM package based on master as of today. Julia is built against openlibm, but openspecfun is using system libm, if that may help.

exception on 5: ERROR: assertion failed: |:(*(a,\(capd,*($(Expr(:', :a)),b)))) - b| <= 1.7763568394002505e-13
  :(*(a,\(capd,*($(Expr(:', :a)),b)))) = 0.28526496318426897 - 0.19880617416968338im    -0.5644814235959528 - 0.0899444951842514im
-0.44888220659098454 - 0.0665409497948648im 0.2970754155615971 + 0.9074882216755871im
0.9793022118385428 - 0.7166103862692346im   -0.016471781167485045 - 0.43901023601897915im
0.4342468708627729 - 0.4157122885563851im   -0.061386339923645394 - 0.45041652737500204im
0.37030067166128067 - 0.6420835608818125im  0.04044116045023749 + 0.2021634336932987im
-0.5187887349189797 - 0.5289684987100904im  0.19290189461460283 - 0.3305700707127426im
-0.18637240912398756 + 0.13681886725319448im    0.31982376964417814 - 0.2237671116427542im
0.08233179876841668 - 0.08059333431769211im -0.45608462015344564 - 0.2979336987172152im
0.040567565170512854 + 0.3979218711012251im 0.15386618527078344 - 0.34067790902550543im
-0.4086060614673652 - 0.3730659637195963im  -0.690014090476458 + 1.1218773089592613im

  b = 0.2852649631845685 - 0.19880617416997926im    -0.5644814235963277 - 0.08994449518408029im
-0.44888220659099815 - 0.06654094979484727im    0.2970754155616151 + 0.9074882216755727im
0.9793022118385994 - 0.716610386269295im    -0.01647178116756037 - 0.4390102360189423im
0.43424687086277935 - 0.41571228855639347im -0.06138633992365476 - 0.4504165273749945im
0.37030067166136865 - 0.6420835608818998im  0.04044116045012883 + 0.20216343369334822im
-0.5187887349190495 - 0.528968498710021im   0.19290189461469268 - 0.33057007071278605im
-0.18637240912417496 + 0.1368188672533788im 0.3198237696444139 - 0.2237671116428619im
0.08233179876839257 - 0.08059333431766443im -0.45608462015341467 - 0.2979336987172317im
0.04056756517031878 + 0.3979218711014173im  0.15386618527102777 - 0.340677909025615im
-0.40860606146731776 - 0.3730659637196408im -0.6900140904765131 + 1.1218773089592882im

  difference = 4.210282632160761e-13 > 1.7763568394002505e-13
 in error at error.jl:22
 in test_approx_eq at test.jl:68
 in anonymous at no file:53
 in runtests at /home/milan/Dev/rpmbuild/BUILD/julia-master/test/testdefs.jl:5
 in anonymous at multi.jl:834
 in run_work_thunk at multi.jl:575
 in anonymous at task.jl:834
while loading linalg.jl, in expression starting on line 23
ERROR: assertion failed: |:(*(a,\(capd,*($(Expr(:', :a)),b)))) - b| <= 1.7763568394002505e-13
  :(*(a,\(capd,*($(Expr(:', :a)),b)))) = 0.28526496318426897 - 0.19880617416968338im    -0.5644814235959528 - 0.0899444951842514im
-0.44888220659098454 - 0.0665409497948648im 0.2970754155615971 + 0.9074882216755871im
0.9793022118385428 - 0.7166103862692346im   -0.016471781167485045 - 0.43901023601897915im
0.4342468708627729 - 0.4157122885563851im   -0.061386339923645394 - 0.45041652737500204im
0.37030067166128067 - 0.6420835608818125im  0.04044116045023749 + 0.2021634336932987im
-0.5187887349189797 - 0.5289684987100904im  0.19290189461460283 - 0.3305700707127426im
-0.18637240912398756 + 0.13681886725319448im    0.31982376964417814 - 0.2237671116427542im
0.08233179876841668 - 0.08059333431769211im -0.45608462015344564 - 0.2979336987172152im
0.040567565170512854 + 0.3979218711012251im 0.15386618527078344 - 0.34067790902550543im
-0.4086060614673652 - 0.3730659637195963im  -0.690014090476458 + 1.1218773089592613im

  b = 0.2852649631845685 - 0.19880617416997926im    -0.5644814235963277 - 0.08994449518408029im
-0.44888220659099815 - 0.06654094979484727im    0.2970754155616151 + 0.9074882216755727im
0.9793022118385994 - 0.716610386269295im    -0.01647178116756037 - 0.4390102360189423im
0.43424687086277935 - 0.41571228855639347im -0.06138633992365476 - 0.4504165273749945im
0.37030067166136865 - 0.6420835608818998im  0.04044116045012883 + 0.20216343369334822im
-0.5187887349190495 - 0.528968498710021im   0.19290189461469268 - 0.33057007071278605im
-0.18637240912417496 + 0.1368188672533788im 0.3198237696444139 - 0.2237671116428619im
0.08233179876839257 - 0.08059333431766443im -0.45608462015341467 - 0.2979336987172317im
0.04056756517031878 + 0.3979218711014173im  0.15386618527102777 - 0.340677909025615im
-0.40860606146731776 - 0.3730659637196408im -0.6900140904765131 + 1.1218773089592882im

  difference = 4.210282632160761e-13 > 1.7763568394002505e-13
 in anonymous at multi.jl:1384
while loading linalg.jl, in expression starting on line 23
while loading /home/milan/Dev/rpmbuild/BUILD/julia-master/test/runtests.jl, in expression starting on line 23
@jiahao
Copy link
Member

jiahao commented Feb 8, 2014

Please reopen if this fix did not work for you.

@nalimilan
Copy link
Member Author

This fixes the problem. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior linear algebra Linear algebra
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants