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

32-bit julia test failures #79

Closed
vtjnash opened this issue Feb 21, 2014 · 10 comments
Closed

32-bit julia test failures #79

vtjnash opened this issue Feb 21, 2014 · 10 comments
Labels
system:32-bit Affects only 32-bit systems

Comments

@vtjnash
Copy link
Member

vtjnash commented Feb 21, 2014

On my dual-core 32-bit ubuntu test machine, the tests fail to start.

~/julia$ make test
    JULIA test/all

Setting it to single core, the linalg1 test fails:

~/julia$ make test
    JULIA test/all
     * linalg1
exception on 1: ERROR: assertion failed: |:(det(capd)) - :(det(apd))| <= 0.002384185791015625
  :(det(capd)) = 1.626428240984628e9
  :(det(apd)) = 1.6264282410016303e9
  difference = 0.017002344131469727 > 0.002384185791015625
 in error at error.jl:22
 in test_approx_eq at test.jl:68
 in anonymous at no file:54
 in runtests at /home/jameson/julia/test/testdefs.jl:5
 in anonymous at multi.jl:629
 in run_work_thunk at multi.jl:590
 in remotecall_fetch at multi.jl:663
 in remotecall_fetch at multi.jl:678
 in anonymous at task.jl:1320
while loading linalg1.jl, in expression starting on line 23
ERROR: assertion failed: |:(det(capd)) - :(det(apd))| <= 0.002384185791015625
  :(det(capd)) = 1.626428240984628e9
  :(det(apd)) = 1.6264282410016303e9
  difference = 0.017002344131469727 > 0.002384185791015625
 in error at error.jl:22
 in test_approx_eq at test.jl:68
 in anonymous at no file:54
 in runtests at /home/jameson/julia/test/testdefs.jl:5
 in anonymous at multi.jl:629
 in run_work_thunk at multi.jl:590
 in remotecall_fetch at multi.jl:663
 in remotecall_fetch at multi.jl:678
 in anonymous at task.jl:1320
while loading linalg1.jl, in expression starting on line 23
while loading /home/jameson/julia/test/runtests.jl, in expression starting on line 32

(p.s. is this linalg1 test supposed to take several hundred megabytes of RAM? I've only assigned my VM 1GB)

@jiahao
Copy link
Member

jiahao commented Feb 21, 2014

Duplicate of #69. For now, it will be ok to manually adjust the magic constant to make it pass (ref: #67.)

@jiahao
Copy link
Member

jiahao commented Feb 21, 2014

Rather, it is not an exact duplicate, but the same test is failing.

@mschauer
Copy link
Contributor

JuliaLang/julia#5743 reduces the risk of this type of error and fixes this as a side effect, if I remember correctly. (If you run enough tests with different combinations of enough element types, and generate a new random integer matrix for every of these combinations, at one point you will end up testing over a singular matrix).

@staticfloat
Copy link
Member

Is this still an issue?

@tkelman
Copy link

tkelman commented Sep 22, 2014

I believe these tolerance issues in the linalg tests have been fixed. It was briefly possible to build a 32-bit copy of Julia on 64-bit Linux which made these things a little easier to check, but Keno broke that a month or two ago with some of his libcxxabi changes to Make.inc.

@andreasnoack
Copy link
Member

I guess this one is not an issue anymore.

@ViralBShah
Copy link
Member

I don't recollect seeing this fixed. I will try it on my 32-bit image, and will reopen if necessary.

@ViralBShah
Copy link
Member

I compiled julia on a 32-bit ubuntu 12.04 image, and find that it passes all the linalg tests.

@ViralBShah
Copy link
Member

I see these warnings. Anyone know what they are?

     * broadcast
     * complex
     * socket
     * floatapprox
     * readdlm
     * reflection
The following 'Returned code...' warnings indicate normal behavior:
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.

@tkelman
Copy link

tkelman commented Jan 18, 2015

@KristofferC KristofferC transferred this issue from JuliaLang/julia Nov 26, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:32-bit Affects only 32-bit systems
Projects
None yet
Development

No branches or pull requests

7 participants